@bubblelab/bubble-core 0.1.36 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/bubble-bundle.d.ts +179 -101
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +8 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +66 -66
  6. package/dist/bubbles/service-bubble/airtable.d.ts +178 -178
  7. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  8. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +1363 -0
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -0
  10. package/dist/bubbles/service-bubble/ashby/ashby.js +399 -0
  11. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -0
  12. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +1789 -0
  13. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -0
  14. package/dist/bubbles/service-bubble/ashby/ashby.schema.js +445 -0
  15. package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -0
  16. package/dist/bubbles/service-bubble/ashby/index.d.ts +3 -0
  17. package/dist/bubbles/service-bubble/ashby/index.d.ts.map +1 -0
  18. package/dist/bubbles/service-bubble/ashby/index.js +3 -0
  19. package/dist/bubbles/service-bubble/ashby/index.js.map +1 -0
  20. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +22 -22
  21. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +51 -51
  22. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +1421 -27
  23. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
  24. package/dist/bubbles/service-bubble/crustdata/crustdata.js +139 -0
  25. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
  26. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +4211 -1857
  27. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts.map +1 -1
  28. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +198 -0
  29. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +1 -1
  30. package/dist/bubbles/service-bubble/crustdata/index.d.ts +1 -1
  31. package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +1 -1
  32. package/dist/bubbles/service-bubble/crustdata/index.js +3 -1
  33. package/dist/bubbles/service-bubble/crustdata/index.js.map +1 -1
  34. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  35. package/dist/bubbles/service-bubble/firecrawl.d.ts +192 -192
  36. package/dist/bubbles/service-bubble/followupboss.d.ts +401 -401
  37. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +1269 -0
  38. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -0
  39. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +299 -0
  40. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -0
  41. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +2089 -0
  42. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts.map +1 -0
  43. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.js +390 -0
  44. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.js.map +1 -0
  45. package/dist/bubbles/service-bubble/fullenrich/index.d.ts +4 -0
  46. package/dist/bubbles/service-bubble/fullenrich/index.d.ts.map +1 -0
  47. package/dist/bubbles/service-bubble/fullenrich/index.js +3 -0
  48. package/dist/bubbles/service-bubble/fullenrich/index.js.map +1 -0
  49. package/dist/bubbles/service-bubble/github.d.ts +164 -164
  50. package/dist/bubbles/service-bubble/gmail.d.ts +473 -473
  51. package/dist/bubbles/service-bubble/google-calendar.d.ts +212 -212
  52. package/dist/bubbles/service-bubble/google-drive.d.ts +96 -96
  53. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +38 -38
  54. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +54 -54
  55. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  56. package/dist/bubbles/service-bubble/insforge-db.d.ts +6 -6
  57. package/dist/bubbles/service-bubble/jira/jira.d.ts +105 -105
  58. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +84 -84
  59. package/dist/bubbles/service-bubble/notion/notion.d.ts +184 -184
  60. package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
  61. package/dist/bubbles/service-bubble/resend.d.ts +12 -12
  62. package/dist/bubbles/service-bubble/slack/slack.d.ts +394 -394
  63. package/dist/bubbles/service-bubble/storage.d.ts +52 -52
  64. package/dist/bubbles/service-bubble/telegram.d.ts +514 -514
  65. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +12 -12
  66. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +35 -35
  67. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  68. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +144 -144
  69. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +24 -24
  70. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  71. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +306 -306
  72. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +422 -216
  74. package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -1
  75. package/dist/bubbles/tool-bubble/people-search-tool.js +201 -2
  76. package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -1
  77. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +20 -20
  78. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
  79. package/dist/bubbles/tool-bubble/research-agent-tool.js +3 -4
  80. package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
  81. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  82. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +48 -48
  83. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +92 -92
  84. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  85. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +24 -24
  86. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +60 -60
  87. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  88. package/dist/bubbles.json +4768 -1722
  89. package/dist/index.d.ts +4 -0
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/index.js +2 -0
  92. package/dist/index.js.map +1 -1
  93. package/package.json +2 -2
