@bubblelab/bubble-core 0.1.247 → 0.1.248

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -207,6 +207,201 @@ 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;
210
405
  }>]>;
211
406
  static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
212
407
  operation: import("zod").ZodLiteral<"list_candidates">;
@@ -337,6 +532,9 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
337
532
  value?: unknown;
338
533
  isPrivate?: boolean | undefined;
339
534
  }>, "many">>;
535
+ profileUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
536
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
537
+ creditedToUser: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
340
538
  }, "strip", import("zod").ZodTypeAny, {
341
539
  name: string;
342
540
  id: string;
@@ -346,6 +544,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
346
544
  isArchived?: boolean | undefined;
347
545
  }[] | undefined;
348
546
  position?: string | null | undefined;
547
+ profileUrl?: string | null | undefined;
548
+ source?: unknown;
349
549
  createdAt?: string | undefined;
350
550
  updatedAt?: string | undefined;
351
551
  primaryEmailAddress?: {
@@ -391,6 +591,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
391
591
  id: string;
392
592
  handle: string;
393
593
  }[] | undefined;
594
+ creditedToUser?: unknown;
394
595
  }, {
395
596
  name: string;
396
597
  id: string;
@@ -400,6 +601,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
400
601
  isArchived?: boolean | undefined;
401
602
  }[] | undefined;
402
603
  position?: string | null | undefined;
604
+ profileUrl?: string | null | undefined;
605
+ source?: unknown;
403
606
  createdAt?: string | undefined;
404
607
  updatedAt?: string | undefined;
405
608
  primaryEmailAddress?: {
@@ -445,6 +648,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
445
648
  id: string;
446
649
  handle: string;
447
650
  }[] | undefined;
651
+ creditedToUser?: unknown;
448
652
  }>, "many">>;
449
653
  next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
450
654
  more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -465,6 +669,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
465
669
  isArchived?: boolean | undefined;
466
670
  }[] | undefined;
467
671
  position?: string | null | undefined;
672
+ profileUrl?: string | null | undefined;
673
+ source?: unknown;
468
674
  createdAt?: string | undefined;
469
675
  updatedAt?: string | undefined;
470
676
  primaryEmailAddress?: {
@@ -510,6 +716,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
510
716
  id: string;
511
717
  handle: string;
512
718
  }[] | undefined;
719
+ creditedToUser?: unknown;
513
720
  }[] | undefined;
514
721
  more_data_available?: boolean | undefined;
515
722
  }, {
@@ -527,6 +734,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
527
734
  isArchived?: boolean | undefined;
528
735
  }[] | undefined;
529
736
  position?: string | null | undefined;
737
+ profileUrl?: string | null | undefined;
738
+ source?: unknown;
530
739
  createdAt?: string | undefined;
531
740
  updatedAt?: string | undefined;
532
741
  primaryEmailAddress?: {
@@ -572,6 +781,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
572
781
  id: string;
573
782
  handle: string;
574
783
  }[] | undefined;
784
+ creditedToUser?: unknown;
575
785
  }[] | undefined;
576
786
  more_data_available?: boolean | undefined;
577
787
  }>, import("zod").ZodObject<{
@@ -1323,79 +1533,1826 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
1323
1533
  }[] | undefined;
1324
1534
  sync_token?: string | undefined;
1325
1535
  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;