@@ -0,0 +1,1789 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ /**
4
+ * Email address object from Ashby API
5
+ */
6
+ export declare const AshbyEmailSchema: z.ZodObject<{
7
+ value: z.ZodString;
8
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
9
+ isPrimary: z.ZodBoolean;
10
+ }, "strip", z.ZodTypeAny, {
11
+ value: string;
12
+ type: "Personal" | "Work" | "Other";
13
+ isPrimary: boolean;
14
+ }, {
15
+ value: string;
16
+ type: "Personal" | "Work" | "Other";
17
+ isPrimary: boolean;
18
+ }>;
19
+ /**
20
+ * Phone number object from Ashby API
21
+ */
22
+ export declare const AshbyPhoneSchema: z.ZodObject<{
23
+ value: z.ZodString;
24
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
25
+ isPrimary: z.ZodBoolean;
26
+ }, "strip", z.ZodTypeAny, {
27
+ value: string;
28
+ type: "Personal" | "Work" | "Other";
29
+ isPrimary: boolean;
30
+ }, {
31
+ value: string;
32
+ type: "Personal" | "Work" | "Other";
33
+ isPrimary: boolean;
34
+ }>;
35
+ /**
36
+ * Custom field object from Ashby API
37
+ */
38
+ export declare const AshbyCustomFieldSchema: z.ZodObject<{
39
+ id: z.ZodString;
40
+ title: z.ZodString;
41
+ value: z.ZodUnknown;
42
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ title: string;
45
+ id: string;
46
+ value?: unknown;
47
+ isPrivate?: boolean | undefined;
48
+ }, {
49
+ title: string;
50
+ id: string;
51
+ value?: unknown;
52
+ isPrivate?: boolean | undefined;
53
+ }>;
54
+ /**
55
+ * Candidate object from Ashby API
56
+ */
57
+ export declare const AshbyCandidateSchema: z.ZodObject<{
58
+ id: z.ZodString;
59
+ createdAt: z.ZodOptional<z.ZodString>;
60
+ updatedAt: z.ZodOptional<z.ZodString>;
61
+ name: z.ZodString;
62
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
63
+ value: z.ZodString;
64
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
65
+ isPrimary: z.ZodBoolean;
66
+ }, "strip", z.ZodTypeAny, {
67
+ value: string;
68
+ type: "Personal" | "Work" | "Other";
69
+ isPrimary: boolean;
70
+ }, {
71
+ value: string;
72
+ type: "Personal" | "Work" | "Other";
73
+ isPrimary: boolean;
74
+ }>>>;
75
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
76
+ value: z.ZodString;
77
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
78
+ isPrimary: z.ZodBoolean;
79
+ }, "strip", z.ZodTypeAny, {
80
+ value: string;
81
+ type: "Personal" | "Work" | "Other";
82
+ isPrimary: boolean;
83
+ }, {
84
+ value: string;
85
+ type: "Personal" | "Work" | "Other";
86
+ isPrimary: boolean;
87
+ }>>>;
88
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
+ id: z.ZodString;
90
+ title: z.ZodString;
91
+ value: z.ZodUnknown;
92
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ title: string;
95
+ id: string;
96
+ value?: unknown;
97
+ isPrivate?: boolean | undefined;
98
+ }, {
99
+ title: string;
100
+ id: string;
101
+ value?: unknown;
102
+ isPrivate?: boolean | undefined;
103
+ }>, "many">>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ id: string;
106
+ name: string;
107
+ createdAt?: string | undefined;
108
+ updatedAt?: string | undefined;
109
+ primaryEmailAddress?: {
110
+ value: string;
111
+ type: "Personal" | "Work" | "Other";
112
+ isPrimary: boolean;
113
+ } | null | undefined;
114
+ primaryPhoneNumber?: {
115
+ value: string;
116
+ type: "Personal" | "Work" | "Other";
117
+ isPrimary: boolean;
118
+ } | null | undefined;
119
+ customFields?: {
120
+ title: string;
121
+ id: string;
122
+ value?: unknown;
123
+ isPrivate?: boolean | undefined;
124
+ }[] | undefined;
125
+ }, {
126
+ id: string;
127
+ name: string;
128
+ createdAt?: string | undefined;
129
+ updatedAt?: string | undefined;
130
+ primaryEmailAddress?: {
131
+ value: string;
132
+ type: "Personal" | "Work" | "Other";
133
+ isPrimary: boolean;
134
+ } | null | undefined;
135
+ primaryPhoneNumber?: {
136
+ value: string;
137
+ type: "Personal" | "Work" | "Other";
138
+ isPrimary: boolean;
139
+ } | null | undefined;
140
+ customFields?: {
141
+ title: string;
142
+ id: string;
143
+ value?: unknown;
144
+ isPrivate?: boolean | undefined;
145
+ }[] | undefined;
146
+ }>;
147
+ /**
148
+ * Social link object from Ashby API
149
+ */
150
+ export declare const AshbySocialLinkSchema: z.ZodObject<{
151
+ url: z.ZodString;
152
+ type: z.ZodString;
153
+ }, "strip", z.ZodTypeAny, {
154
+ type: string;
155
+ url: string;
156
+ }, {
157
+ type: string;
158
+ url: string;
159
+ }>;
160
+ /**
161
+ * Tag object from Ashby API
162
+ */
163
+ export declare const AshbyTagSchema: z.ZodObject<{
164
+ id: z.ZodString;
165
+ title: z.ZodString;
166
+ isArchived: z.ZodOptional<z.ZodBoolean>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ title: string;
169
+ id: string;
170
+ isArchived?: boolean | undefined;
171
+ }, {
172
+ title: string;
173
+ id: string;
174
+ isArchived?: boolean | undefined;
175
+ }>;
176
+ /**
177
+ * File handle object from Ashby API
178
+ */
179
+ export declare const AshbyFileHandleSchema: z.ZodObject<{
180
+ id: z.ZodString;
181
+ name: z.ZodString;
182
+ handle: z.ZodString;
183
+ }, "strip", z.ZodTypeAny, {
184
+ id: string;
185
+ name: string;
186
+ handle: string;
187
+ }, {
188
+ id: string;
189
+ name: string;
190
+ handle: string;
191
+ }>;
192
+ /**
193
+ * Selectable value for custom field from Ashby API
194
+ */
195
+ export declare const AshbySelectableValueSchema: z.ZodObject<{
196
+ label: z.ZodString;
197
+ value: z.ZodString;
198
+ isArchived: z.ZodBoolean;
199
+ }, "strip", z.ZodTypeAny, {
200
+ value: string;
201
+ isArchived: boolean;
202
+ label: string;
203
+ }, {
204
+ value: string;
205
+ isArchived: boolean;
206
+ label: string;
207
+ }>;
208
+ /**
209
+ * Custom field definition from Ashby API (from customField.list endpoint)
210
+ */
211
+ export declare const AshbyCustomFieldDefinitionSchema: z.ZodObject<{
212
+ id: z.ZodString;
213
+ isPrivate: z.ZodBoolean;
214
+ title: z.ZodString;
215
+ objectType: z.ZodString;
216
+ isArchived: z.ZodBoolean;
217
+ fieldType: z.ZodString;
218
+ selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
219
+ label: z.ZodString;
220
+ value: z.ZodString;
221
+ isArchived: z.ZodBoolean;
222
+ }, "strip", z.ZodTypeAny, {
223
+ value: string;
224
+ isArchived: boolean;
225
+ label: string;
226
+ }, {
227
+ value: string;
228
+ isArchived: boolean;
229
+ label: string;
230
+ }>, "many">>;
231
+ }, "strip", z.ZodTypeAny, {
232
+ title: string;
233
+ id: string;
234
+ isPrivate: boolean;
235
+ isArchived: boolean;
236
+ objectType: string;
237
+ fieldType: string;
238
+ selectableValues?: {
239
+ value: string;
240
+ isArchived: boolean;
241
+ label: string;
242
+ }[] | undefined;
243
+ }, {
244
+ title: string;
245
+ id: string;
246
+ isPrivate: boolean;
247
+ isArchived: boolean;
248
+ objectType: string;
249
+ fieldType: string;
250
+ selectableValues?: {
251
+ value: string;
252
+ isArchived: boolean;
253
+ label: string;
254
+ }[] | undefined;
255
+ }>;
256
+ /**
257
+ * Candidate list item from Ashby API (from candidate.list endpoint)
258
+ */
259
+ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
260
+ id: z.ZodString;
261
+ createdAt: z.ZodOptional<z.ZodString>;
262
+ updatedAt: z.ZodOptional<z.ZodString>;
263
+ name: z.ZodString;
264
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
265
+ value: z.ZodString;
266
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
267
+ isPrimary: z.ZodBoolean;
268
+ }, "strip", z.ZodTypeAny, {
269
+ value: string;
270
+ type: "Personal" | "Work" | "Other";
271
+ isPrimary: boolean;
272
+ }, {
273
+ value: string;
274
+ type: "Personal" | "Work" | "Other";
275
+ isPrimary: boolean;
276
+ }>>>;
277
+ emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
278
+ value: z.ZodString;
279
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
280
+ isPrimary: z.ZodBoolean;
281
+ }, "strip", z.ZodTypeAny, {
282
+ value: string;
283
+ type: "Personal" | "Work" | "Other";
284
+ isPrimary: boolean;
285
+ }, {
286
+ value: string;
287
+ type: "Personal" | "Work" | "Other";
288
+ isPrimary: boolean;
289
+ }>, "many">>;
290
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
291
+ value: z.ZodString;
292
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
293
+ isPrimary: z.ZodBoolean;
294
+ }, "strip", z.ZodTypeAny, {
295
+ value: string;
296
+ type: "Personal" | "Work" | "Other";
297
+ isPrimary: boolean;
298
+ }, {
299
+ value: string;
300
+ type: "Personal" | "Work" | "Other";
301
+ isPrimary: boolean;
302
+ }>>>;
303
+ phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
+ value: z.ZodString;
305
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
306
+ isPrimary: z.ZodBoolean;
307
+ }, "strip", z.ZodTypeAny, {
308
+ value: string;
309
+ type: "Personal" | "Work" | "Other";
310
+ isPrimary: boolean;
311
+ }, {
312
+ value: string;
313
+ type: "Personal" | "Work" | "Other";
314
+ isPrimary: boolean;
315
+ }>, "many">>;
316
+ socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
317
+ url: z.ZodString;
318
+ type: z.ZodString;
319
+ }, "strip", z.ZodTypeAny, {
320
+ type: string;
321
+ url: string;
322
+ }, {
323
+ type: string;
324
+ url: string;
325
+ }>, "many">>;
326
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
327
+ id: z.ZodString;
328
+ title: z.ZodString;
329
+ isArchived: z.ZodOptional<z.ZodBoolean>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ title: string;
332
+ id: string;
333
+ isArchived?: boolean | undefined;
334
+ }, {
335
+ title: string;
336
+ id: string;
337
+ isArchived?: boolean | undefined;
338
+ }>, "many">>;
339
+ position: z.ZodNullable<z.ZodOptional<z.ZodString>>;
340
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
341
+ school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
342
+ applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
343
+ resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{
344
+ id: z.ZodString;
345
+ name: z.ZodString;
346
+ handle: z.ZodString;
347
+ }, "strip", z.ZodTypeAny, {
348
+ id: string;
349
+ name: string;
350
+ handle: string;
351
+ }, {
352
+ id: string;
353
+ name: string;
354
+ handle: string;
355
+ }>>>;
356
+ fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
357
+ id: z.ZodString;
358
+ name: z.ZodString;
359
+ handle: z.ZodString;
360
+ }, "strip", z.ZodTypeAny, {
361
+ id: string;
362
+ name: string;
363
+ handle: string;
364
+ }, {
365
+ id: string;
366
+ name: string;
367
+ handle: string;
368
+ }>, "many">>;
369
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
370
+ id: z.ZodString;
371
+ title: z.ZodString;
372
+ value: z.ZodUnknown;
373
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
374
+ }, "strip", z.ZodTypeAny, {
375
+ title: string;
376
+ id: string;
377
+ value?: unknown;
378
+ isPrivate?: boolean | undefined;
379
+ }, {
380
+ title: string;
381
+ id: string;
382
+ value?: unknown;
383
+ isPrivate?: boolean | undefined;
384
+ }>, "many">>;
385
+ }, "strip", z.ZodTypeAny, {
386
+ id: string;
387
+ name: string;
388
+ createdAt?: string | undefined;
389
+ updatedAt?: string | undefined;
390
+ primaryEmailAddress?: {
391
+ value: string;
392
+ type: "Personal" | "Work" | "Other";
393
+ isPrimary: boolean;
394
+ } | null | undefined;
395
+ primaryPhoneNumber?: {
396
+ value: string;
397
+ type: "Personal" | "Work" | "Other";
398
+ isPrimary: boolean;
399
+ } | null | undefined;
400
+ customFields?: {
401
+ title: string;
402
+ id: string;
403
+ value?: unknown;
404
+ isPrivate?: boolean | undefined;
405
+ }[] | undefined;
406
+ emailAddresses?: {
407
+ value: string;
408
+ type: "Personal" | "Work" | "Other";
409
+ isPrimary: boolean;
410
+ }[] | undefined;
411
+ phoneNumbers?: {
412
+ value: string;
413
+ type: "Personal" | "Work" | "Other";
414
+ isPrimary: boolean;
415
+ }[] | undefined;
416
+ socialLinks?: {
417
+ type: string;
418
+ url: string;
419
+ }[] | undefined;
420
+ tags?: {
421
+ title: string;
422
+ id: string;
423
+ isArchived?: boolean | undefined;
424
+ }[] | undefined;
425
+ position?: string | null | undefined;
426
+ company?: string | null | undefined;
427
+ school?: string | null | undefined;
428
+ applicationIds?: string[] | undefined;
429
+ resumeFileHandle?: {
430
+ id: string;
431
+ name: string;
432
+ handle: string;
433
+ } | null | undefined;
434
+ fileHandles?: {
435
+ id: string;
436
+ name: string;
437
+ handle: string;
438
+ }[] | undefined;
439
+ }, {
440
+ id: string;
441
+ name: string;
442
+ createdAt?: string | undefined;
443
+ updatedAt?: string | undefined;
444
+ primaryEmailAddress?: {
445
+ value: string;
446
+ type: "Personal" | "Work" | "Other";
447
+ isPrimary: boolean;
448
+ } | null | undefined;
449
+ primaryPhoneNumber?: {
450
+ value: string;
451
+ type: "Personal" | "Work" | "Other";
452
+ isPrimary: boolean;
453
+ } | null | undefined;
454
+ customFields?: {
455
+ title: string;
456
+ id: string;
457
+ value?: unknown;
458
+ isPrivate?: boolean | undefined;
459
+ }[] | undefined;
460
+ emailAddresses?: {
461
+ value: string;
462
+ type: "Personal" | "Work" | "Other";
463
+ isPrimary: boolean;
464
+ }[] | undefined;
465
+ phoneNumbers?: {
466
+ value: string;
467
+ type: "Personal" | "Work" | "Other";
468
+ isPrimary: boolean;
469
+ }[] | undefined;
470
+ socialLinks?: {
471
+ type: string;
472
+ url: string;
473
+ }[] | undefined;
474
+ tags?: {
475
+ title: string;
476
+ id: string;
477
+ isArchived?: boolean | undefined;
478
+ }[] | undefined;
479
+ position?: string | null | undefined;
480
+ company?: string | null | undefined;
481
+ school?: string | null | undefined;
482
+ applicationIds?: string[] | undefined;
483
+ resumeFileHandle?: {
484
+ id: string;
485
+ name: string;
486
+ handle: string;
487
+ } | null | undefined;
488
+ fileHandles?: {
489
+ id: string;
490
+ name: string;
491
+ handle: string;
492
+ }[] | undefined;
493
+ }>;
494
+ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
495
+ operation: z.ZodLiteral<"list_candidates">;
496
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
497
+ cursor: z.ZodOptional<z.ZodString>;
498
+ status: z.ZodOptional<z.ZodEnum<["Hired", "Archived", "Active", "Lead"]>>;
499
+ job_id: z.ZodOptional<z.ZodString>;
500
+ created_after: z.ZodOptional<z.ZodNumber>;
501
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ operation: "list_candidates";
504
+ limit: number;
505
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
506
+ cursor?: string | undefined;
507
+ job_id?: string | undefined;
508
+ created_after?: number | undefined;
509
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
510
+ }, {
511
+ operation: "list_candidates";
512
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
513
+ limit?: number | undefined;
514
+ cursor?: string | undefined;
515
+ job_id?: string | undefined;
516
+ created_after?: number | undefined;
517
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
518
+ }>, z.ZodObject<{
519
+ operation: z.ZodLiteral<"get_candidate">;
520
+ candidate_id: z.ZodString;
521
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ operation: "get_candidate";
524
+ candidate_id: string;
525
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
526
+ }, {
527
+ operation: "get_candidate";
528
+ candidate_id: string;
529
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
530
+ }>, z.ZodObject<{
531
+ operation: z.ZodLiteral<"create_candidate">;
532
+ name: z.ZodString;
533
+ email: z.ZodOptional<z.ZodString>;
534
+ phone_number: z.ZodOptional<z.ZodString>;
535
+ linkedin_url: z.ZodOptional<z.ZodString>;
536
+ github_url: z.ZodOptional<z.ZodString>;
537
+ website: z.ZodOptional<z.ZodString>;
538
+ source_id: z.ZodOptional<z.ZodString>;
539
+ credited_to_user_id: z.ZodOptional<z.ZodString>;
540
+ tag: z.ZodOptional<z.ZodString>;
541
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
542
+ }, "strip", z.ZodTypeAny, {
543
+ name: string;
544
+ operation: "create_candidate";
545
+ email?: string | undefined;
546
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
547
+ phone_number?: string | undefined;
548
+ linkedin_url?: string | undefined;
549
+ github_url?: string | undefined;
550
+ website?: string | undefined;
551
+ source_id?: string | undefined;
552
+ credited_to_user_id?: string | undefined;
553
+ tag?: string | undefined;
554
+ }, {
555
+ name: string;
556
+ operation: "create_candidate";
557
+ email?: string | undefined;
558
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
559
+ phone_number?: string | undefined;
560
+ linkedin_url?: string | undefined;
561
+ github_url?: string | undefined;
562
+ website?: string | undefined;
563
+ source_id?: string | undefined;
564
+ credited_to_user_id?: string | undefined;
565
+ tag?: string | undefined;
566
+ }>, z.ZodObject<{
567
+ operation: z.ZodLiteral<"search_candidates">;
568
+ email: z.ZodOptional<z.ZodString>;
569
+ name: z.ZodOptional<z.ZodString>;
570
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
571
+ }, "strip", z.ZodTypeAny, {
572
+ operation: "search_candidates";
573
+ name?: string | undefined;
574
+ email?: string | undefined;
575
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
576
+ }, {
577
+ operation: "search_candidates";
578
+ name?: string | undefined;
579
+ email?: string | undefined;
580
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
581
+ }>, z.ZodObject<{
582
+ operation: z.ZodLiteral<"add_tag">;
583
+ candidate_id: z.ZodString;
584
+ tag_id: z.ZodString;
585
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ operation: "add_tag";
588
+ candidate_id: string;
589
+ tag_id: string;
590
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
591
+ }, {
592
+ operation: "add_tag";
593
+ candidate_id: string;
594
+ tag_id: string;
595
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
596
+ }>, z.ZodObject<{
597
+ operation: z.ZodLiteral<"list_tags">;
598
+ include_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
599
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
600
+ }, "strip", z.ZodTypeAny, {
601
+ operation: "list_tags";
602
+ include_archived: boolean;
603
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
604
+ }, {
605
+ operation: "list_tags";
606
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
607
+ include_archived?: boolean | undefined;
608
+ }>, z.ZodObject<{
609
+ operation: z.ZodLiteral<"create_tag">;
610
+ title: z.ZodString;
611
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ title: string;
614
+ operation: "create_tag";
615
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
616
+ }, {
617
+ title: string;
618
+ operation: "create_tag";
619
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
620
+ }>, z.ZodObject<{
621
+ operation: z.ZodLiteral<"list_custom_fields">;
622
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
623
+ cursor: z.ZodOptional<z.ZodString>;
624
+ sync_token: z.ZodOptional<z.ZodString>;
625
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
626
+ }, "strip", z.ZodTypeAny, {
627
+ operation: "list_custom_fields";
628
+ limit: number;
629
+ cursor?: string | undefined;
630
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
631
+ sync_token?: string | undefined;
632
+ }, {
633
+ operation: "list_custom_fields";
634
+ limit?: number | undefined;
635
+ cursor?: string | undefined;
636
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
637
+ sync_token?: string | undefined;
638
+ }>]>;
639
+ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
640
+ operation: z.ZodLiteral<"list_candidates">;
641
+ success: z.ZodBoolean;
642
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
643
+ id: z.ZodString;
644
+ createdAt: z.ZodOptional<z.ZodString>;
645
+ updatedAt: z.ZodOptional<z.ZodString>;
646
+ name: z.ZodString;
647
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
648
+ value: z.ZodString;
649
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
650
+ isPrimary: z.ZodBoolean;
651
+ }, "strip", z.ZodTypeAny, {
652
+ value: string;
653
+ type: "Personal" | "Work" | "Other";
654
+ isPrimary: boolean;
655
+ }, {
656
+ value: string;
657
+ type: "Personal" | "Work" | "Other";
658
+ isPrimary: boolean;
659
+ }>>>;
660
+ emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
661
+ value: z.ZodString;
662
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
663
+ isPrimary: z.ZodBoolean;
664
+ }, "strip", z.ZodTypeAny, {
665
+ value: string;
666
+ type: "Personal" | "Work" | "Other";
667
+ isPrimary: boolean;
668
+ }, {
669
+ value: string;
670
+ type: "Personal" | "Work" | "Other";
671
+ isPrimary: boolean;
672
+ }>, "many">>;
673
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
674
+ value: z.ZodString;
675
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
676
+ isPrimary: z.ZodBoolean;
677
+ }, "strip", z.ZodTypeAny, {
678
+ value: string;
679
+ type: "Personal" | "Work" | "Other";
680
+ isPrimary: boolean;
681
+ }, {
682
+ value: string;
683
+ type: "Personal" | "Work" | "Other";
684
+ isPrimary: boolean;
685
+ }>>>;
686
+ phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
687
+ value: z.ZodString;
688
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
689
+ isPrimary: z.ZodBoolean;
690
+ }, "strip", z.ZodTypeAny, {
691
+ value: string;
692
+ type: "Personal" | "Work" | "Other";
693
+ isPrimary: boolean;
694
+ }, {
695
+ value: string;
696
+ type: "Personal" | "Work" | "Other";
697
+ isPrimary: boolean;
698
+ }>, "many">>;
699
+ socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
700
+ url: z.ZodString;
701
+ type: z.ZodString;
702
+ }, "strip", z.ZodTypeAny, {
703
+ type: string;
704
+ url: string;
705
+ }, {
706
+ type: string;
707
+ url: string;
708
+ }>, "many">>;
709
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
710
+ id: z.ZodString;
711
+ title: z.ZodString;
712
+ isArchived: z.ZodOptional<z.ZodBoolean>;
713
+ }, "strip", z.ZodTypeAny, {
714
+ title: string;
715
+ id: string;
716
+ isArchived?: boolean | undefined;
717
+ }, {
718
+ title: string;
719
+ id: string;
720
+ isArchived?: boolean | undefined;
721
+ }>, "many">>;
722
+ position: z.ZodNullable<z.ZodOptional<z.ZodString>>;
723
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
724
+ school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
725
+ applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
726
+ resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{
727
+ id: z.ZodString;
728
+ name: z.ZodString;
729
+ handle: z.ZodString;
730
+ }, "strip", z.ZodTypeAny, {
731
+ id: string;
732
+ name: string;
733
+ handle: string;
734
+ }, {
735
+ id: string;
736
+ name: string;
737
+ handle: string;
738
+ }>>>;
739
+ fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
740
+ id: z.ZodString;
741
+ name: z.ZodString;
742
+ handle: z.ZodString;
743
+ }, "strip", z.ZodTypeAny, {
744
+ id: string;
745
+ name: string;
746
+ handle: string;
747
+ }, {
748
+ id: string;
749
+ name: string;
750
+ handle: string;
751
+ }>, "many">>;
752
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
753
+ id: z.ZodString;
754
+ title: z.ZodString;
755
+ value: z.ZodUnknown;
756
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ title: string;
759
+ id: string;
760
+ value?: unknown;
761
+ isPrivate?: boolean | undefined;
762
+ }, {
763
+ title: string;
764
+ id: string;
765
+ value?: unknown;
766
+ isPrivate?: boolean | undefined;
767
+ }>, "many">>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ id: string;
770
+ name: string;
771
+ createdAt?: string | undefined;
772
+ updatedAt?: string | undefined;
773
+ primaryEmailAddress?: {
774
+ value: string;
775
+ type: "Personal" | "Work" | "Other";
776
+ isPrimary: boolean;
777
+ } | null | undefined;
778
+ primaryPhoneNumber?: {
779
+ value: string;
780
+ type: "Personal" | "Work" | "Other";
781
+ isPrimary: boolean;
782
+ } | null | undefined;
783
+ customFields?: {
784
+ title: string;
785
+ id: string;
786
+ value?: unknown;
787
+ isPrivate?: boolean | undefined;
788
+ }[] | undefined;
789
+ emailAddresses?: {
790
+ value: string;
791
+ type: "Personal" | "Work" | "Other";
792
+ isPrimary: boolean;
793
+ }[] | undefined;
794
+ phoneNumbers?: {
795
+ value: string;
796
+ type: "Personal" | "Work" | "Other";
797
+ isPrimary: boolean;
798
+ }[] | undefined;
799
+ socialLinks?: {
800
+ type: string;
801
+ url: string;
802
+ }[] | undefined;
803
+ tags?: {
804
+ title: string;
805
+ id: string;
806
+ isArchived?: boolean | undefined;
807
+ }[] | undefined;
808
+ position?: string | null | undefined;
809
+ company?: string | null | undefined;
810
+ school?: string | null | undefined;
811
+ applicationIds?: string[] | undefined;
812
+ resumeFileHandle?: {
813
+ id: string;
814
+ name: string;
815
+ handle: string;
816
+ } | null | undefined;
817
+ fileHandles?: {
818
+ id: string;
819
+ name: string;
820
+ handle: string;
821
+ }[] | undefined;
822
+ }, {
823
+ id: string;
824
+ name: string;
825
+ createdAt?: string | undefined;
826
+ updatedAt?: string | undefined;
827
+ primaryEmailAddress?: {
828
+ value: string;
829
+ type: "Personal" | "Work" | "Other";
830
+ isPrimary: boolean;
831
+ } | null | undefined;
832
+ primaryPhoneNumber?: {
833
+ value: string;
834
+ type: "Personal" | "Work" | "Other";
835
+ isPrimary: boolean;
836
+ } | null | undefined;
837
+ customFields?: {
838
+ title: string;
839
+ id: string;
840
+ value?: unknown;
841
+ isPrivate?: boolean | undefined;
842
+ }[] | undefined;
843
+ emailAddresses?: {
844
+ value: string;
845
+ type: "Personal" | "Work" | "Other";
846
+ isPrimary: boolean;
847
+ }[] | undefined;
848
+ phoneNumbers?: {
849
+ value: string;
850
+ type: "Personal" | "Work" | "Other";
851
+ isPrimary: boolean;
852
+ }[] | undefined;
853
+ socialLinks?: {
854
+ type: string;
855
+ url: string;
856
+ }[] | undefined;
857
+ tags?: {
858
+ title: string;
859
+ id: string;
860
+ isArchived?: boolean | undefined;
861
+ }[] | undefined;
862
+ position?: string | null | undefined;
863
+ company?: string | null | undefined;
864
+ school?: string | null | undefined;
865
+ applicationIds?: string[] | undefined;
866
+ resumeFileHandle?: {
867
+ id: string;
868
+ name: string;
869
+ handle: string;
870
+ } | null | undefined;
871
+ fileHandles?: {
872
+ id: string;
873
+ name: string;
874
+ handle: string;
875
+ }[] | undefined;
876
+ }>, "many">>;
877
+ next_cursor: z.ZodOptional<z.ZodString>;
878
+ more_data_available: z.ZodOptional<z.ZodBoolean>;
879
+ sync_token: z.ZodOptional<z.ZodString>;
880
+ error: z.ZodString;
881
+ }, "strip", z.ZodTypeAny, {
882
+ operation: "list_candidates";
883
+ success: boolean;
884
+ error: string;
885
+ sync_token?: string | undefined;
886
+ candidates?: {
887
+ id: string;
888
+ name: string;
889
+ createdAt?: string | undefined;
890
+ updatedAt?: string | undefined;
891
+ primaryEmailAddress?: {
892
+ value: string;
893
+ type: "Personal" | "Work" | "Other";
894
+ isPrimary: boolean;
895
+ } | null | undefined;
896
+ primaryPhoneNumber?: {
897
+ value: string;
898
+ type: "Personal" | "Work" | "Other";
899
+ isPrimary: boolean;
900
+ } | null | undefined;
901
+ customFields?: {
902
+ title: string;
903
+ id: string;
904
+ value?: unknown;
905
+ isPrivate?: boolean | undefined;
906
+ }[] | undefined;
907
+ emailAddresses?: {
908
+ value: string;
909
+ type: "Personal" | "Work" | "Other";
910
+ isPrimary: boolean;
911
+ }[] | undefined;
912
+ phoneNumbers?: {
913
+ value: string;
914
+ type: "Personal" | "Work" | "Other";
915
+ isPrimary: boolean;
916
+ }[] | undefined;
917
+ socialLinks?: {
918
+ type: string;
919
+ url: string;
920
+ }[] | undefined;
921
+ tags?: {
922
+ title: string;
923
+ id: string;
924
+ isArchived?: boolean | undefined;
925
+ }[] | undefined;
926
+ position?: string | null | undefined;
927
+ company?: string | null | undefined;
928
+ school?: string | null | undefined;
929
+ applicationIds?: string[] | undefined;
930
+ resumeFileHandle?: {
931
+ id: string;
932
+ name: string;
933
+ handle: string;
934
+ } | null | undefined;
935
+ fileHandles?: {
936
+ id: string;
937
+ name: string;
938
+ handle: string;
939
+ }[] | undefined;
940
+ }[] | undefined;
941
+ next_cursor?: string | undefined;
942
+ more_data_available?: boolean | undefined;
943
+ }, {
944
+ operation: "list_candidates";
945
+ success: boolean;
946
+ error: string;
947
+ sync_token?: string | undefined;
948
+ candidates?: {
949
+ id: string;
950
+ name: string;
951
+ createdAt?: string | undefined;
952
+ updatedAt?: string | undefined;
953
+ primaryEmailAddress?: {
954
+ value: string;
955
+ type: "Personal" | "Work" | "Other";
956
+ isPrimary: boolean;
957
+ } | null | undefined;
958
+ primaryPhoneNumber?: {
959
+ value: string;
960
+ type: "Personal" | "Work" | "Other";
961
+ isPrimary: boolean;
962
+ } | null | undefined;
963
+ customFields?: {
964
+ title: string;
965
+ id: string;
966
+ value?: unknown;
967
+ isPrivate?: boolean | undefined;
968
+ }[] | undefined;
969
+ emailAddresses?: {
970
+ value: string;
971
+ type: "Personal" | "Work" | "Other";
972
+ isPrimary: boolean;
973
+ }[] | undefined;
974
+ phoneNumbers?: {
975
+ value: string;
976
+ type: "Personal" | "Work" | "Other";
977
+ isPrimary: boolean;
978
+ }[] | undefined;
979
+ socialLinks?: {
980
+ type: string;
981
+ url: string;
982
+ }[] | undefined;
983
+ tags?: {
984
+ title: string;
985
+ id: string;
986
+ isArchived?: boolean | undefined;
987
+ }[] | undefined;
988
+ position?: string | null | undefined;
989
+ company?: string | null | undefined;
990
+ school?: string | null | undefined;
991
+ applicationIds?: string[] | undefined;
992
+ resumeFileHandle?: {
993
+ id: string;
994
+ name: string;
995
+ handle: string;
996
+ } | null | undefined;
997
+ fileHandles?: {
998
+ id: string;
999
+ name: string;
1000
+ handle: string;
1001
+ }[] | undefined;
1002
+ }[] | undefined;
1003
+ next_cursor?: string | undefined;
1004
+ more_data_available?: boolean | undefined;
1005
+ }>, z.ZodObject<{
1006
+ operation: z.ZodLiteral<"get_candidate">;
1007
+ success: z.ZodBoolean;
1008
+ candidate: z.ZodOptional<z.ZodObject<{
1009
+ id: z.ZodString;
1010
+ createdAt: z.ZodOptional<z.ZodString>;
1011
+ updatedAt: z.ZodOptional<z.ZodString>;
1012
+ name: z.ZodString;
1013
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1014
+ value: z.ZodString;
1015
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1016
+ isPrimary: z.ZodBoolean;
1017
+ }, "strip", z.ZodTypeAny, {
1018
+ value: string;
1019
+ type: "Personal" | "Work" | "Other";
1020
+ isPrimary: boolean;
1021
+ }, {
1022
+ value: string;
1023
+ type: "Personal" | "Work" | "Other";
1024
+ isPrimary: boolean;
1025
+ }>>>;
1026
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1027
+ value: z.ZodString;
1028
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1029
+ isPrimary: z.ZodBoolean;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ value: string;
1032
+ type: "Personal" | "Work" | "Other";
1033
+ isPrimary: boolean;
1034
+ }, {
1035
+ value: string;
1036
+ type: "Personal" | "Work" | "Other";
1037
+ isPrimary: boolean;
1038
+ }>>>;
1039
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1040
+ id: z.ZodString;
1041
+ title: z.ZodString;
1042
+ value: z.ZodUnknown;
1043
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ title: string;
1046
+ id: string;
1047
+ value?: unknown;
1048
+ isPrivate?: boolean | undefined;
1049
+ }, {
1050
+ title: string;
1051
+ id: string;
1052
+ value?: unknown;
1053
+ isPrivate?: boolean | undefined;
1054
+ }>, "many">>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ id: string;
1057
+ name: string;
1058
+ createdAt?: string | undefined;
1059
+ updatedAt?: string | undefined;
1060
+ primaryEmailAddress?: {
1061
+ value: string;
1062
+ type: "Personal" | "Work" | "Other";
1063
+ isPrimary: boolean;
1064
+ } | null | undefined;
1065
+ primaryPhoneNumber?: {
1066
+ value: string;
1067
+ type: "Personal" | "Work" | "Other";
1068
+ isPrimary: boolean;
1069
+ } | null | undefined;
1070
+ customFields?: {
1071
+ title: string;
1072
+ id: string;
1073
+ value?: unknown;
1074
+ isPrivate?: boolean | undefined;
1075
+ }[] | undefined;
1076
+ }, {
1077
+ id: string;
1078
+ name: string;
1079
+ createdAt?: string | undefined;
1080
+ updatedAt?: string | undefined;
1081
+ primaryEmailAddress?: {
1082
+ value: string;
1083
+ type: "Personal" | "Work" | "Other";
1084
+ isPrimary: boolean;
1085
+ } | null | undefined;
1086
+ primaryPhoneNumber?: {
1087
+ value: string;
1088
+ type: "Personal" | "Work" | "Other";
1089
+ isPrimary: boolean;
1090
+ } | null | undefined;
1091
+ customFields?: {
1092
+ title: string;
1093
+ id: string;
1094
+ value?: unknown;
1095
+ isPrivate?: boolean | undefined;
1096
+ }[] | undefined;
1097
+ }>>;
1098
+ error: z.ZodString;
1099
+ }, "strip", z.ZodTypeAny, {
1100
+ operation: "get_candidate";
1101
+ success: boolean;
1102
+ error: string;
1103
+ candidate?: {
1104
+ id: string;
1105
+ name: string;
1106
+ createdAt?: string | undefined;
1107
+ updatedAt?: string | undefined;
1108
+ primaryEmailAddress?: {
1109
+ value: string;
1110
+ type: "Personal" | "Work" | "Other";
1111
+ isPrimary: boolean;
1112
+ } | null | undefined;
1113
+ primaryPhoneNumber?: {
1114
+ value: string;
1115
+ type: "Personal" | "Work" | "Other";
1116
+ isPrimary: boolean;
1117
+ } | null | undefined;
1118
+ customFields?: {
1119
+ title: string;
1120
+ id: string;
1121
+ value?: unknown;
1122
+ isPrivate?: boolean | undefined;
1123
+ }[] | undefined;
1124
+ } | undefined;
1125
+ }, {
1126
+ operation: "get_candidate";
1127
+ success: boolean;
1128
+ error: string;
1129
+ candidate?: {
1130
+ id: string;
1131
+ name: string;
1132
+ createdAt?: string | undefined;
1133
+ updatedAt?: string | undefined;
1134
+ primaryEmailAddress?: {
1135
+ value: string;
1136
+ type: "Personal" | "Work" | "Other";
1137
+ isPrimary: boolean;
1138
+ } | null | undefined;
1139
+ primaryPhoneNumber?: {
1140
+ value: string;
1141
+ type: "Personal" | "Work" | "Other";
1142
+ isPrimary: boolean;
1143
+ } | null | undefined;
1144
+ customFields?: {
1145
+ title: string;
1146
+ id: string;
1147
+ value?: unknown;
1148
+ isPrivate?: boolean | undefined;
1149
+ }[] | undefined;
1150
+ } | undefined;
1151
+ }>, z.ZodObject<{
1152
+ operation: z.ZodLiteral<"create_candidate">;
1153
+ success: z.ZodBoolean;
1154
+ candidate: z.ZodOptional<z.ZodObject<{
1155
+ id: z.ZodString;
1156
+ createdAt: z.ZodOptional<z.ZodString>;
1157
+ updatedAt: z.ZodOptional<z.ZodString>;
1158
+ name: z.ZodString;
1159
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1160
+ value: z.ZodString;
1161
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1162
+ isPrimary: z.ZodBoolean;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ value: string;
1165
+ type: "Personal" | "Work" | "Other";
1166
+ isPrimary: boolean;
1167
+ }, {
1168
+ value: string;
1169
+ type: "Personal" | "Work" | "Other";
1170
+ isPrimary: boolean;
1171
+ }>>>;
1172
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1173
+ value: z.ZodString;
1174
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1175
+ isPrimary: z.ZodBoolean;
1176
+ }, "strip", z.ZodTypeAny, {
1177
+ value: string;
1178
+ type: "Personal" | "Work" | "Other";
1179
+ isPrimary: boolean;
1180
+ }, {
1181
+ value: string;
1182
+ type: "Personal" | "Work" | "Other";
1183
+ isPrimary: boolean;
1184
+ }>>>;
1185
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1186
+ id: z.ZodString;
1187
+ title: z.ZodString;
1188
+ value: z.ZodUnknown;
1189
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ title: string;
1192
+ id: string;
1193
+ value?: unknown;
1194
+ isPrivate?: boolean | undefined;
1195
+ }, {
1196
+ title: string;
1197
+ id: string;
1198
+ value?: unknown;
1199
+ isPrivate?: boolean | undefined;
1200
+ }>, "many">>;
1201
+ }, "strip", z.ZodTypeAny, {
1202
+ id: string;
1203
+ name: string;
1204
+ createdAt?: string | undefined;
1205
+ updatedAt?: string | undefined;
1206
+ primaryEmailAddress?: {
1207
+ value: string;
1208
+ type: "Personal" | "Work" | "Other";
1209
+ isPrimary: boolean;
1210
+ } | null | undefined;
1211
+ primaryPhoneNumber?: {
1212
+ value: string;
1213
+ type: "Personal" | "Work" | "Other";
1214
+ isPrimary: boolean;
1215
+ } | null | undefined;
1216
+ customFields?: {
1217
+ title: string;
1218
+ id: string;
1219
+ value?: unknown;
1220
+ isPrivate?: boolean | undefined;
1221
+ }[] | undefined;
1222
+ }, {
1223
+ id: string;
1224
+ name: string;
1225
+ createdAt?: string | undefined;
1226
+ updatedAt?: string | undefined;
1227
+ primaryEmailAddress?: {
1228
+ value: string;
1229
+ type: "Personal" | "Work" | "Other";
1230
+ isPrimary: boolean;
1231
+ } | null | undefined;
1232
+ primaryPhoneNumber?: {
1233
+ value: string;
1234
+ type: "Personal" | "Work" | "Other";
1235
+ isPrimary: boolean;
1236
+ } | null | undefined;
1237
+ customFields?: {
1238
+ title: string;
1239
+ id: string;
1240
+ value?: unknown;
1241
+ isPrivate?: boolean | undefined;
1242
+ }[] | undefined;
1243
+ }>>;
1244
+ error: z.ZodString;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ operation: "create_candidate";
1247
+ success: boolean;
1248
+ error: string;
1249
+ candidate?: {
1250
+ id: string;
1251
+ name: string;
1252
+ createdAt?: string | undefined;
1253
+ updatedAt?: string | undefined;
1254
+ primaryEmailAddress?: {
1255
+ value: string;
1256
+ type: "Personal" | "Work" | "Other";
1257
+ isPrimary: boolean;
1258
+ } | null | undefined;
1259
+ primaryPhoneNumber?: {
1260
+ value: string;
1261
+ type: "Personal" | "Work" | "Other";
1262
+ isPrimary: boolean;
1263
+ } | null | undefined;
1264
+ customFields?: {
1265
+ title: string;
1266
+ id: string;
1267
+ value?: unknown;
1268
+ isPrivate?: boolean | undefined;
1269
+ }[] | undefined;
1270
+ } | undefined;
1271
+ }, {
1272
+ operation: "create_candidate";
1273
+ success: boolean;
1274
+ error: string;
1275
+ candidate?: {
1276
+ id: string;
1277
+ name: string;
1278
+ createdAt?: string | undefined;
1279
+ updatedAt?: string | undefined;
1280
+ primaryEmailAddress?: {
1281
+ value: string;
1282
+ type: "Personal" | "Work" | "Other";
1283
+ isPrimary: boolean;
1284
+ } | null | undefined;
1285
+ primaryPhoneNumber?: {
1286
+ value: string;
1287
+ type: "Personal" | "Work" | "Other";
1288
+ isPrimary: boolean;
1289
+ } | null | undefined;
1290
+ customFields?: {
1291
+ title: string;
1292
+ id: string;
1293
+ value?: unknown;
1294
+ isPrivate?: boolean | undefined;
1295
+ }[] | undefined;
1296
+ } | undefined;
1297
+ }>, z.ZodObject<{
1298
+ operation: z.ZodLiteral<"search_candidates">;
1299
+ success: z.ZodBoolean;
1300
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1301
+ id: z.ZodString;
1302
+ createdAt: z.ZodOptional<z.ZodString>;
1303
+ updatedAt: z.ZodOptional<z.ZodString>;
1304
+ name: z.ZodString;
1305
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1306
+ value: z.ZodString;
1307
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1308
+ isPrimary: z.ZodBoolean;
1309
+ }, "strip", z.ZodTypeAny, {
1310
+ value: string;
1311
+ type: "Personal" | "Work" | "Other";
1312
+ isPrimary: boolean;
1313
+ }, {
1314
+ value: string;
1315
+ type: "Personal" | "Work" | "Other";
1316
+ isPrimary: boolean;
1317
+ }>>>;
1318
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1319
+ value: z.ZodString;
1320
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1321
+ isPrimary: z.ZodBoolean;
1322
+ }, "strip", z.ZodTypeAny, {
1323
+ value: string;
1324
+ type: "Personal" | "Work" | "Other";
1325
+ isPrimary: boolean;
1326
+ }, {
1327
+ value: string;
1328
+ type: "Personal" | "Work" | "Other";
1329
+ isPrimary: boolean;
1330
+ }>>>;
1331
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1332
+ id: z.ZodString;
1333
+ title: z.ZodString;
1334
+ value: z.ZodUnknown;
1335
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1336
+ }, "strip", z.ZodTypeAny, {
1337
+ title: string;
1338
+ id: string;
1339
+ value?: unknown;
1340
+ isPrivate?: boolean | undefined;
1341
+ }, {
1342
+ title: string;
1343
+ id: string;
1344
+ value?: unknown;
1345
+ isPrivate?: boolean | undefined;
1346
+ }>, "many">>;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ id: string;
1349
+ name: string;
1350
+ createdAt?: string | undefined;
1351
+ updatedAt?: string | undefined;
1352
+ primaryEmailAddress?: {
1353
+ value: string;
1354
+ type: "Personal" | "Work" | "Other";
1355
+ isPrimary: boolean;
1356
+ } | null | undefined;
1357
+ primaryPhoneNumber?: {
1358
+ value: string;
1359
+ type: "Personal" | "Work" | "Other";
1360
+ isPrimary: boolean;
1361
+ } | null | undefined;
1362
+ customFields?: {
1363
+ title: string;
1364
+ id: string;
1365
+ value?: unknown;
1366
+ isPrivate?: boolean | undefined;
1367
+ }[] | undefined;
1368
+ }, {
1369
+ id: string;
1370
+ name: string;
1371
+ createdAt?: string | undefined;
1372
+ updatedAt?: string | undefined;
1373
+ primaryEmailAddress?: {
1374
+ value: string;
1375
+ type: "Personal" | "Work" | "Other";
1376
+ isPrimary: boolean;
1377
+ } | null | undefined;
1378
+ primaryPhoneNumber?: {
1379
+ value: string;
1380
+ type: "Personal" | "Work" | "Other";
1381
+ isPrimary: boolean;
1382
+ } | null | undefined;
1383
+ customFields?: {
1384
+ title: string;
1385
+ id: string;
1386
+ value?: unknown;
1387
+ isPrivate?: boolean | undefined;
1388
+ }[] | undefined;
1389
+ }>, "many">>;
1390
+ error: z.ZodString;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ operation: "search_candidates";
1393
+ success: boolean;
1394
+ error: string;
1395
+ candidates?: {
1396
+ id: string;
1397
+ name: string;
1398
+ createdAt?: string | undefined;
1399
+ updatedAt?: string | undefined;
1400
+ primaryEmailAddress?: {
1401
+ value: string;
1402
+ type: "Personal" | "Work" | "Other";
1403
+ isPrimary: boolean;
1404
+ } | null | undefined;
1405
+ primaryPhoneNumber?: {
1406
+ value: string;
1407
+ type: "Personal" | "Work" | "Other";
1408
+ isPrimary: boolean;
1409
+ } | null | undefined;
1410
+ customFields?: {
1411
+ title: string;
1412
+ id: string;
1413
+ value?: unknown;
1414
+ isPrivate?: boolean | undefined;
1415
+ }[] | undefined;
1416
+ }[] | undefined;
1417
+ }, {
1418
+ operation: "search_candidates";
1419
+ success: boolean;
1420
+ error: string;
1421
+ candidates?: {
1422
+ id: string;
1423
+ name: string;
1424
+ createdAt?: string | undefined;
1425
+ updatedAt?: string | undefined;
1426
+ primaryEmailAddress?: {
1427
+ value: string;
1428
+ type: "Personal" | "Work" | "Other";
1429
+ isPrimary: boolean;
1430
+ } | null | undefined;
1431
+ primaryPhoneNumber?: {
1432
+ value: string;
1433
+ type: "Personal" | "Work" | "Other";
1434
+ isPrimary: boolean;
1435
+ } | null | undefined;
1436
+ customFields?: {
1437
+ title: string;
1438
+ id: string;
1439
+ value?: unknown;
1440
+ isPrivate?: boolean | undefined;
1441
+ }[] | undefined;
1442
+ }[] | undefined;
1443
+ }>, z.ZodObject<{
1444
+ operation: z.ZodLiteral<"add_tag">;
1445
+ success: z.ZodBoolean;
1446
+ candidate: z.ZodOptional<z.ZodObject<{
1447
+ id: z.ZodString;
1448
+ createdAt: z.ZodOptional<z.ZodString>;
1449
+ updatedAt: z.ZodOptional<z.ZodString>;
1450
+ name: z.ZodString;
1451
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1452
+ value: z.ZodString;
1453
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1454
+ isPrimary: z.ZodBoolean;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ value: string;
1457
+ type: "Personal" | "Work" | "Other";
1458
+ isPrimary: boolean;
1459
+ }, {
1460
+ value: string;
1461
+ type: "Personal" | "Work" | "Other";
1462
+ isPrimary: boolean;
1463
+ }>>>;
1464
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1465
+ value: z.ZodString;
1466
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1467
+ isPrimary: z.ZodBoolean;
1468
+ }, "strip", z.ZodTypeAny, {
1469
+ value: string;
1470
+ type: "Personal" | "Work" | "Other";
1471
+ isPrimary: boolean;
1472
+ }, {
1473
+ value: string;
1474
+ type: "Personal" | "Work" | "Other";
1475
+ isPrimary: boolean;
1476
+ }>>>;
1477
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1478
+ id: z.ZodString;
1479
+ title: z.ZodString;
1480
+ value: z.ZodUnknown;
1481
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1482
+ }, "strip", z.ZodTypeAny, {
1483
+ title: string;
1484
+ id: string;
1485
+ value?: unknown;
1486
+ isPrivate?: boolean | undefined;
1487
+ }, {
1488
+ title: string;
1489
+ id: string;
1490
+ value?: unknown;
1491
+ isPrivate?: boolean | undefined;
1492
+ }>, "many">>;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ id: string;
1495
+ name: string;
1496
+ createdAt?: string | undefined;
1497
+ updatedAt?: string | undefined;
1498
+ primaryEmailAddress?: {
1499
+ value: string;
1500
+ type: "Personal" | "Work" | "Other";
1501
+ isPrimary: boolean;
1502
+ } | null | undefined;
1503
+ primaryPhoneNumber?: {
1504
+ value: string;
1505
+ type: "Personal" | "Work" | "Other";
1506
+ isPrimary: boolean;
1507
+ } | null | undefined;
1508
+ customFields?: {
1509
+ title: string;
1510
+ id: string;
1511
+ value?: unknown;
1512
+ isPrivate?: boolean | undefined;
1513
+ }[] | undefined;
1514
+ }, {
1515
+ id: string;
1516
+ name: string;
1517
+ createdAt?: string | undefined;
1518
+ updatedAt?: string | undefined;
1519
+ primaryEmailAddress?: {
1520
+ value: string;
1521
+ type: "Personal" | "Work" | "Other";
1522
+ isPrimary: boolean;
1523
+ } | null | undefined;
1524
+ primaryPhoneNumber?: {
1525
+ value: string;
1526
+ type: "Personal" | "Work" | "Other";
1527
+ isPrimary: boolean;
1528
+ } | null | undefined;
1529
+ customFields?: {
1530
+ title: string;
1531
+ id: string;
1532
+ value?: unknown;
1533
+ isPrivate?: boolean | undefined;
1534
+ }[] | undefined;
1535
+ }>>;
1536
+ error: z.ZodString;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ operation: "add_tag";
1539
+ success: boolean;
1540
+ error: string;
1541
+ candidate?: {
1542
+ id: string;
1543
+ name: string;
1544
+ createdAt?: string | undefined;
1545
+ updatedAt?: string | undefined;
1546
+ primaryEmailAddress?: {
1547
+ value: string;
1548
+ type: "Personal" | "Work" | "Other";
1549
+ isPrimary: boolean;
1550
+ } | null | undefined;
1551
+ primaryPhoneNumber?: {
1552
+ value: string;
1553
+ type: "Personal" | "Work" | "Other";
1554
+ isPrimary: boolean;
1555
+ } | null | undefined;
1556
+ customFields?: {
1557
+ title: string;
1558
+ id: string;
1559
+ value?: unknown;
1560
+ isPrivate?: boolean | undefined;
1561
+ }[] | undefined;
1562
+ } | undefined;
1563
+ }, {
1564
+ operation: "add_tag";
1565
+ success: boolean;
1566
+ error: string;
1567
+ candidate?: {
1568
+ id: string;
1569
+ name: string;
1570
+ createdAt?: string | undefined;
1571
+ updatedAt?: string | undefined;
1572
+ primaryEmailAddress?: {
1573
+ value: string;
1574
+ type: "Personal" | "Work" | "Other";
1575
+ isPrimary: boolean;
1576
+ } | null | undefined;
1577
+ primaryPhoneNumber?: {
1578
+ value: string;
1579
+ type: "Personal" | "Work" | "Other";
1580
+ isPrimary: boolean;
1581
+ } | null | undefined;
1582
+ customFields?: {
1583
+ title: string;
1584
+ id: string;
1585
+ value?: unknown;
1586
+ isPrivate?: boolean | undefined;
1587
+ }[] | undefined;
1588
+ } | undefined;
1589
+ }>, z.ZodObject<{
1590
+ operation: z.ZodLiteral<"list_tags">;
1591
+ success: z.ZodBoolean;
1592
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1593
+ id: z.ZodString;
1594
+ title: z.ZodString;
1595
+ isArchived: z.ZodOptional<z.ZodBoolean>;
1596
+ }, "strip", z.ZodTypeAny, {
1597
+ title: string;
1598
+ id: string;
1599
+ isArchived?: boolean | undefined;
1600
+ }, {
1601
+ title: string;
1602
+ id: string;
1603
+ isArchived?: boolean | undefined;
1604
+ }>, "many">>;
1605
+ error: z.ZodString;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ operation: "list_tags";
1608
+ success: boolean;
1609
+ error: string;
1610
+ tags?: {
1611
+ title: string;
1612
+ id: string;
1613
+ isArchived?: boolean | undefined;
1614
+ }[] | undefined;
1615
+ }, {
1616
+ operation: "list_tags";
1617
+ success: boolean;
1618
+ error: string;
1619
+ tags?: {
1620
+ title: string;
1621
+ id: string;
1622
+ isArchived?: boolean | undefined;
1623
+ }[] | undefined;
1624
+ }>, z.ZodObject<{
1625
+ operation: z.ZodLiteral<"create_tag">;
1626
+ success: z.ZodBoolean;
1627
+ tag: z.ZodOptional<z.ZodObject<{
1628
+ id: z.ZodString;
1629
+ title: z.ZodString;
1630
+ isArchived: z.ZodOptional<z.ZodBoolean>;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ title: string;
1633
+ id: string;
1634
+ isArchived?: boolean | undefined;
1635
+ }, {
1636
+ title: string;
1637
+ id: string;
1638
+ isArchived?: boolean | undefined;
1639
+ }>>;
1640
+ error: z.ZodString;
1641
+ }, "strip", z.ZodTypeAny, {
1642
+ operation: "create_tag";
1643
+ success: boolean;
1644
+ error: string;
1645
+ tag?: {
1646
+ title: string;
1647
+ id: string;
1648
+ isArchived?: boolean | undefined;
1649
+ } | undefined;
1650
+ }, {
1651
+ operation: "create_tag";
1652
+ success: boolean;
1653
+ error: string;
1654
+ tag?: {
1655
+ title: string;
1656
+ id: string;
1657
+ isArchived?: boolean | undefined;
1658
+ } | undefined;
1659
+ }>, z.ZodObject<{
1660
+ operation: z.ZodLiteral<"list_custom_fields">;
1661
+ success: z.ZodBoolean;
1662
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1663
+ id: z.ZodString;
1664
+ isPrivate: z.ZodBoolean;
1665
+ title: z.ZodString;
1666
+ objectType: z.ZodString;
1667
+ isArchived: z.ZodBoolean;
1668
+ fieldType: z.ZodString;
1669
+ selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1670
+ label: z.ZodString;
1671
+ value: z.ZodString;
1672
+ isArchived: z.ZodBoolean;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ value: string;
1675
+ isArchived: boolean;
1676
+ label: string;
1677
+ }, {
1678
+ value: string;
1679
+ isArchived: boolean;
1680
+ label: string;
1681
+ }>, "many">>;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ title: string;
1684
+ id: string;
1685
+ isPrivate: boolean;
1686
+ isArchived: boolean;
1687
+ objectType: string;
1688
+ fieldType: string;
1689
+ selectableValues?: {
1690
+ value: string;
1691
+ isArchived: boolean;
1692
+ label: string;
1693
+ }[] | undefined;
1694
+ }, {
1695
+ title: string;
1696
+ id: string;
1697
+ isPrivate: boolean;
1698
+ isArchived: boolean;
1699
+ objectType: string;
1700
+ fieldType: string;
1701
+ selectableValues?: {
1702
+ value: string;
1703
+ isArchived: boolean;
1704
+ label: string;
1705
+ }[] | undefined;
1706
+ }>, "many">>;
1707
+ next_cursor: z.ZodOptional<z.ZodString>;
1708
+ more_data_available: z.ZodOptional<z.ZodBoolean>;
1709
+ sync_token: z.ZodOptional<z.ZodString>;
1710
+ error: z.ZodString;
1711
+ }, "strip", z.ZodTypeAny, {
1712
+ operation: "list_custom_fields";
1713
+ success: boolean;
1714
+ error: string;
1715
+ sync_token?: string | undefined;
1716
+ next_cursor?: string | undefined;
1717
+ more_data_available?: boolean | undefined;
1718
+ custom_fields?: {
1719
+ title: string;
1720
+ id: string;
1721
+ isPrivate: boolean;
1722
+ isArchived: boolean;
1723
+ objectType: string;
1724
+ fieldType: string;
1725
+ selectableValues?: {
1726
+ value: string;
1727
+ isArchived: boolean;
1728
+ label: string;
1729
+ }[] | undefined;
1730
+ }[] | undefined;
1731
+ }, {
1732
+ operation: "list_custom_fields";
1733
+ success: boolean;
1734
+ error: string;
1735
+ sync_token?: string | undefined;
1736
+ next_cursor?: string | undefined;
1737
+ more_data_available?: boolean | undefined;
1738
+ custom_fields?: {
1739
+ title: string;
1740
+ id: string;
1741
+ isPrivate: boolean;
1742
+ isArchived: boolean;
1743
+ objectType: string;
1744
+ fieldType: string;
1745
+ selectableValues?: {
1746
+ value: string;
1747
+ isArchived: boolean;
1748
+ label: string;
1749
+ }[] | undefined;
1750
+ }[] | undefined;
1751
+ }>]>;
1752
+ export type AshbyParamsInput = z.input<typeof AshbyParamsSchema>;
1753
+ export type AshbyParams = z.output<typeof AshbyParamsSchema>;
1754
+ export type AshbyResult = z.output<typeof AshbyResultSchema>;
1755
+ export type AshbyCandidate = z.output<typeof AshbyCandidateSchema>;
1756
+ export type AshbyEmail = z.output<typeof AshbyEmailSchema>;
1757
+ export type AshbyPhone = z.output<typeof AshbyPhoneSchema>;
1758
+ export type AshbyCustomField = z.output<typeof AshbyCustomFieldSchema>;
1759
+ export type AshbyCandidateListItem = z.output<typeof AshbyCandidateListItemSchema>;
1760
+ export type AshbySocialLink = z.output<typeof AshbySocialLinkSchema>;
1761
+ export type AshbyTag = z.output<typeof AshbyTagSchema>;
1762
+ export type AshbyFileHandle = z.output<typeof AshbyFileHandleSchema>;
1763
+ export type AshbySelectableValue = z.output<typeof AshbySelectableValueSchema>;
1764
+ export type AshbyCustomFieldDefinition = z.output<typeof AshbyCustomFieldDefinitionSchema>;
1765
+ export type AshbyListCandidatesParams = Extract<AshbyParams, {
1766
+ operation: 'list_candidates';
1767
+ }>;
1768
+ export type AshbyGetCandidateParams = Extract<AshbyParams, {
1769
+ operation: 'get_candidate';
1770
+ }>;
1771
+ export type AshbyCreateCandidateParams = Extract<AshbyParams, {
1772
+ operation: 'create_candidate';
1773
+ }>;
1774
+ export type AshbySearchCandidatesParams = Extract<AshbyParams, {
1775
+ operation: 'search_candidates';
1776
+ }>;
1777
+ export type AshbyAddTagParams = Extract<AshbyParams, {
1778
+ operation: 'add_tag';
1779
+ }>;
1780
+ export type AshbyListTagsParams = Extract<AshbyParams, {
1781
+ operation: 'list_tags';
1782
+ }>;
1783
+ export type AshbyCreateTagParams = Extract<AshbyParams, {
1784
+ operation: 'create_tag';
1785
+ }>;
1786
+ export type AshbyListCustomFieldsParams = Extract<AshbyParams, {
1787
+ operation: 'list_custom_fields';
1788
+ }>;
1789
+ //# sourceMappingURL=ashby.schema.d.ts.map