1536
+ }>, import("zod").ZodObject<{
1537
+ operation: import("zod").ZodLiteral<"list_jobs">;
1538
+ success: import("zod").ZodBoolean;
1539
+ jobs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1540
+ id: import("zod").ZodString;
1541
+ title: import("zod").ZodString;
1542
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1543
+ departmentId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1544
+ teamId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1545
+ locationId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1546
+ locationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1547
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1548
+ id: import("zod").ZodString;
1549
+ title: import("zod").ZodString;
1550
+ value: import("zod").ZodUnknown;
1551
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
1552
+ }, "strip", import("zod").ZodTypeAny, {
1553
+ title: string;
1554
+ id: string;
1555
+ value?: unknown;
1556
+ isPrivate?: boolean | undefined;
1557
+ }, {
1558
+ title: string;
1559
+ id: string;
1560
+ value?: unknown;
1561
+ isPrivate?: boolean | undefined;
1562
+ }>, "many">>;
1563
+ openedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1564
+ closedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1565
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
1566
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
1567
+ }, "strip", import("zod").ZodTypeAny, {
1568
+ title: string;
1569
+ id: string;
1570
+ status?: string | undefined;
1571
+ locationId?: string | null | undefined;
1572
+ createdAt?: string | undefined;
1573
+ updatedAt?: string | undefined;
1574
+ teamId?: string | null | undefined;
1575
+ customFields?: {
1576
+ title: string;
1577
+ id: string;
1578
+ value?: unknown;
1579
+ isPrivate?: boolean | undefined;
1580
+ }[] | undefined;
1581
+ departmentId?: string | null | undefined;
1582
+ locationIds?: string[] | undefined;
1583
+ openedAt?: string | null | undefined;
1584
+ closedAt?: string | null | undefined;
1585
+ }, {
1586
+ title: string;
1587
+ id: string;
1588
+ status?: string | undefined;
1589
+ locationId?: string | null | undefined;
1590
+ createdAt?: string | undefined;
1591
+ updatedAt?: string | undefined;
1592
+ teamId?: string | null | undefined;
1593
+ customFields?: {
1594
+ title: string;
1595
+ id: string;
1596
+ value?: unknown;
1597
+ isPrivate?: boolean | undefined;
1598
+ }[] | undefined;
1599
+ departmentId?: string | null | undefined;
1600
+ locationIds?: string[] | undefined;
1601
+ openedAt?: string | null | undefined;
1602
+ closedAt?: string | null | undefined;
1603
+ }>, "many">>;
1604
+ next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
1605
+ more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
1606
+ error: import("zod").ZodString;
1607
+ }, "strip", import("zod").ZodTypeAny, {
1608
+ error: string;
1609
+ success: boolean;
1610
+ operation: "list_jobs";
1611
+ next_cursor?: string | undefined;
1612
+ jobs?: {
1613
+ title: string;
1614
+ id: string;
1615
+ status?: string | undefined;
1616
+ locationId?: string | null | undefined;
1617
+ createdAt?: string | undefined;
1618
+ updatedAt?: string | undefined;
1619
+ teamId?: string | null | undefined;
1620
+ customFields?: {
1621
+ title: string;
1622
+ id: string;
1623
+ value?: unknown;
1624
+ isPrivate?: boolean | undefined;
1625
+ }[] | undefined;
1626
+ departmentId?: string | null | undefined;
1627
+ locationIds?: string[] | undefined;
1628
+ openedAt?: string | null | undefined;
1629
+ closedAt?: string | null | undefined;
1630
+ }[] | undefined;
1631
+ more_data_available?: boolean | undefined;
1632
+ }, {
1633
+ error: string;
1634
+ success: boolean;
1635
+ operation: "list_jobs";
1636
+ next_cursor?: string | undefined;
1637
+ jobs?: {
1638
+ title: string;
1639
+ id: string;
1640
+ status?: string | undefined;
1641
+ locationId?: string | null | undefined;
1642
+ createdAt?: string | undefined;
1643
+ updatedAt?: string | undefined;
1644
+ teamId?: string | null | undefined;
1645
+ customFields?: {
1646
+ title: string;
1647
+ id: string;
1648
+ value?: unknown;
1649
+ isPrivate?: boolean | undefined;
1650
+ }[] | undefined;
1651
+ departmentId?: string | null | undefined;
1652
+ locationIds?: string[] | undefined;
1653
+ openedAt?: string | null | undefined;
1654
+ closedAt?: string | null | undefined;
1655
+ }[] | undefined;
1656
+ more_data_available?: boolean | undefined;
1657
+ }>, import("zod").ZodObject<{
1658
+ operation: import("zod").ZodLiteral<"get_job">;
1659
+ success: import("zod").ZodBoolean;
1660
+ job: import("zod").ZodOptional<import("zod").ZodObject<{
1661
+ id: import("zod").ZodString;
1662
+ title: import("zod").ZodString;
1663
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1664
+ departmentId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1665
+ teamId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1666
+ locationId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1667
+ locationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1668
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1669
+ id: import("zod").ZodString;
1670
+ title: import("zod").ZodString;
1671
+ value: import("zod").ZodUnknown;
1672
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
1673
+ }, "strip", import("zod").ZodTypeAny, {
1674
+ title: string;
1675
+ id: string;
1676
+ value?: unknown;
1677
+ isPrivate?: boolean | undefined;
1678
+ }, {
1679
+ title: string;
1680
+ id: string;
1681
+ value?: unknown;
1682
+ isPrivate?: boolean | undefined;
1683
+ }>, "many">>;
1684
+ openedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1685
+ closedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1686
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
1687
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
1688
+ }, "strip", import("zod").ZodTypeAny, {
1689
+ title: string;
1690
+ id: string;
1691
+ status?: string | undefined;
1692
+ locationId?: string | null | undefined;
1693
+ createdAt?: string | undefined;
1694
+ updatedAt?: string | undefined;
1695
+ teamId?: string | null | undefined;
1696
+ customFields?: {
1697
+ title: string;
1698
+ id: string;
1699
+ value?: unknown;
1700
+ isPrivate?: boolean | undefined;
1701
+ }[] | undefined;
1702
+ departmentId?: string | null | undefined;
1703
+ locationIds?: string[] | undefined;
1704
+ openedAt?: string | null | undefined;
1705
+ closedAt?: string | null | undefined;
1706
+ }, {
1707
+ title: string;
1708
+ id: string;
1709
+ status?: string | undefined;
1710
+ locationId?: string | null | undefined;
1711
+ createdAt?: string | undefined;
1712
+ updatedAt?: string | undefined;
1713
+ teamId?: string | null | undefined;
1714
+ customFields?: {
1715
+ title: string;
1716
+ id: string;
1717
+ value?: unknown;
1718
+ isPrivate?: boolean | undefined;
1719
+ }[] | undefined;
1720
+ departmentId?: string | null | undefined;
1721
+ locationIds?: string[] | undefined;
1722
+ openedAt?: string | null | undefined;
1723
+ closedAt?: string | null | undefined;
1724
+ }>>;
1725
+ interview_stages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1726
+ id: import("zod").ZodString;
1727
+ title: import("zod").ZodString;
1728
+ type: import("zod").ZodOptional<import("zod").ZodString>;
1729
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
1730
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
1731
+ }, "strip", import("zod").ZodTypeAny, {
1732
+ title: string;
1733
+ id: string;
1734
+ type?: string | undefined;
1735
+ orderInInterviewPlan?: number | undefined;
1736
+ interviewPlanId?: string | undefined;
1737
+ }, {
1738
+ title: string;
1739
+ id: string;
1740
+ type?: string | undefined;
1741
+ orderInInterviewPlan?: number | undefined;
1742
+ interviewPlanId?: string | undefined;
1743
+ }>, "many">>;
1744
+ error: import("zod").ZodString;
1745
+ }, "strip", import("zod").ZodTypeAny, {
1746
+ error: string;
1747
+ success: boolean;
1748
+ operation: "get_job";
1749
+ job?: {
1750
+ title: string;
1751
+ id: string;
1752
+ status?: string | undefined;
1753
+ locationId?: string | null | undefined;
1754
+ createdAt?: string | undefined;
1755
+ updatedAt?: string | undefined;
1756
+ teamId?: string | null | undefined;
1757
+ customFields?: {
1758
+ title: string;
1759
+ id: string;
1760
+ value?: unknown;
1761
+ isPrivate?: boolean | undefined;
1762
+ }[] | undefined;
1763
+ departmentId?: string | null | undefined;
1764
+ locationIds?: string[] | undefined;
1765
+ openedAt?: string | null | undefined;
1766
+ closedAt?: string | null | undefined;
1767
+ } | undefined;
1768
+ interview_stages?: {
1769
+ title: string;
1770
+ id: string;
1771
+ type?: string | undefined;
1772
+ orderInInterviewPlan?: number | undefined;
1773
+ interviewPlanId?: string | undefined;
1774
+ }[] | undefined;
1775
+ }, {
1776
+ error: string;
1777
+ success: boolean;
1778
+ operation: "get_job";
1779
+ job?: {
1780
+ title: string;
1781
+ id: string;
1782
+ status?: string | undefined;
1783
+ locationId?: string | null | undefined;
1784
+ createdAt?: string | undefined;
1785
+ updatedAt?: string | undefined;
1786
+ teamId?: string | null | undefined;
1787
+ customFields?: {
1788
+ title: string;
1789
+ id: string;
1790
+ value?: unknown;
1791
+ isPrivate?: boolean | undefined;
1792
+ }[] | undefined;
1793
+ departmentId?: string | null | undefined;
1794
+ locationIds?: string[] | undefined;
1795
+ openedAt?: string | null | undefined;
1796
+ closedAt?: string | null | undefined;
1797
+ } | undefined;
1798
+ interview_stages?: {
1799
+ title: string;
1800
+ id: string;
1801
+ type?: string | undefined;
1802
+ orderInInterviewPlan?: number | undefined;
1803
+ interviewPlanId?: string | undefined;
1804
+ }[] | undefined;
1805
+ }>, import("zod").ZodObject<{
1806
+ operation: import("zod").ZodLiteral<"list_applications">;
1807
+ success: import("zod").ZodBoolean;
1808
+ applications: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1809
+ id: import("zod").ZodString;
1810
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
1811
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
1812
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1813
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1814
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1815
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1816
+ id: import("zod").ZodString;
1817
+ title: import("zod").ZodString;
1818
+ type: import("zod").ZodOptional<import("zod").ZodString>;
1819
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
1820
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
1821
+ }, "strip", import("zod").ZodTypeAny, {
1822
+ title: string;
1823
+ id: string;
1824
+ type?: string | undefined;
1825
+ orderInInterviewPlan?: number | undefined;
1826
+ interviewPlanId?: string | undefined;
1827
+ }, {
1828
+ title: string;
1829
+ id: string;
1830
+ type?: string | undefined;
1831
+ orderInInterviewPlan?: number | undefined;
1832
+ interviewPlanId?: string | undefined;
1833
+ }>>>;
1834
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
1835
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
1836
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1837
+ id: import("zod").ZodString;
1838
+ title: import("zod").ZodString;
1839
+ value: import("zod").ZodUnknown;
1840
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
1841
+ }, "strip", import("zod").ZodTypeAny, {
1842
+ title: string;
1843
+ id: string;
1844
+ value?: unknown;
1845
+ isPrivate?: boolean | undefined;
1846
+ }, {
1847
+ title: string;
1848
+ id: string;
1849
+ value?: unknown;
1850
+ isPrivate?: boolean | undefined;
1851
+ }>, "many">>;
1852
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1853
+ userId: import("zod").ZodString;
1854
+ role: import("zod").ZodString;
1855
+ email: import("zod").ZodOptional<import("zod").ZodString>;
1856
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
1857
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
1858
+ }, "strip", import("zod").ZodTypeAny, {
1859
+ role: string;
1860
+ userId: string;
1861
+ email?: string | undefined;
1862
+ firstName?: string | undefined;
1863
+ lastName?: string | undefined;
1864
+ }, {
1865
+ role: string;
1866
+ userId: string;
1867
+ email?: string | undefined;
1868
+ firstName?: string | undefined;
1869
+ lastName?: string | undefined;
1870
+ }>, "many">>;
1871
+ }, "strip", import("zod").ZodTypeAny, {
1872
+ id: string;
1873
+ status?: string | undefined;
1874
+ source?: unknown;
1875
+ createdAt?: string | undefined;
1876
+ updatedAt?: string | undefined;
1877
+ customFields?: {
1878
+ title: string;
1879
+ id: string;
1880
+ value?: unknown;
1881
+ isPrivate?: boolean | undefined;
1882
+ }[] | undefined;
1883
+ candidateId?: string | null | undefined;
1884
+ jobId?: string | null | undefined;
1885
+ currentInterviewStage?: {
1886
+ title: string;
1887
+ id: string;
1888
+ type?: string | undefined;
1889
+ orderInInterviewPlan?: number | undefined;
1890
+ interviewPlanId?: string | undefined;
1891
+ } | null | undefined;
1892
+ archiveReason?: unknown;
1893
+ hiringTeam?: {
1894
+ role: string;
1895
+ userId: string;
1896
+ email?: string | undefined;
1897
+ firstName?: string | undefined;
1898
+ lastName?: string | undefined;
1899
+ }[] | undefined;
1900
+ }, {
1901
+ id: string;
1902
+ status?: string | undefined;
1903
+ source?: unknown;
1904
+ createdAt?: string | undefined;
1905
+ updatedAt?: string | undefined;
1906
+ customFields?: {
1907
+ title: string;
1908
+ id: string;
1909
+ value?: unknown;
1910
+ isPrivate?: boolean | undefined;
1911
+ }[] | undefined;
1912
+ candidateId?: string | null | undefined;
1913
+ jobId?: string | null | undefined;
1914
+ currentInterviewStage?: {
1915
+ title: string;
1916
+ id: string;
1917
+ type?: string | undefined;
1918
+ orderInInterviewPlan?: number | undefined;
1919
+ interviewPlanId?: string | undefined;
1920
+ } | null | undefined;
1921
+ archiveReason?: unknown;
1922
+ hiringTeam?: {
1923
+ role: string;
1924
+ userId: string;
1925
+ email?: string | undefined;
1926
+ firstName?: string | undefined;
1927
+ lastName?: string | undefined;
1928
+ }[] | undefined;
1929
+ }>, "many">>;
1930
+ next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
1931
+ more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
1932
+ error: import("zod").ZodString;
1933
+ }, "strip", import("zod").ZodTypeAny, {
1934
+ error: string;
1935
+ success: boolean;
1936
+ operation: "list_applications";
1937
+ next_cursor?: string | undefined;
1938
+ more_data_available?: boolean | undefined;
1939
+ applications?: {
1940
+ id: string;
1941
+ status?: string | undefined;
1942
+ source?: unknown;
1943
+ createdAt?: string | undefined;
1944
+ updatedAt?: string | undefined;
1945
+ customFields?: {
1946
+ title: string;
1947
+ id: string;
1948
+ value?: unknown;
1949
+ isPrivate?: boolean | undefined;
1950
+ }[] | undefined;
1951
+ candidateId?: string | null | undefined;
1952
+ jobId?: string | null | undefined;
1953
+ currentInterviewStage?: {
1954
+ title: string;
1955
+ id: string;
1956
+ type?: string | undefined;
1957
+ orderInInterviewPlan?: number | undefined;
1958
+ interviewPlanId?: string | undefined;
1959
+ } | null | undefined;
1960
+ archiveReason?: unknown;
1961
+ hiringTeam?: {
1962
+ role: string;
1963
+ userId: string;
1964
+ email?: string | undefined;
1965
+ firstName?: string | undefined;
1966
+ lastName?: string | undefined;
1967
+ }[] | undefined;
1968
+ }[] | undefined;
1969
+ }, {
1970
+ error: string;
1971
+ success: boolean;
1972
+ operation: "list_applications";
1973
+ next_cursor?: string | undefined;
1974
+ more_data_available?: boolean | undefined;
1975
+ applications?: {
1976
+ id: string;
1977
+ status?: string | undefined;
1978
+ source?: unknown;
1979
+ createdAt?: string | undefined;
1980
+ updatedAt?: string | undefined;
1981
+ customFields?: {
1982
+ title: string;
1983
+ id: string;
1984
+ value?: unknown;
1985
+ isPrivate?: boolean | undefined;
1986
+ }[] | undefined;
1987
+ candidateId?: string | null | undefined;
1988
+ jobId?: string | null | undefined;
1989
+ currentInterviewStage?: {
1990
+ title: string;
1991
+ id: string;
1992
+ type?: string | undefined;
1993
+ orderInInterviewPlan?: number | undefined;
1994
+ interviewPlanId?: string | undefined;
1995
+ } | null | undefined;
1996
+ archiveReason?: unknown;
1997
+ hiringTeam?: {
1998
+ role: string;
1999
+ userId: string;
2000
+ email?: string | undefined;
2001
+ firstName?: string | undefined;
2002
+ lastName?: string | undefined;
2003
+ }[] | undefined;
2004
+ }[] | undefined;
2005
+ }>, import("zod").ZodObject<{
2006
+ operation: import("zod").ZodLiteral<"get_application">;
2007
+ success: import("zod").ZodBoolean;
2008
+ application: import("zod").ZodOptional<import("zod").ZodObject<{
2009
+ id: import("zod").ZodString;
2010
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2011
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2012
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2013
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2014
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2015
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2016
+ id: import("zod").ZodString;
2017
+ title: import("zod").ZodString;
2018
+ type: import("zod").ZodOptional<import("zod").ZodString>;
2019
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
2020
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
2021
+ }, "strip", import("zod").ZodTypeAny, {
2022
+ title: string;
2023
+ id: string;
2024
+ type?: string | undefined;
2025
+ orderInInterviewPlan?: number | undefined;
2026
+ interviewPlanId?: string | undefined;
2027
+ }, {
2028
+ title: string;
2029
+ id: string;
2030
+ type?: string | undefined;
2031
+ orderInInterviewPlan?: number | undefined;
2032
+ interviewPlanId?: string | undefined;
2033
+ }>>>;
2034
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2035
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2036
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2037
+ id: import("zod").ZodString;
2038
+ title: import("zod").ZodString;
2039
+ value: import("zod").ZodUnknown;
2040
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2041
+ }, "strip", import("zod").ZodTypeAny, {
2042
+ title: string;
2043
+ id: string;
2044
+ value?: unknown;
2045
+ isPrivate?: boolean | undefined;
2046
+ }, {
2047
+ title: string;
2048
+ id: string;
2049
+ value?: unknown;
2050
+ isPrivate?: boolean | undefined;
2051
+ }>, "many">>;
2052
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2053
+ userId: import("zod").ZodString;
2054
+ role: import("zod").ZodString;
2055
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2056
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
2057
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
2058
+ }, "strip", import("zod").ZodTypeAny, {
2059
+ role: string;
2060
+ userId: string;
2061
+ email?: string | undefined;
2062
+ firstName?: string | undefined;
2063
+ lastName?: string | undefined;
2064
+ }, {
2065
+ role: string;
2066
+ userId: string;
2067
+ email?: string | undefined;
2068
+ firstName?: string | undefined;
2069
+ lastName?: string | undefined;
2070
+ }>, "many">>;
2071
+ }, "strip", import("zod").ZodTypeAny, {
2072
+ id: string;
2073
+ status?: string | undefined;
2074
+ source?: unknown;
2075
+ createdAt?: string | undefined;
2076
+ updatedAt?: string | undefined;
2077
+ customFields?: {
2078
+ title: string;
2079
+ id: string;
2080
+ value?: unknown;
2081
+ isPrivate?: boolean | undefined;
2082
+ }[] | undefined;
2083
+ candidateId?: string | null | undefined;
2084
+ jobId?: string | null | undefined;
2085
+ currentInterviewStage?: {
2086
+ title: string;
2087
+ id: string;
2088
+ type?: string | undefined;
2089
+ orderInInterviewPlan?: number | undefined;
2090
+ interviewPlanId?: string | undefined;
2091
+ } | null | undefined;
2092
+ archiveReason?: unknown;
2093
+ hiringTeam?: {
2094
+ role: string;
2095
+ userId: string;
2096
+ email?: string | undefined;
2097
+ firstName?: string | undefined;
2098
+ lastName?: string | undefined;
2099
+ }[] | undefined;
2100
+ }, {
2101
+ id: string;
2102
+ status?: string | undefined;
2103
+ source?: unknown;
2104
+ createdAt?: string | undefined;
2105
+ updatedAt?: string | undefined;
2106
+ customFields?: {
2107
+ title: string;
2108
+ id: string;
2109
+ value?: unknown;
2110
+ isPrivate?: boolean | undefined;
2111
+ }[] | undefined;
2112
+ candidateId?: string | null | undefined;
2113
+ jobId?: string | null | undefined;
2114
+ currentInterviewStage?: {
2115
+ title: string;
2116
+ id: string;
2117
+ type?: string | undefined;
2118
+ orderInInterviewPlan?: number | undefined;
2119
+ interviewPlanId?: string | undefined;
2120
+ } | null | undefined;
2121
+ archiveReason?: unknown;
2122
+ hiringTeam?: {
2123
+ role: string;
2124
+ userId: string;
2125
+ email?: string | undefined;
2126
+ firstName?: string | undefined;
2127
+ lastName?: string | undefined;
2128
+ }[] | undefined;
2129
+ }>>;
2130
+ candidate: import("zod").ZodOptional<import("zod").ZodObject<{
2131
+ id: import("zod").ZodString;
2132
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2133
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2134
+ name: import("zod").ZodString;
2135
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2136
+ value: import("zod").ZodString;
2137
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2138
+ isPrimary: import("zod").ZodBoolean;
2139
+ }, "strip", import("zod").ZodTypeAny, {
2140
+ value: string;
2141
+ type: "Personal" | "Work" | "Other";
2142
+ isPrimary: boolean;
2143
+ }, {
2144
+ value: string;
2145
+ type: "Personal" | "Work" | "Other";
2146
+ isPrimary: boolean;
2147
+ }>>>;
2148
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2149
+ value: import("zod").ZodString;
2150
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2151
+ isPrimary: import("zod").ZodBoolean;
2152
+ }, "strip", import("zod").ZodTypeAny, {
2153
+ value: string;
2154
+ type: "Personal" | "Work" | "Other";
2155
+ isPrimary: boolean;
2156
+ }, {
2157
+ value: string;
2158
+ type: "Personal" | "Work" | "Other";
2159
+ isPrimary: boolean;
2160
+ }>>>;
2161
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2162
+ id: import("zod").ZodString;
2163
+ title: import("zod").ZodString;
2164
+ value: import("zod").ZodUnknown;
2165
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2166
+ }, "strip", import("zod").ZodTypeAny, {
2167
+ title: string;
2168
+ id: string;
2169
+ value?: unknown;
2170
+ isPrivate?: boolean | undefined;
2171
+ }, {
2172
+ title: string;
2173
+ id: string;
2174
+ value?: unknown;
2175
+ isPrivate?: boolean | undefined;
2176
+ }>, "many">>;
2177
+ }, "strip", import("zod").ZodTypeAny, {
2178
+ name: string;
2179
+ id: string;
2180
+ createdAt?: string | undefined;
2181
+ updatedAt?: string | undefined;
2182
+ primaryEmailAddress?: {
2183
+ value: string;
2184
+ type: "Personal" | "Work" | "Other";
2185
+ isPrimary: boolean;
2186
+ } | null | undefined;
2187
+ primaryPhoneNumber?: {
2188
+ value: string;
2189
+ type: "Personal" | "Work" | "Other";
2190
+ isPrimary: boolean;
2191
+ } | null | undefined;
2192
+ customFields?: {
2193
+ title: string;
2194
+ id: string;
2195
+ value?: unknown;
2196
+ isPrivate?: boolean | undefined;
2197
+ }[] | undefined;
2198
+ }, {
2199
+ name: string;
2200
+ id: string;
2201
+ createdAt?: string | undefined;
2202
+ updatedAt?: string | undefined;
2203
+ primaryEmailAddress?: {
2204
+ value: string;
2205
+ type: "Personal" | "Work" | "Other";
2206
+ isPrimary: boolean;
2207
+ } | null | undefined;
2208
+ primaryPhoneNumber?: {
2209
+ value: string;
2210
+ type: "Personal" | "Work" | "Other";
2211
+ isPrimary: boolean;
2212
+ } | null | undefined;
2213
+ customFields?: {
2214
+ title: string;
2215
+ id: string;
2216
+ value?: unknown;
2217
+ isPrivate?: boolean | undefined;
2218
+ }[] | undefined;
2219
+ }>>;
2220
+ job: import("zod").ZodOptional<import("zod").ZodObject<{
2221
+ id: import("zod").ZodString;
2222
+ title: import("zod").ZodString;
2223
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2224
+ departmentId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2225
+ teamId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2226
+ locationId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2227
+ locationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2228
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2229
+ id: import("zod").ZodString;
2230
+ title: import("zod").ZodString;
2231
+ value: import("zod").ZodUnknown;
2232
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2233
+ }, "strip", import("zod").ZodTypeAny, {
2234
+ title: string;
2235
+ id: string;
2236
+ value?: unknown;
2237
+ isPrivate?: boolean | undefined;
2238
+ }, {
2239
+ title: string;
2240
+ id: string;
2241
+ value?: unknown;
2242
+ isPrivate?: boolean | undefined;
2243
+ }>, "many">>;
2244
+ openedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2245
+ closedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2246
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2247
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2248
+ }, "strip", import("zod").ZodTypeAny, {
2249
+ title: string;
2250
+ id: string;
2251
+ status?: string | undefined;
2252
+ locationId?: string | null | undefined;
2253
+ createdAt?: string | undefined;
2254
+ updatedAt?: string | undefined;
2255
+ teamId?: string | null | undefined;
2256
+ customFields?: {
2257
+ title: string;
2258
+ id: string;
2259
+ value?: unknown;
2260
+ isPrivate?: boolean | undefined;
2261
+ }[] | undefined;
2262
+ departmentId?: string | null | undefined;
2263
+ locationIds?: string[] | undefined;
2264
+ openedAt?: string | null | undefined;
2265
+ closedAt?: string | null | undefined;
2266
+ }, {
2267
+ title: string;
2268
+ id: string;
2269
+ status?: string | undefined;
2270
+ locationId?: string | null | undefined;
2271
+ createdAt?: string | undefined;
2272
+ updatedAt?: string | undefined;
2273
+ teamId?: string | null | undefined;
2274
+ customFields?: {
2275
+ title: string;
2276
+ id: string;
2277
+ value?: unknown;
2278
+ isPrivate?: boolean | undefined;
2279
+ }[] | undefined;
2280
+ departmentId?: string | null | undefined;
2281
+ locationIds?: string[] | undefined;
2282
+ openedAt?: string | null | undefined;
2283
+ closedAt?: string | null | undefined;
2284
+ }>>;
2285
+ error: import("zod").ZodString;
2286
+ }, "strip", import("zod").ZodTypeAny, {
2287
+ error: string;
2288
+ success: boolean;
2289
+ operation: "get_application";
2290
+ candidate?: {
2291
+ name: string;
2292
+ id: string;
2293
+ createdAt?: string | undefined;
2294
+ updatedAt?: string | undefined;
2295
+ primaryEmailAddress?: {
2296
+ value: string;
2297
+ type: "Personal" | "Work" | "Other";
2298
+ isPrimary: boolean;
2299
+ } | null | undefined;
2300
+ primaryPhoneNumber?: {
2301
+ value: string;
2302
+ type: "Personal" | "Work" | "Other";
2303
+ isPrimary: boolean;
2304
+ } | null | undefined;
2305
+ customFields?: {
2306
+ title: string;
2307
+ id: string;
2308
+ value?: unknown;
2309
+ isPrivate?: boolean | undefined;
2310
+ }[] | undefined;
2311
+ } | undefined;
2312
+ job?: {
2313
+ title: string;
2314
+ id: string;
2315
+ status?: string | undefined;
2316
+ locationId?: string | null | undefined;
2317
+ createdAt?: string | undefined;
2318
+ updatedAt?: string | undefined;
2319
+ teamId?: string | null | undefined;
2320
+ customFields?: {
2321
+ title: string;
2322
+ id: string;
2323
+ value?: unknown;
2324
+ isPrivate?: boolean | undefined;
2325
+ }[] | undefined;
2326
+ departmentId?: string | null | undefined;
2327
+ locationIds?: string[] | undefined;
2328
+ openedAt?: string | null | undefined;
2329
+ closedAt?: string | null | undefined;
2330
+ } | undefined;
2331
+ application?: {
2332
+ id: string;
2333
+ status?: string | undefined;
2334
+ source?: unknown;
2335
+ createdAt?: string | undefined;
2336
+ updatedAt?: string | undefined;
2337
+ customFields?: {
2338
+ title: string;
2339
+ id: string;
2340
+ value?: unknown;
2341
+ isPrivate?: boolean | undefined;
2342
+ }[] | undefined;
2343
+ candidateId?: string | null | undefined;
2344
+ jobId?: string | null | undefined;
2345
+ currentInterviewStage?: {
2346
+ title: string;
2347
+ id: string;
2348
+ type?: string | undefined;
2349
+ orderInInterviewPlan?: number | undefined;
2350
+ interviewPlanId?: string | undefined;
2351
+ } | null | undefined;
2352
+ archiveReason?: unknown;
2353
+ hiringTeam?: {
2354
+ role: string;
2355
+ userId: string;
2356
+ email?: string | undefined;
2357
+ firstName?: string | undefined;
2358
+ lastName?: string | undefined;
2359
+ }[] | undefined;
2360
+ } | undefined;
2361
+ }, {
2362
+ error: string;
2363
+ success: boolean;
2364
+ operation: "get_application";
2365
+ candidate?: {
2366
+ name: string;
2367
+ id: string;
2368
+ createdAt?: string | undefined;
2369
+ updatedAt?: string | undefined;
2370
+ primaryEmailAddress?: {
2371
+ value: string;
2372
+ type: "Personal" | "Work" | "Other";
2373
+ isPrimary: boolean;
2374
+ } | null | undefined;
2375
+ primaryPhoneNumber?: {
2376
+ value: string;
2377
+ type: "Personal" | "Work" | "Other";
2378
+ isPrimary: boolean;
2379
+ } | null | undefined;
2380
+ customFields?: {
2381
+ title: string;
2382
+ id: string;
2383
+ value?: unknown;
2384
+ isPrivate?: boolean | undefined;
2385
+ }[] | undefined;
2386
+ } | undefined;
2387
+ job?: {
2388
+ title: string;
2389
+ id: string;
2390
+ status?: string | undefined;
2391
+ locationId?: string | null | undefined;
2392
+ createdAt?: string | undefined;
2393
+ updatedAt?: string | undefined;
2394
+ teamId?: string | null | undefined;
2395
+ customFields?: {
2396
+ title: string;
2397
+ id: string;
2398
+ value?: unknown;
2399
+ isPrivate?: boolean | undefined;
2400
+ }[] | undefined;
2401
+ departmentId?: string | null | undefined;
2402
+ locationIds?: string[] | undefined;
2403
+ openedAt?: string | null | undefined;
2404
+ closedAt?: string | null | undefined;
2405
+ } | undefined;
2406
+ application?: {
2407
+ id: string;
2408
+ status?: string | undefined;
2409
+ source?: unknown;
2410
+ createdAt?: string | undefined;
2411
+ updatedAt?: string | undefined;
2412
+ customFields?: {
2413
+ title: string;
2414
+ id: string;
2415
+ value?: unknown;
2416
+ isPrivate?: boolean | undefined;
2417
+ }[] | undefined;
2418
+ candidateId?: string | null | undefined;
2419
+ jobId?: string | null | undefined;
2420
+ currentInterviewStage?: {
2421
+ title: string;
2422
+ id: string;
2423
+ type?: string | undefined;
2424
+ orderInInterviewPlan?: number | undefined;
2425
+ interviewPlanId?: string | undefined;
2426
+ } | null | undefined;
2427
+ archiveReason?: unknown;
2428
+ hiringTeam?: {
2429
+ role: string;
2430
+ userId: string;
2431
+ email?: string | undefined;
2432
+ firstName?: string | undefined;
2433
+ lastName?: string | undefined;
2434
+ }[] | undefined;
2435
+ } | undefined;
2436
+ }>, import("zod").ZodObject<{
2437
+ operation: import("zod").ZodLiteral<"create_application">;
2438
+ success: import("zod").ZodBoolean;
2439
+ application: import("zod").ZodOptional<import("zod").ZodObject<{
2440
+ id: import("zod").ZodString;
2441
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2442
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2443
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2444
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2445
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2446
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2447
+ id: import("zod").ZodString;
2448
+ title: import("zod").ZodString;
2449
+ type: import("zod").ZodOptional<import("zod").ZodString>;
2450
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
2451
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
2452
+ }, "strip", import("zod").ZodTypeAny, {
2453
+ title: string;
2454
+ id: string;
2455
+ type?: string | undefined;
2456
+ orderInInterviewPlan?: number | undefined;
2457
+ interviewPlanId?: string | undefined;
2458
+ }, {
2459
+ title: string;
2460
+ id: string;
2461
+ type?: string | undefined;
2462
+ orderInInterviewPlan?: number | undefined;
2463
+ interviewPlanId?: string | undefined;
2464
+ }>>>;
2465
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2466
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2467
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2468
+ id: import("zod").ZodString;
2469
+ title: import("zod").ZodString;
2470
+ value: import("zod").ZodUnknown;
2471
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2472
+ }, "strip", import("zod").ZodTypeAny, {
2473
+ title: string;
2474
+ id: string;
2475
+ value?: unknown;
2476
+ isPrivate?: boolean | undefined;
2477
+ }, {
2478
+ title: string;
2479
+ id: string;
2480
+ value?: unknown;
2481
+ isPrivate?: boolean | undefined;
2482
+ }>, "many">>;
2483
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2484
+ userId: import("zod").ZodString;
2485
+ role: import("zod").ZodString;
2486
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2487
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
2488
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
2489
+ }, "strip", import("zod").ZodTypeAny, {
2490
+ role: string;
2491
+ userId: string;
2492
+ email?: string | undefined;
2493
+ firstName?: string | undefined;
2494
+ lastName?: string | undefined;
2495
+ }, {
2496
+ role: string;
2497
+ userId: string;
2498
+ email?: string | undefined;
2499
+ firstName?: string | undefined;
2500
+ lastName?: string | undefined;
2501
+ }>, "many">>;
2502
+ }, "strip", import("zod").ZodTypeAny, {
2503
+ id: string;
2504
+ status?: string | undefined;
2505
+ source?: unknown;
2506
+ createdAt?: string | undefined;
2507
+ updatedAt?: string | undefined;
2508
+ customFields?: {
2509
+ title: string;
2510
+ id: string;
2511
+ value?: unknown;
2512
+ isPrivate?: boolean | undefined;
2513
+ }[] | undefined;
2514
+ candidateId?: string | null | undefined;
2515
+ jobId?: string | null | undefined;
2516
+ currentInterviewStage?: {
2517
+ title: string;
2518
+ id: string;
2519
+ type?: string | undefined;
2520
+ orderInInterviewPlan?: number | undefined;
2521
+ interviewPlanId?: string | undefined;
2522
+ } | null | undefined;
2523
+ archiveReason?: unknown;
2524
+ hiringTeam?: {
2525
+ role: string;
2526
+ userId: string;
2527
+ email?: string | undefined;
2528
+ firstName?: string | undefined;
2529
+ lastName?: string | undefined;
2530
+ }[] | undefined;
2531
+ }, {
2532
+ id: string;
2533
+ status?: string | undefined;
2534
+ source?: unknown;
2535
+ createdAt?: string | undefined;
2536
+ updatedAt?: string | undefined;
2537
+ customFields?: {
2538
+ title: string;
2539
+ id: string;
2540
+ value?: unknown;
2541
+ isPrivate?: boolean | undefined;
2542
+ }[] | undefined;
2543
+ candidateId?: string | null | undefined;
2544
+ jobId?: string | null | undefined;
2545
+ currentInterviewStage?: {
2546
+ title: string;
2547
+ id: string;
2548
+ type?: string | undefined;
2549
+ orderInInterviewPlan?: number | undefined;
2550
+ interviewPlanId?: string | undefined;
2551
+ } | null | undefined;
2552
+ archiveReason?: unknown;
2553
+ hiringTeam?: {
2554
+ role: string;
2555
+ userId: string;
2556
+ email?: string | undefined;
2557
+ firstName?: string | undefined;
2558
+ lastName?: string | undefined;
2559
+ }[] | undefined;
2560
+ }>>;
2561
+ error: import("zod").ZodString;
2562
+ }, "strip", import("zod").ZodTypeAny, {
2563
+ error: string;
2564
+ success: boolean;
2565
+ operation: "create_application";
2566
+ application?: {
2567
+ id: string;
2568
+ status?: string | undefined;
2569
+ source?: unknown;
2570
+ createdAt?: string | undefined;
2571
+ updatedAt?: string | undefined;
2572
+ customFields?: {
2573
+ title: string;
2574
+ id: string;
2575
+ value?: unknown;
2576
+ isPrivate?: boolean | undefined;
2577
+ }[] | undefined;
2578
+ candidateId?: string | null | undefined;
2579
+ jobId?: string | null | undefined;
2580
+ currentInterviewStage?: {
2581
+ title: string;
2582
+ id: string;
2583
+ type?: string | undefined;
2584
+ orderInInterviewPlan?: number | undefined;
2585
+ interviewPlanId?: string | undefined;
2586
+ } | null | undefined;
2587
+ archiveReason?: unknown;
2588
+ hiringTeam?: {
2589
+ role: string;
2590
+ userId: string;
2591
+ email?: string | undefined;
2592
+ firstName?: string | undefined;
2593
+ lastName?: string | undefined;
2594
+ }[] | undefined;
2595
+ } | undefined;
2596
+ }, {
2597
+ error: string;
2598
+ success: boolean;
2599
+ operation: "create_application";
2600
+ application?: {
2601
+ id: string;
2602
+ status?: string | undefined;
2603
+ source?: unknown;
2604
+ createdAt?: string | undefined;
2605
+ updatedAt?: string | undefined;
2606
+ customFields?: {
2607
+ title: string;
2608
+ id: string;
2609
+ value?: unknown;
2610
+ isPrivate?: boolean | undefined;
2611
+ }[] | undefined;
2612
+ candidateId?: string | null | undefined;
2613
+ jobId?: string | null | undefined;
2614
+ currentInterviewStage?: {
2615
+ title: string;
2616
+ id: string;
2617
+ type?: string | undefined;
2618
+ orderInInterviewPlan?: number | undefined;
2619
+ interviewPlanId?: string | undefined;
2620
+ } | null | undefined;
2621
+ archiveReason?: unknown;
2622
+ hiringTeam?: {
2623
+ role: string;
2624
+ userId: string;
2625
+ email?: string | undefined;
2626
+ firstName?: string | undefined;
2627
+ lastName?: string | undefined;
2628
+ }[] | undefined;
2629
+ } | undefined;
2630
+ }>, import("zod").ZodObject<{
2631
+ operation: import("zod").ZodLiteral<"change_application_stage">;
2632
+ success: import("zod").ZodBoolean;
2633
+ application: import("zod").ZodOptional<import("zod").ZodObject<{
2634
+ id: import("zod").ZodString;
2635
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2636
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2637
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2638
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2639
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2640
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2641
+ id: import("zod").ZodString;
2642
+ title: import("zod").ZodString;
2643
+ type: import("zod").ZodOptional<import("zod").ZodString>;
2644
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
2645
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
2646
+ }, "strip", import("zod").ZodTypeAny, {
2647
+ title: string;
2648
+ id: string;
2649
+ type?: string | undefined;
2650
+ orderInInterviewPlan?: number | undefined;
2651
+ interviewPlanId?: string | undefined;
2652
+ }, {
2653
+ title: string;
2654
+ id: string;
2655
+ type?: string | undefined;
2656
+ orderInInterviewPlan?: number | undefined;
2657
+ interviewPlanId?: string | undefined;
2658
+ }>>>;
2659
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2660
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2661
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2662
+ id: import("zod").ZodString;
2663
+ title: import("zod").ZodString;
2664
+ value: import("zod").ZodUnknown;
2665
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2666
+ }, "strip", import("zod").ZodTypeAny, {
2667
+ title: string;
2668
+ id: string;
2669
+ value?: unknown;
2670
+ isPrivate?: boolean | undefined;
2671
+ }, {
2672
+ title: string;
2673
+ id: string;
2674
+ value?: unknown;
2675
+ isPrivate?: boolean | undefined;
2676
+ }>, "many">>;
2677
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2678
+ userId: import("zod").ZodString;
2679
+ role: import("zod").ZodString;
2680
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2681
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
2682
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
2683
+ }, "strip", import("zod").ZodTypeAny, {
2684
+ role: string;
2685
+ userId: string;
2686
+ email?: string | undefined;
2687
+ firstName?: string | undefined;
2688
+ lastName?: string | undefined;
2689
+ }, {
2690
+ role: string;
2691
+ userId: string;
2692
+ email?: string | undefined;
2693
+ firstName?: string | undefined;
2694
+ lastName?: string | undefined;
2695
+ }>, "many">>;
2696
+ }, "strip", import("zod").ZodTypeAny, {
2697
+ id: string;
2698
+ status?: string | undefined;
2699
+ source?: unknown;
2700
+ createdAt?: string | undefined;
2701
+ updatedAt?: string | undefined;
2702
+ customFields?: {
2703
+ title: string;
2704
+ id: string;
2705
+ value?: unknown;
2706
+ isPrivate?: boolean | undefined;
2707
+ }[] | undefined;
2708
+ candidateId?: string | null | undefined;
2709
+ jobId?: string | null | undefined;
2710
+ currentInterviewStage?: {
2711
+ title: string;
2712
+ id: string;
2713
+ type?: string | undefined;
2714
+ orderInInterviewPlan?: number | undefined;
2715
+ interviewPlanId?: string | undefined;
2716
+ } | null | undefined;
2717
+ archiveReason?: unknown;
2718
+ hiringTeam?: {
2719
+ role: string;
2720
+ userId: string;
2721
+ email?: string | undefined;
2722
+ firstName?: string | undefined;
2723
+ lastName?: string | undefined;
2724
+ }[] | undefined;
2725
+ }, {
2726
+ id: string;
2727
+ status?: string | undefined;
2728
+ source?: unknown;
2729
+ createdAt?: string | undefined;
2730
+ updatedAt?: string | undefined;
2731
+ customFields?: {
2732
+ title: string;
2733
+ id: string;
2734
+ value?: unknown;
2735
+ isPrivate?: boolean | undefined;
2736
+ }[] | undefined;
2737
+ candidateId?: string | null | undefined;
2738
+ jobId?: string | null | undefined;
2739
+ currentInterviewStage?: {
2740
+ title: string;
2741
+ id: string;
2742
+ type?: string | undefined;
2743
+ orderInInterviewPlan?: number | undefined;
2744
+ interviewPlanId?: string | undefined;
2745
+ } | null | undefined;
2746
+ archiveReason?: unknown;
2747
+ hiringTeam?: {
2748
+ role: string;
2749
+ userId: string;
2750
+ email?: string | undefined;
2751
+ firstName?: string | undefined;
2752
+ lastName?: string | undefined;
2753
+ }[] | undefined;
2754
+ }>>;
2755
+ error: import("zod").ZodString;
2756
+ }, "strip", import("zod").ZodTypeAny, {
2757
+ error: string;
2758
+ success: boolean;
2759
+ operation: "change_application_stage";
2760
+ application?: {
2761
+ id: string;
2762
+ status?: string | undefined;
2763
+ source?: unknown;
2764
+ createdAt?: string | undefined;
2765
+ updatedAt?: string | undefined;
2766
+ customFields?: {
2767
+ title: string;
2768
+ id: string;
2769
+ value?: unknown;
2770
+ isPrivate?: boolean | undefined;
2771
+ }[] | undefined;
2772
+ candidateId?: string | null | undefined;
2773
+ jobId?: string | null | undefined;
2774
+ currentInterviewStage?: {
2775
+ title: string;
2776
+ id: string;
2777
+ type?: string | undefined;
2778
+ orderInInterviewPlan?: number | undefined;
2779
+ interviewPlanId?: string | undefined;
2780
+ } | null | undefined;
2781
+ archiveReason?: unknown;
2782
+ hiringTeam?: {
2783
+ role: string;
2784
+ userId: string;
2785
+ email?: string | undefined;
2786
+ firstName?: string | undefined;
2787
+ lastName?: string | undefined;
2788
+ }[] | undefined;
2789
+ } | undefined;
2790
+ }, {
2791
+ error: string;
2792
+ success: boolean;
2793
+ operation: "change_application_stage";
2794
+ application?: {
2795
+ id: string;
2796
+ status?: string | undefined;
2797
+ source?: unknown;
2798
+ createdAt?: string | undefined;
2799
+ updatedAt?: string | undefined;
2800
+ customFields?: {
2801
+ title: string;
2802
+ id: string;
2803
+ value?: unknown;
2804
+ isPrivate?: boolean | undefined;
2805
+ }[] | undefined;
2806
+ candidateId?: string | null | undefined;
2807
+ jobId?: string | null | undefined;
2808
+ currentInterviewStage?: {
2809
+ title: string;
2810
+ id: string;
2811
+ type?: string | undefined;
2812
+ orderInInterviewPlan?: number | undefined;
2813
+ interviewPlanId?: string | undefined;
2814
+ } | null | undefined;
2815
+ archiveReason?: unknown;
2816
+ hiringTeam?: {
2817
+ role: string;
2818
+ userId: string;
2819
+ email?: string | undefined;
2820
+ firstName?: string | undefined;
2821
+ lastName?: string | undefined;
2822
+ }[] | undefined;
2823
+ } | undefined;
2824
+ }>, import("zod").ZodObject<{
2825
+ operation: import("zod").ZodLiteral<"update_candidate">;
2826
+ success: import("zod").ZodBoolean;
2827
+ candidate: import("zod").ZodOptional<import("zod").ZodObject<{
2828
+ id: import("zod").ZodString;
2829
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2830
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2831
+ name: import("zod").ZodString;
2832
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2833
+ value: import("zod").ZodString;
2834
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2835
+ isPrimary: import("zod").ZodBoolean;
2836
+ }, "strip", import("zod").ZodTypeAny, {
2837
+ value: string;
2838
+ type: "Personal" | "Work" | "Other";
2839
+ isPrimary: boolean;
2840
+ }, {
2841
+ value: string;
2842
+ type: "Personal" | "Work" | "Other";
2843
+ isPrimary: boolean;
2844
+ }>>>;
2845
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2846
+ value: import("zod").ZodString;
2847
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2848
+ isPrimary: import("zod").ZodBoolean;
2849
+ }, "strip", import("zod").ZodTypeAny, {
2850
+ value: string;
2851
+ type: "Personal" | "Work" | "Other";
2852
+ isPrimary: boolean;
2853
+ }, {
2854
+ value: string;
2855
+ type: "Personal" | "Work" | "Other";
2856
+ isPrimary: boolean;
2857
+ }>>>;
2858
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2859
+ id: import("zod").ZodString;
2860
+ title: import("zod").ZodString;
2861
+ value: import("zod").ZodUnknown;
2862
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2863
+ }, "strip", import("zod").ZodTypeAny, {
2864
+ title: string;
2865
+ id: string;
2866
+ value?: unknown;
2867
+ isPrivate?: boolean | undefined;
2868
+ }, {
2869
+ title: string;
2870
+ id: string;
2871
+ value?: unknown;
2872
+ isPrivate?: boolean | undefined;
2873
+ }>, "many">>;
2874
+ }, "strip", import("zod").ZodTypeAny, {
2875
+ name: string;
2876
+ id: string;
2877
+ createdAt?: string | undefined;
2878
+ updatedAt?: string | undefined;
2879
+ primaryEmailAddress?: {
2880
+ value: string;
2881
+ type: "Personal" | "Work" | "Other";
2882
+ isPrimary: boolean;
2883
+ } | null | undefined;
2884
+ primaryPhoneNumber?: {
2885
+ value: string;
2886
+ type: "Personal" | "Work" | "Other";
2887
+ isPrimary: boolean;
2888
+ } | null | undefined;
2889
+ customFields?: {
2890
+ title: string;
2891
+ id: string;
2892
+ value?: unknown;
2893
+ isPrivate?: boolean | undefined;
2894
+ }[] | undefined;
2895
+ }, {
2896
+ name: string;
2897
+ id: string;
2898
+ createdAt?: string | undefined;
2899
+ updatedAt?: string | undefined;
2900
+ primaryEmailAddress?: {
2901
+ value: string;
2902
+ type: "Personal" | "Work" | "Other";
2903
+ isPrimary: boolean;
2904
+ } | null | undefined;
2905
+ primaryPhoneNumber?: {
2906
+ value: string;
2907
+ type: "Personal" | "Work" | "Other";
2908
+ isPrimary: boolean;
2909
+ } | null | undefined;
2910
+ customFields?: {
2911
+ title: string;
2912
+ id: string;
2913
+ value?: unknown;
2914
+ isPrivate?: boolean | undefined;
2915
+ }[] | undefined;
2916
+ }>>;
2917
+ error: import("zod").ZodString;
2918
+ }, "strip", import("zod").ZodTypeAny, {
2919
+ error: string;
2920
+ success: boolean;
2921
+ operation: "update_candidate";
2922
+ candidate?: {
2923
+ name: string;
2924
+ id: string;
2925
+ createdAt?: string | undefined;
2926
+ updatedAt?: string | undefined;
2927
+ primaryEmailAddress?: {
2928
+ value: string;
2929
+ type: "Personal" | "Work" | "Other";
2930
+ isPrimary: boolean;
2931
+ } | null | undefined;
2932
+ primaryPhoneNumber?: {
2933
+ value: string;
2934
+ type: "Personal" | "Work" | "Other";
2935
+ isPrimary: boolean;
2936
+ } | null | undefined;
2937
+ customFields?: {
2938
+ title: string;
2939
+ id: string;
2940
+ value?: unknown;
2941
+ isPrivate?: boolean | undefined;
2942
+ }[] | undefined;
2943
+ } | undefined;
2944
+ }, {
2945
+ error: string;
2946
+ success: boolean;
2947
+ operation: "update_candidate";
2948
+ candidate?: {
2949
+ name: string;
2950
+ id: string;
2951
+ createdAt?: string | undefined;
2952
+ updatedAt?: string | undefined;
2953
+ primaryEmailAddress?: {
2954
+ value: string;
2955
+ type: "Personal" | "Work" | "Other";
2956
+ isPrimary: boolean;
2957
+ } | null | undefined;
2958
+ primaryPhoneNumber?: {
2959
+ value: string;
2960
+ type: "Personal" | "Work" | "Other";
2961
+ isPrimary: boolean;
2962
+ } | null | undefined;
2963
+ customFields?: {
2964
+ title: string;
2965
+ id: string;
2966
+ value?: unknown;
2967
+ isPrivate?: boolean | undefined;
2968
+ }[] | undefined;
2969
+ } | undefined;
2970
+ }>, import("zod").ZodObject<{
2971
+ operation: import("zod").ZodLiteral<"create_note">;
2972
+ success: import("zod").ZodBoolean;
2973
+ note: import("zod").ZodOptional<import("zod").ZodObject<{
2974
+ id: import("zod").ZodString;
2975
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2976
+ content: import("zod").ZodString;
2977
+ author: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2978
+ id: import("zod").ZodString;
2979
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
2980
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
2981
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2982
+ }, "strip", import("zod").ZodTypeAny, {
2983
+ id: string;
2984
+ email?: string | undefined;
2985
+ firstName?: string | undefined;
2986
+ lastName?: string | undefined;
2987
+ }, {
2988
+ id: string;
2989
+ email?: string | undefined;
2990
+ firstName?: string | undefined;
2991
+ lastName?: string | undefined;
2992
+ }>>>;
2993
+ }, "strip", import("zod").ZodTypeAny, {
2994
+ content: string;
2995
+ id: string;
2996
+ author?: {
2997
+ id: string;
2998
+ email?: string | undefined;
2999
+ firstName?: string | undefined;
3000
+ lastName?: string | undefined;
3001
+ } | null | undefined;
3002
+ createdAt?: string | undefined;
3003
+ }, {
3004
+ content: string;
3005
+ id: string;
3006
+ author?: {
3007
+ id: string;
3008
+ email?: string | undefined;
3009
+ firstName?: string | undefined;
3010
+ lastName?: string | undefined;
3011
+ } | null | undefined;
3012
+ createdAt?: string | undefined;
3013
+ }>>;
3014
+ error: import("zod").ZodString;
3015
+ }, "strip", import("zod").ZodTypeAny, {
3016
+ error: string;
3017
+ success: boolean;
3018
+ operation: "create_note";
3019
+ note?: {
3020
+ content: string;
3021
+ id: string;
3022
+ author?: {
3023
+ id: string;
3024
+ email?: string | undefined;
3025
+ firstName?: string | undefined;
3026
+ lastName?: string | undefined;
3027
+ } | null | undefined;
3028
+ createdAt?: string | undefined;
3029
+ } | undefined;
3030
+ }, {
3031
+ error: string;
3032
+ success: boolean;
3033
+ operation: "create_note";
3034
+ note?: {
3035
+ content: string;
3036
+ id: string;
3037
+ author?: {
3038
+ id: string;
3039
+ email?: string | undefined;
3040
+ firstName?: string | undefined;
3041
+ lastName?: string | undefined;
3042
+ } | null | undefined;
3043
+ createdAt?: string | undefined;
3044
+ } | undefined;
3045
+ }>, import("zod").ZodObject<{
3046
+ operation: import("zod").ZodLiteral<"list_notes">;
3047
+ success: import("zod").ZodBoolean;
3048
+ notes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3049
+ id: import("zod").ZodString;
3050
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
3051
+ content: import("zod").ZodString;
3052
+ author: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
3053
+ id: import("zod").ZodString;
3054
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
3055
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
3056
+ email: import("zod").ZodOptional<import("zod").ZodString>;
3057
+ }, "strip", import("zod").ZodTypeAny, {
3058
+ id: string;
3059
+ email?: string | undefined;
3060
+ firstName?: string | undefined;
3061
+ lastName?: string | undefined;
3062
+ }, {
3063
+ id: string;
3064
+ email?: string | undefined;
3065
+ firstName?: string | undefined;
3066
+ lastName?: string | undefined;
3067
+ }>>>;
3068
+ }, "strip", import("zod").ZodTypeAny, {
3069
+ content: string;
3070
+ id: string;
3071
+ author?: {
3072
+ id: string;
3073
+ email?: string | undefined;
3074
+ firstName?: string | undefined;
3075
+ lastName?: string | undefined;
3076
+ } | null | undefined;
3077
+ createdAt?: string | undefined;
3078
+ }, {
3079
+ content: string;
3080
+ id: string;
3081
+ author?: {
3082
+ id: string;
3083
+ email?: string | undefined;
3084
+ firstName?: string | undefined;
3085
+ lastName?: string | undefined;
3086
+ } | null | undefined;
3087
+ createdAt?: string | undefined;
3088
+ }>, "many">>;
3089
+ error: import("zod").ZodString;
3090
+ }, "strip", import("zod").ZodTypeAny, {
3091
+ error: string;
3092
+ success: boolean;
3093
+ operation: "list_notes";
3094
+ notes?: {
3095
+ content: string;
3096
+ id: string;
3097
+ author?: {
3098
+ id: string;
3099
+ email?: string | undefined;
3100
+ firstName?: string | undefined;
3101
+ lastName?: string | undefined;
3102
+ } | null | undefined;
3103
+ createdAt?: string | undefined;
3104
+ }[] | undefined;
3105
+ }, {
3106
+ error: string;
3107
+ success: boolean;
3108
+ operation: "list_notes";
3109
+ notes?: {
3110
+ content: string;
3111
+ id: string;
3112
+ author?: {
3113
+ id: string;
3114
+ email?: string | undefined;
3115
+ firstName?: string | undefined;
3116
+ lastName?: string | undefined;
3117
+ } | null | undefined;
3118
+ createdAt?: string | undefined;
3119
+ }[] | undefined;
3120
+ }>, import("zod").ZodObject<{
3121
+ operation: import("zod").ZodLiteral<"list_sources">;
3122
+ success: import("zod").ZodBoolean;
3123
+ sources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3124
+ id: import("zod").ZodString;
3125
+ title: import("zod").ZodString;
3126
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
3127
+ }, "strip", import("zod").ZodTypeAny, {
3128
+ title: string;
3129
+ id: string;
3130
+ isArchived?: boolean | undefined;
3131
+ }, {
3132
+ title: string;
3133
+ id: string;
3134
+ isArchived?: boolean | undefined;
3135
+ }>, "many">>;
3136
+ error: import("zod").ZodString;
3137
+ }, "strip", import("zod").ZodTypeAny, {
3138
+ error: string;
3139
+ success: boolean;
3140
+ operation: "list_sources";
3141
+ sources?: {
3142
+ title: string;
3143
+ id: string;
3144
+ isArchived?: boolean | undefined;
3145
+ }[] | undefined;
3146
+ }, {
3147
+ error: string;
3148
+ success: boolean;
3149
+ operation: "list_sources";
3150
+ sources?: {
3151
+ title: string;
3152
+ id: string;
3153
+ isArchived?: boolean | undefined;
3154
+ }[] | undefined;
3155
+ }>, import("zod").ZodObject<{
3156
+ operation: import("zod").ZodLiteral<"list_interview_stages">;
3157
+ success: import("zod").ZodBoolean;
3158
+ interview_stages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3159
+ id: import("zod").ZodString;
3160
+ title: import("zod").ZodString;
3161
+ type: import("zod").ZodOptional<import("zod").ZodString>;
3162
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
3163
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
3164
+ }, "strip", import("zod").ZodTypeAny, {
3165
+ title: string;
3166
+ id: string;
3167
+ type?: string | undefined;
3168
+ orderInInterviewPlan?: number | undefined;
3169
+ interviewPlanId?: string | undefined;
3170
+ }, {
3171
+ title: string;
3172
+ id: string;
3173
+ type?: string | undefined;
3174
+ orderInInterviewPlan?: number | undefined;
3175
+ interviewPlanId?: string | undefined;
3176
+ }>, "many">>;
3177
+ error: import("zod").ZodString;
3178
+ }, "strip", import("zod").ZodTypeAny, {
3179
+ error: string;
3180
+ success: boolean;
3181
+ operation: "list_interview_stages";
3182
+ interview_stages?: {
3183
+ title: string;
3184
+ id: string;
3185
+ type?: string | undefined;
3186
+ orderInInterviewPlan?: number | undefined;
3187
+ interviewPlanId?: string | undefined;
3188
+ }[] | undefined;
3189
+ }, {
3190
+ error: string;
3191
+ success: boolean;
3192
+ operation: "list_interview_stages";
3193
+ interview_stages?: {
3194
+ title: string;
3195
+ id: string;
3196
+ type?: string | undefined;
3197
+ orderInInterviewPlan?: number | undefined;
3198
+ interviewPlanId?: string | undefined;
3199
+ }[] | undefined;
3200
+ }>, import("zod").ZodObject<{
3201
+ operation: import("zod").ZodLiteral<"get_file_url">;
3202
+ success: import("zod").ZodBoolean;
3203
+ file: import("zod").ZodOptional<import("zod").ZodObject<{
3204
+ id: import("zod").ZodOptional<import("zod").ZodString>;
3205
+ name: import("zod").ZodOptional<import("zod").ZodString>;
3206
+ url: import("zod").ZodString;
3207
+ }, "strip", import("zod").ZodTypeAny, {
3208
+ url: string;
3209
+ name?: string | undefined;
3210
+ id?: string | undefined;
3211
+ }, {
3212
+ url: string;
3213
+ name?: string | undefined;
3214
+ id?: string | undefined;
3215
+ }>>;
3216
+ error: import("zod").ZodString;
3217
+ }, "strip", import("zod").ZodTypeAny, {
3218
+ error: string;
3219
+ success: boolean;
3220
+ operation: "get_file_url";
3221
+ file?: {
3222
+ url: string;
3223
+ name?: string | undefined;
3224
+ id?: string | undefined;
3225
+ } | undefined;
3226
+ }, {
3227
+ error: string;
3228
+ success: boolean;
3229
+ operation: "get_file_url";
3230
+ file?: {
3231
+ url: string;
3232
+ name?: string | undefined;
3233
+ id?: string | undefined;
3234
+ } | undefined;
3235
+ }>]>;
3236
+ static readonly shortDescription = "Ashby ATS integration for candidate management";
3237
+ 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 ";
3238
+ static readonly alias = "ashby-ats";
3239
+ constructor(params?: T, context?: BubbleContext);
3240
+ /**
3241
+ * Choose the appropriate credential for Ashby API
3242
+ */
3243
+ protected chooseCredential(): string | undefined;
3244
+ /**
3245
+ * Test if the credential is valid by making a simple API call
3246
+ */
3247
+ testCredential(): Promise<boolean>;
3248
+ /**
3249
+ * Perform the Ashby operation
3250
+ */
3251
+ protected performAction(context?: BubbleContext): Promise<Extract<AshbyResult, {
3252
+ operation: T['operation'];
3253
+ }>>;
3254
+ /**
3255
+ * Extract error message from Ashby API error response
3256
+ */
3257
+ private extractErrorMessage;
3258
+ /**
3259
+ * Make an authenticated request to the Ashby API
3260
+ */
3261
+ private makeAshbyRequest;
3262
+ /**
3263
+ * List candidates with optional filtering
3264
+ */
3265
+ private listCandidates;
3266
+ /**
3267
+ * Get detailed information about a specific candidate
3268
+ */
3269
+ private getCandidate;
3270
+ /**
3271
+ * Normalize LinkedIn URL for comparison
3272
+ * Removes protocol, www, trailing slashes, and query params
3273
+ */
3274
+ private normalizeLinkedInUrl;
3275
+ /**
3276
+ * Extract a searchable name from LinkedIn URL
3277
+ * e.g., "https://linkedin.com/in/john-doe" -> "john doe"
3278
+ */
3279
+ private extractNameFromLinkedInUrl;
3280
+ /**
3281
+ * Find existing candidates with the same LinkedIn URL
3282
+ * Uses search by name extracted from LinkedIn URL for faster lookup
3283
+ */
3284
+ private findCandidateByLinkedIn;
3285
+ /**
3286
+ * Create a new candidate
3287
+ */
3288
+ private createCandidate;
3289
+ /**
3290
+ * Search for candidates by email or name
3291
+ */
3292
+ private searchCandidates;
3293
+ /**
3294
+ * Add a tag to a candidate
3295
+ */
3296
+ private addTag;
3297
+ /**
3298
+ * List all candidate tags
3299
+ */
3300
+ private listTags;
3301
+ /**
3302
+ * Create a new candidate tag
3303
+ */
3304
+ private createTag;
3305
+ /**
3306
+ * List all custom field definitions
3307
+ */
3308
+ private listCustomFields;
3309
+ /**
3310
+ * List jobs with optional filtering
3311
+ */
3312
+ private listJobs;
3313
+ /**
3314
+ * Get detailed information about a specific job
3315
+ */
3316
+ private getJob;
3317
+ /**
3318
+ * List applications with optional filtering
3319
+ */
3320
+ private listApplications;
3321
+ /**
3322
+ * Get detailed information about a specific application
3323
+ */
3324
+ private getApplication;
3325
+ /**
3326
+ * Create an application (submit candidate to a job)
3327
+ */
3328
+ private createApplication;
3329
+ /**
3330
+ * Change the interview stage of an application
3331
+ */
3332
+ private changeApplicationStage;
3333
+ /**
3334
+ * Update an existing candidate
3335
+ */
3336
+ private updateCandidate;
3337
+ /**
3338
+ * Create a note on a candidate
3339
+ */
3340
+ private createNote;
3341
+ /**
3342
+ * List notes for a candidate
3343
+ */
3344
+ private listNotes;
3345
+ /**
3346
+ * List all candidate sources
3347
+ */
3348
+ private listSources;
3349
+ /**
3350
+ * List interview stages for a job (resolves the interview plan ID automatically)
3351
+ */
3352
+ private listInterviewStages;
3353
+ /**
3354
+ * Get a download URL for a file (e.g., resume)
3355
+ */
3356
+ private getFileUrl;
1400
3357
  }
1401
3358
  //# sourceMappingURL=ashby.d.ts.map