@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,1363 @@
1
+ import { CredentialType } from '@bubblelab/shared-schemas';
2
+ import { ServiceBubble } from '../../../types/service-bubble-class.js';
3
+ import type { BubbleContext } from '../../../types/bubble.js';
4
+ import { type AshbyParamsInput, type AshbyResult } from './ashby.schema.js';
5
+ /**
6
+ * AshbyBubble - Integration with Ashby ATS (Applicant Tracking System)
7
+ *
8
+ * Provides operations for managing candidates in Ashby:
9
+ * - List candidates with filtering
10
+ * - Get candidate details
11
+ * - Create new candidates
12
+ * - Search candidates by email or name
13
+ * - Add tags to candidates
14
+ *
15
+ * @example
16
+ * ```typescript
17
+ * // List all active candidates
18
+ * const result = await new AshbyBubble({
19
+ * operation: 'list_candidates',
20
+ * status: 'Active',
21
+ * limit: 50,
22
+ * }).action();
23
+ *
24
+ * // Get a specific candidate
25
+ * const candidate = await new AshbyBubble({
26
+ * operation: 'get_candidate',
27
+ * candidate_id: 'abc123-uuid',
28
+ * }).action();
29
+ *
30
+ * // Create a new candidate
31
+ * const newCandidate = await new AshbyBubble({
32
+ * operation: 'create_candidate',
33
+ * first_name: 'John',
34
+ * last_name: 'Doe',
35
+ * email: 'john.doe@example.com',
36
+ * }).action();
37
+ * ```
38
+ */
39
+ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput> extends ServiceBubble<T, Extract<AshbyResult, {
40
+ operation: T['operation'];
41
+ }>> {
42
+ static readonly service = "ashby";
43
+ static readonly authType: "basic";
44
+ static readonly bubbleName: "ashby";
45
+ static readonly type: "service";
46
+ static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
47
+ operation: import("zod").ZodLiteral<"list_candidates">;
48
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
49
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
50
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["Hired", "Archived", "Active", "Lead"]>>;
51
+ job_id: import("zod").ZodOptional<import("zod").ZodString>;
52
+ created_after: import("zod").ZodOptional<import("zod").ZodNumber>;
53
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
54
+ }, "strip", import("zod").ZodTypeAny, {
55
+ limit: number;
56
+ operation: "list_candidates";
57
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
58
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
59
+ cursor?: string | undefined;
60
+ job_id?: string | undefined;
61
+ created_after?: number | undefined;
62
+ }, {
63
+ operation: "list_candidates";
64
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
65
+ limit?: number | undefined;
66
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
67
+ cursor?: string | undefined;
68
+ job_id?: string | undefined;
69
+ created_after?: number | undefined;
70
+ }>, import("zod").ZodObject<{
71
+ operation: import("zod").ZodLiteral<"get_candidate">;
72
+ candidate_id: import("zod").ZodString;
73
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
74
+ }, "strip", import("zod").ZodTypeAny, {
75
+ operation: "get_candidate";
76
+ candidate_id: string;
77
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
78
+ }, {
79
+ operation: "get_candidate";
80
+ candidate_id: string;
81
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
82
+ }>, import("zod").ZodObject<{
83
+ operation: import("zod").ZodLiteral<"create_candidate">;
84
+ name: import("zod").ZodString;
85
+ email: import("zod").ZodOptional<import("zod").ZodString>;
86
+ phone_number: import("zod").ZodOptional<import("zod").ZodString>;
87
+ linkedin_url: import("zod").ZodOptional<import("zod").ZodString>;
88
+ github_url: import("zod").ZodOptional<import("zod").ZodString>;
89
+ website: import("zod").ZodOptional<import("zod").ZodString>;
90
+ source_id: import("zod").ZodOptional<import("zod").ZodString>;
91
+ credited_to_user_id: import("zod").ZodOptional<import("zod").ZodString>;
92
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
93
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
94
+ }, "strip", import("zod").ZodTypeAny, {
95
+ name: string;
96
+ operation: "create_candidate";
97
+ email?: string | undefined;
98
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
99
+ linkedin_url?: string | undefined;
100
+ website?: string | undefined;
101
+ phone_number?: string | undefined;
102
+ github_url?: string | undefined;
103
+ source_id?: string | undefined;
104
+ credited_to_user_id?: string | undefined;
105
+ tag?: string | undefined;
106
+ }, {
107
+ name: string;
108
+ operation: "create_candidate";
109
+ email?: string | undefined;
110
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
111
+ linkedin_url?: string | undefined;
112
+ website?: string | undefined;
113
+ phone_number?: string | undefined;
114
+ github_url?: string | undefined;
115
+ source_id?: string | undefined;
116
+ credited_to_user_id?: string | undefined;
117
+ tag?: string | undefined;
118
+ }>, import("zod").ZodObject<{
119
+ operation: import("zod").ZodLiteral<"search_candidates">;
120
+ email: import("zod").ZodOptional<import("zod").ZodString>;
121
+ name: import("zod").ZodOptional<import("zod").ZodString>;
122
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
123
+ }, "strip", import("zod").ZodTypeAny, {
124
+ operation: "search_candidates";
125
+ name?: string | undefined;
126
+ email?: string | undefined;
127
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
128
+ }, {
129
+ operation: "search_candidates";
130
+ name?: string | undefined;
131
+ email?: string | undefined;
132
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
133
+ }>, import("zod").ZodObject<{
134
+ operation: import("zod").ZodLiteral<"add_tag">;
135
+ candidate_id: import("zod").ZodString;
136
+ tag_id: import("zod").ZodString;
137
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
138
+ }, "strip", import("zod").ZodTypeAny, {
139
+ operation: "add_tag";
140
+ candidate_id: string;
141
+ tag_id: string;
142
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
143
+ }, {
144
+ operation: "add_tag";
145
+ candidate_id: string;
146
+ tag_id: string;
147
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
148
+ }>, import("zod").ZodObject<{
149
+ operation: import("zod").ZodLiteral<"list_tags">;
150
+ include_archived: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
151
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
152
+ }, "strip", import("zod").ZodTypeAny, {
153
+ operation: "list_tags";
154
+ include_archived: boolean;
155
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
156
+ }, {
157
+ operation: "list_tags";
158
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
159
+ include_archived?: boolean | undefined;
160
+ }>, import("zod").ZodObject<{
161
+ operation: import("zod").ZodLiteral<"create_tag">;
162
+ title: import("zod").ZodString;
163
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
164
+ }, "strip", import("zod").ZodTypeAny, {
165
+ title: string;
166
+ operation: "create_tag";
167
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
168
+ }, {
169
+ title: string;
170
+ operation: "create_tag";
171
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
172
+ }>, import("zod").ZodObject<{
173
+ operation: import("zod").ZodLiteral<"list_custom_fields">;
174
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
175
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
176
+ sync_token: import("zod").ZodOptional<import("zod").ZodString>;
177
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
178
+ }, "strip", import("zod").ZodTypeAny, {
179
+ limit: number;
180
+ operation: "list_custom_fields";
181
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
182
+ cursor?: string | undefined;
183
+ sync_token?: string | undefined;
184
+ }, {
185
+ operation: "list_custom_fields";
186
+ limit?: number | undefined;
187
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
188
+ cursor?: string | undefined;
189
+ sync_token?: string | undefined;
190
+ }>]>;
191
+ static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
192
+ operation: import("zod").ZodLiteral<"list_candidates">;
193
+ success: import("zod").ZodBoolean;
194
+ candidates: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
195
+ id: import("zod").ZodString;
196
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
197
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
198
+ name: import("zod").ZodString;
199
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
200
+ value: import("zod").ZodString;
201
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
202
+ isPrimary: import("zod").ZodBoolean;
203
+ }, "strip", import("zod").ZodTypeAny, {
204
+ value: string;
205
+ type: "Personal" | "Work" | "Other";
206
+ isPrimary: boolean;
207
+ }, {
208
+ value: string;
209
+ type: "Personal" | "Work" | "Other";
210
+ isPrimary: boolean;
211
+ }>>>;
212
+ emailAddresses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
213
+ value: import("zod").ZodString;
214
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
215
+ isPrimary: import("zod").ZodBoolean;
216
+ }, "strip", import("zod").ZodTypeAny, {
217
+ value: string;
218
+ type: "Personal" | "Work" | "Other";
219
+ isPrimary: boolean;
220
+ }, {
221
+ value: string;
222
+ type: "Personal" | "Work" | "Other";
223
+ isPrimary: boolean;
224
+ }>, "many">>;
225
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
226
+ value: import("zod").ZodString;
227
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
228
+ isPrimary: import("zod").ZodBoolean;
229
+ }, "strip", import("zod").ZodTypeAny, {
230
+ value: string;
231
+ type: "Personal" | "Work" | "Other";
232
+ isPrimary: boolean;
233
+ }, {
234
+ value: string;
235
+ type: "Personal" | "Work" | "Other";
236
+ isPrimary: boolean;
237
+ }>>>;
238
+ phoneNumbers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
239
+ value: import("zod").ZodString;
240
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
241
+ isPrimary: import("zod").ZodBoolean;
242
+ }, "strip", import("zod").ZodTypeAny, {
243
+ value: string;
244
+ type: "Personal" | "Work" | "Other";
245
+ isPrimary: boolean;
246
+ }, {
247
+ value: string;
248
+ type: "Personal" | "Work" | "Other";
249
+ isPrimary: boolean;
250
+ }>, "many">>;
251
+ socialLinks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
252
+ url: import("zod").ZodString;
253
+ type: import("zod").ZodString;
254
+ }, "strip", import("zod").ZodTypeAny, {
255
+ type: string;
256
+ url: string;
257
+ }, {
258
+ type: string;
259
+ url: string;
260
+ }>, "many">>;
261
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
262
+ id: import("zod").ZodString;
263
+ title: import("zod").ZodString;
264
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
265
+ }, "strip", import("zod").ZodTypeAny, {
266
+ title: string;
267
+ id: string;
268
+ isArchived?: boolean | undefined;
269
+ }, {
270
+ title: string;
271
+ id: string;
272
+ isArchived?: boolean | undefined;
273
+ }>, "many">>;
274
+ position: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
275
+ company: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
276
+ school: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
277
+ applicationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
278
+ resumeFileHandle: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
279
+ id: import("zod").ZodString;
280
+ name: import("zod").ZodString;
281
+ handle: import("zod").ZodString;
282
+ }, "strip", import("zod").ZodTypeAny, {
283
+ name: string;
284
+ id: string;
285
+ handle: string;
286
+ }, {
287
+ name: string;
288
+ id: string;
289
+ handle: string;
290
+ }>>>;
291
+ fileHandles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
292
+ id: import("zod").ZodString;
293
+ name: import("zod").ZodString;
294
+ handle: import("zod").ZodString;
295
+ }, "strip", import("zod").ZodTypeAny, {
296
+ name: string;
297
+ id: string;
298
+ handle: string;
299
+ }, {
300
+ name: string;
301
+ id: string;
302
+ handle: string;
303
+ }>, "many">>;
304
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
305
+ id: import("zod").ZodString;
306
+ title: import("zod").ZodString;
307
+ value: import("zod").ZodUnknown;
308
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
309
+ }, "strip", import("zod").ZodTypeAny, {
310
+ title: string;
311
+ id: string;
312
+ value?: unknown;
313
+ isPrivate?: boolean | undefined;
314
+ }, {
315
+ title: string;
316
+ id: string;
317
+ value?: unknown;
318
+ isPrivate?: boolean | undefined;
319
+ }>, "many">>;
320
+ }, "strip", import("zod").ZodTypeAny, {
321
+ name: string;
322
+ id: string;
323
+ company?: string | null | undefined;
324
+ tags?: {
325
+ title: string;
326
+ id: string;
327
+ isArchived?: boolean | undefined;
328
+ }[] | undefined;
329
+ createdAt?: string | undefined;
330
+ updatedAt?: string | undefined;
331
+ primaryEmailAddress?: {
332
+ value: string;
333
+ type: "Personal" | "Work" | "Other";
334
+ isPrimary: boolean;
335
+ } | null | undefined;
336
+ emailAddresses?: {
337
+ value: string;
338
+ type: "Personal" | "Work" | "Other";
339
+ isPrimary: boolean;
340
+ }[] | undefined;
341
+ primaryPhoneNumber?: {
342
+ value: string;
343
+ type: "Personal" | "Work" | "Other";
344
+ isPrimary: boolean;
345
+ } | null | undefined;
346
+ phoneNumbers?: {
347
+ value: string;
348
+ type: "Personal" | "Work" | "Other";
349
+ isPrimary: boolean;
350
+ }[] | undefined;
351
+ socialLinks?: {
352
+ type: string;
353
+ url: string;
354
+ }[] | undefined;
355
+ position?: string | null | undefined;
356
+ school?: string | null | undefined;
357
+ applicationIds?: string[] | undefined;
358
+ resumeFileHandle?: {
359
+ name: string;
360
+ id: string;
361
+ handle: string;
362
+ } | null | undefined;
363
+ fileHandles?: {
364
+ name: string;
365
+ id: string;
366
+ handle: string;
367
+ }[] | undefined;
368
+ customFields?: {
369
+ title: string;
370
+ id: string;
371
+ value?: unknown;
372
+ isPrivate?: boolean | undefined;
373
+ }[] | undefined;
374
+ }, {
375
+ name: string;
376
+ id: string;
377
+ company?: string | null | undefined;
378
+ tags?: {
379
+ title: string;
380
+ id: string;
381
+ isArchived?: boolean | undefined;
382
+ }[] | undefined;
383
+ createdAt?: string | undefined;
384
+ updatedAt?: string | undefined;
385
+ primaryEmailAddress?: {
386
+ value: string;
387
+ type: "Personal" | "Work" | "Other";
388
+ isPrimary: boolean;
389
+ } | null | undefined;
390
+ emailAddresses?: {
391
+ value: string;
392
+ type: "Personal" | "Work" | "Other";
393
+ isPrimary: boolean;
394
+ }[] | undefined;
395
+ primaryPhoneNumber?: {
396
+ value: string;
397
+ type: "Personal" | "Work" | "Other";
398
+ isPrimary: boolean;
399
+ } | null | undefined;
400
+ phoneNumbers?: {
401
+ value: string;
402
+ type: "Personal" | "Work" | "Other";
403
+ isPrimary: boolean;
404
+ }[] | undefined;
405
+ socialLinks?: {
406
+ type: string;
407
+ url: string;
408
+ }[] | undefined;
409
+ position?: string | null | undefined;
410
+ school?: string | null | undefined;
411
+ applicationIds?: string[] | undefined;
412
+ resumeFileHandle?: {
413
+ name: string;
414
+ id: string;
415
+ handle: string;
416
+ } | null | undefined;
417
+ fileHandles?: {
418
+ name: string;
419
+ id: string;
420
+ handle: string;
421
+ }[] | undefined;
422
+ customFields?: {
423
+ title: string;
424
+ id: string;
425
+ value?: unknown;
426
+ isPrivate?: boolean | undefined;
427
+ }[] | undefined;
428
+ }>, "many">>;
429
+ next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
430
+ more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
431
+ sync_token: import("zod").ZodOptional<import("zod").ZodString>;
432
+ error: import("zod").ZodString;
433
+ }, "strip", import("zod").ZodTypeAny, {
434
+ success: boolean;
435
+ error: string;
436
+ operation: "list_candidates";
437
+ next_cursor?: string | undefined;
438
+ sync_token?: string | undefined;
439
+ candidates?: {
440
+ name: string;
441
+ id: string;
442
+ company?: string | null | undefined;
443
+ tags?: {
444
+ title: string;
445
+ id: string;
446
+ isArchived?: boolean | undefined;
447
+ }[] | undefined;
448
+ createdAt?: string | undefined;
449
+ updatedAt?: string | undefined;
450
+ primaryEmailAddress?: {
451
+ value: string;
452
+ type: "Personal" | "Work" | "Other";
453
+ isPrimary: boolean;
454
+ } | null | undefined;
455
+ emailAddresses?: {
456
+ value: string;
457
+ type: "Personal" | "Work" | "Other";
458
+ isPrimary: boolean;
459
+ }[] | undefined;
460
+ primaryPhoneNumber?: {
461
+ value: string;
462
+ type: "Personal" | "Work" | "Other";
463
+ isPrimary: boolean;
464
+ } | null | 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
+ position?: string | null | undefined;
475
+ school?: string | null | undefined;
476
+ applicationIds?: string[] | undefined;
477
+ resumeFileHandle?: {
478
+ name: string;
479
+ id: string;
480
+ handle: string;
481
+ } | null | undefined;
482
+ fileHandles?: {
483
+ name: string;
484
+ id: string;
485
+ handle: string;
486
+ }[] | undefined;
487
+ customFields?: {
488
+ title: string;
489
+ id: string;
490
+ value?: unknown;
491
+ isPrivate?: boolean | undefined;
492
+ }[] | undefined;
493
+ }[] | undefined;
494
+ more_data_available?: boolean | undefined;
495
+ }, {
496
+ success: boolean;
497
+ error: string;
498
+ operation: "list_candidates";
499
+ next_cursor?: string | undefined;
500
+ sync_token?: string | undefined;
501
+ candidates?: {
502
+ name: string;
503
+ id: string;
504
+ company?: string | null | undefined;
505
+ tags?: {
506
+ title: string;
507
+ id: string;
508
+ isArchived?: boolean | undefined;
509
+ }[] | undefined;
510
+ createdAt?: string | undefined;
511
+ updatedAt?: string | undefined;
512
+ primaryEmailAddress?: {
513
+ value: string;
514
+ type: "Personal" | "Work" | "Other";
515
+ isPrimary: boolean;
516
+ } | null | undefined;
517
+ emailAddresses?: {
518
+ value: string;
519
+ type: "Personal" | "Work" | "Other";
520
+ isPrimary: boolean;
521
+ }[] | undefined;
522
+ primaryPhoneNumber?: {
523
+ value: string;
524
+ type: "Personal" | "Work" | "Other";
525
+ isPrimary: boolean;
526
+ } | null | undefined;
527
+ phoneNumbers?: {
528
+ value: string;
529
+ type: "Personal" | "Work" | "Other";
530
+ isPrimary: boolean;
531
+ }[] | undefined;
532
+ socialLinks?: {
533
+ type: string;
534
+ url: string;
535
+ }[] | undefined;
536
+ position?: string | null | undefined;
537
+ school?: string | null | undefined;
538
+ applicationIds?: string[] | undefined;
539
+ resumeFileHandle?: {
540
+ name: string;
541
+ id: string;
542
+ handle: string;
543
+ } | null | undefined;
544
+ fileHandles?: {
545
+ name: string;
546
+ id: string;
547
+ handle: string;
548
+ }[] | undefined;
549
+ customFields?: {
550
+ title: string;
551
+ id: string;
552
+ value?: unknown;
553
+ isPrivate?: boolean | undefined;
554
+ }[] | undefined;
555
+ }[] | undefined;
556
+ more_data_available?: boolean | undefined;
557
+ }>, import("zod").ZodObject<{
558
+ operation: import("zod").ZodLiteral<"get_candidate">;
559
+ success: import("zod").ZodBoolean;
560
+ candidate: import("zod").ZodOptional<import("zod").ZodObject<{
561
+ id: import("zod").ZodString;
562
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
563
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
564
+ name: import("zod").ZodString;
565
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
566
+ value: import("zod").ZodString;
567
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
568
+ isPrimary: import("zod").ZodBoolean;
569
+ }, "strip", import("zod").ZodTypeAny, {
570
+ value: string;
571
+ type: "Personal" | "Work" | "Other";
572
+ isPrimary: boolean;
573
+ }, {
574
+ value: string;
575
+ type: "Personal" | "Work" | "Other";
576
+ isPrimary: boolean;
577
+ }>>>;
578
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
579
+ value: import("zod").ZodString;
580
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
581
+ isPrimary: import("zod").ZodBoolean;
582
+ }, "strip", import("zod").ZodTypeAny, {
583
+ value: string;
584
+ type: "Personal" | "Work" | "Other";
585
+ isPrimary: boolean;
586
+ }, {
587
+ value: string;
588
+ type: "Personal" | "Work" | "Other";
589
+ isPrimary: boolean;
590
+ }>>>;
591
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
592
+ id: import("zod").ZodString;
593
+ title: import("zod").ZodString;
594
+ value: import("zod").ZodUnknown;
595
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
596
+ }, "strip", import("zod").ZodTypeAny, {
597
+ title: string;
598
+ id: string;
599
+ value?: unknown;
600
+ isPrivate?: boolean | undefined;
601
+ }, {
602
+ title: string;
603
+ id: string;
604
+ value?: unknown;
605
+ isPrivate?: boolean | undefined;
606
+ }>, "many">>;
607
+ }, "strip", import("zod").ZodTypeAny, {
608
+ name: string;
609
+ id: string;
610
+ createdAt?: string | undefined;
611
+ updatedAt?: string | undefined;
612
+ primaryEmailAddress?: {
613
+ value: string;
614
+ type: "Personal" | "Work" | "Other";
615
+ isPrimary: boolean;
616
+ } | null | undefined;
617
+ primaryPhoneNumber?: {
618
+ value: string;
619
+ type: "Personal" | "Work" | "Other";
620
+ isPrimary: boolean;
621
+ } | null | undefined;
622
+ customFields?: {
623
+ title: string;
624
+ id: string;
625
+ value?: unknown;
626
+ isPrivate?: boolean | undefined;
627
+ }[] | undefined;
628
+ }, {
629
+ name: string;
630
+ id: string;
631
+ createdAt?: string | undefined;
632
+ updatedAt?: string | undefined;
633
+ primaryEmailAddress?: {
634
+ value: string;
635
+ type: "Personal" | "Work" | "Other";
636
+ isPrimary: boolean;
637
+ } | null | undefined;
638
+ primaryPhoneNumber?: {
639
+ value: string;
640
+ type: "Personal" | "Work" | "Other";
641
+ isPrimary: boolean;
642
+ } | null | undefined;
643
+ customFields?: {
644
+ title: string;
645
+ id: string;
646
+ value?: unknown;
647
+ isPrivate?: boolean | undefined;
648
+ }[] | undefined;
649
+ }>>;
650
+ error: import("zod").ZodString;
651
+ }, "strip", import("zod").ZodTypeAny, {
652
+ success: boolean;
653
+ error: string;
654
+ operation: "get_candidate";
655
+ candidate?: {
656
+ name: string;
657
+ id: string;
658
+ createdAt?: string | undefined;
659
+ updatedAt?: string | undefined;
660
+ primaryEmailAddress?: {
661
+ value: string;
662
+ type: "Personal" | "Work" | "Other";
663
+ isPrimary: boolean;
664
+ } | null | undefined;
665
+ primaryPhoneNumber?: {
666
+ value: string;
667
+ type: "Personal" | "Work" | "Other";
668
+ isPrimary: boolean;
669
+ } | null | undefined;
670
+ customFields?: {
671
+ title: string;
672
+ id: string;
673
+ value?: unknown;
674
+ isPrivate?: boolean | undefined;
675
+ }[] | undefined;
676
+ } | undefined;
677
+ }, {
678
+ success: boolean;
679
+ error: string;
680
+ operation: "get_candidate";
681
+ candidate?: {
682
+ name: string;
683
+ id: string;
684
+ createdAt?: string | undefined;
685
+ updatedAt?: string | undefined;
686
+ primaryEmailAddress?: {
687
+ value: string;
688
+ type: "Personal" | "Work" | "Other";
689
+ isPrimary: boolean;
690
+ } | null | undefined;
691
+ primaryPhoneNumber?: {
692
+ value: string;
693
+ type: "Personal" | "Work" | "Other";
694
+ isPrimary: boolean;
695
+ } | null | undefined;
696
+ customFields?: {
697
+ title: string;
698
+ id: string;
699
+ value?: unknown;
700
+ isPrivate?: boolean | undefined;
701
+ }[] | undefined;
702
+ } | undefined;
703
+ }>, import("zod").ZodObject<{
704
+ operation: import("zod").ZodLiteral<"create_candidate">;
705
+ success: import("zod").ZodBoolean;
706
+ candidate: import("zod").ZodOptional<import("zod").ZodObject<{
707
+ id: import("zod").ZodString;
708
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
709
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
710
+ name: import("zod").ZodString;
711
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
712
+ value: import("zod").ZodString;
713
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
714
+ isPrimary: import("zod").ZodBoolean;
715
+ }, "strip", import("zod").ZodTypeAny, {
716
+ value: string;
717
+ type: "Personal" | "Work" | "Other";
718
+ isPrimary: boolean;
719
+ }, {
720
+ value: string;
721
+ type: "Personal" | "Work" | "Other";
722
+ isPrimary: boolean;
723
+ }>>>;
724
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
725
+ value: import("zod").ZodString;
726
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
727
+ isPrimary: import("zod").ZodBoolean;
728
+ }, "strip", import("zod").ZodTypeAny, {
729
+ value: string;
730
+ type: "Personal" | "Work" | "Other";
731
+ isPrimary: boolean;
732
+ }, {
733
+ value: string;
734
+ type: "Personal" | "Work" | "Other";
735
+ isPrimary: boolean;
736
+ }>>>;
737
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
738
+ id: import("zod").ZodString;
739
+ title: import("zod").ZodString;
740
+ value: import("zod").ZodUnknown;
741
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
742
+ }, "strip", import("zod").ZodTypeAny, {
743
+ title: string;
744
+ id: string;
745
+ value?: unknown;
746
+ isPrivate?: boolean | undefined;
747
+ }, {
748
+ title: string;
749
+ id: string;
750
+ value?: unknown;
751
+ isPrivate?: boolean | undefined;
752
+ }>, "many">>;
753
+ }, "strip", import("zod").ZodTypeAny, {
754
+ name: string;
755
+ id: string;
756
+ createdAt?: string | undefined;
757
+ updatedAt?: string | undefined;
758
+ primaryEmailAddress?: {
759
+ value: string;
760
+ type: "Personal" | "Work" | "Other";
761
+ isPrimary: boolean;
762
+ } | null | undefined;
763
+ primaryPhoneNumber?: {
764
+ value: string;
765
+ type: "Personal" | "Work" | "Other";
766
+ isPrimary: boolean;
767
+ } | null | undefined;
768
+ customFields?: {
769
+ title: string;
770
+ id: string;
771
+ value?: unknown;
772
+ isPrivate?: boolean | undefined;
773
+ }[] | undefined;
774
+ }, {
775
+ name: string;
776
+ id: string;
777
+ createdAt?: string | undefined;
778
+ updatedAt?: string | undefined;
779
+ primaryEmailAddress?: {
780
+ value: string;
781
+ type: "Personal" | "Work" | "Other";
782
+ isPrimary: boolean;
783
+ } | null | undefined;
784
+ primaryPhoneNumber?: {
785
+ value: string;
786
+ type: "Personal" | "Work" | "Other";
787
+ isPrimary: boolean;
788
+ } | null | undefined;
789
+ customFields?: {
790
+ title: string;
791
+ id: string;
792
+ value?: unknown;
793
+ isPrivate?: boolean | undefined;
794
+ }[] | undefined;
795
+ }>>;
796
+ error: import("zod").ZodString;
797
+ }, "strip", import("zod").ZodTypeAny, {
798
+ success: boolean;
799
+ error: string;
800
+ operation: "create_candidate";
801
+ candidate?: {
802
+ name: string;
803
+ id: string;
804
+ createdAt?: string | undefined;
805
+ updatedAt?: string | undefined;
806
+ primaryEmailAddress?: {
807
+ value: string;
808
+ type: "Personal" | "Work" | "Other";
809
+ isPrimary: boolean;
810
+ } | null | undefined;
811
+ primaryPhoneNumber?: {
812
+ value: string;
813
+ type: "Personal" | "Work" | "Other";
814
+ isPrimary: boolean;
815
+ } | null | undefined;
816
+ customFields?: {
817
+ title: string;
818
+ id: string;
819
+ value?: unknown;
820
+ isPrivate?: boolean | undefined;
821
+ }[] | undefined;
822
+ } | undefined;
823
+ }, {
824
+ success: boolean;
825
+ error: string;
826
+ operation: "create_candidate";
827
+ candidate?: {
828
+ name: string;
829
+ id: string;
830
+ createdAt?: string | undefined;
831
+ updatedAt?: string | undefined;
832
+ primaryEmailAddress?: {
833
+ value: string;
834
+ type: "Personal" | "Work" | "Other";
835
+ isPrimary: boolean;
836
+ } | null | undefined;
837
+ primaryPhoneNumber?: {
838
+ value: string;
839
+ type: "Personal" | "Work" | "Other";
840
+ isPrimary: boolean;
841
+ } | null | undefined;
842
+ customFields?: {
843
+ title: string;
844
+ id: string;
845
+ value?: unknown;
846
+ isPrivate?: boolean | undefined;
847
+ }[] | undefined;
848
+ } | undefined;
849
+ }>, import("zod").ZodObject<{
850
+ operation: import("zod").ZodLiteral<"search_candidates">;
851
+ success: import("zod").ZodBoolean;
852
+ candidates: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
853
+ id: import("zod").ZodString;
854
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
855
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
856
+ name: import("zod").ZodString;
857
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
858
+ value: import("zod").ZodString;
859
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
860
+ isPrimary: import("zod").ZodBoolean;
861
+ }, "strip", import("zod").ZodTypeAny, {
862
+ value: string;
863
+ type: "Personal" | "Work" | "Other";
864
+ isPrimary: boolean;
865
+ }, {
866
+ value: string;
867
+ type: "Personal" | "Work" | "Other";
868
+ isPrimary: boolean;
869
+ }>>>;
870
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
871
+ value: import("zod").ZodString;
872
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
873
+ isPrimary: import("zod").ZodBoolean;
874
+ }, "strip", import("zod").ZodTypeAny, {
875
+ value: string;
876
+ type: "Personal" | "Work" | "Other";
877
+ isPrimary: boolean;
878
+ }, {
879
+ value: string;
880
+ type: "Personal" | "Work" | "Other";
881
+ isPrimary: boolean;
882
+ }>>>;
883
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
884
+ id: import("zod").ZodString;
885
+ title: import("zod").ZodString;
886
+ value: import("zod").ZodUnknown;
887
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
888
+ }, "strip", import("zod").ZodTypeAny, {
889
+ title: string;
890
+ id: string;
891
+ value?: unknown;
892
+ isPrivate?: boolean | undefined;
893
+ }, {
894
+ title: string;
895
+ id: string;
896
+ value?: unknown;
897
+ isPrivate?: boolean | undefined;
898
+ }>, "many">>;
899
+ }, "strip", import("zod").ZodTypeAny, {
900
+ name: string;
901
+ id: string;
902
+ createdAt?: string | undefined;
903
+ updatedAt?: string | undefined;
904
+ primaryEmailAddress?: {
905
+ value: string;
906
+ type: "Personal" | "Work" | "Other";
907
+ isPrimary: boolean;
908
+ } | null | undefined;
909
+ primaryPhoneNumber?: {
910
+ value: string;
911
+ type: "Personal" | "Work" | "Other";
912
+ isPrimary: boolean;
913
+ } | null | undefined;
914
+ customFields?: {
915
+ title: string;
916
+ id: string;
917
+ value?: unknown;
918
+ isPrivate?: boolean | undefined;
919
+ }[] | undefined;
920
+ }, {
921
+ name: string;
922
+ id: string;
923
+ createdAt?: string | undefined;
924
+ updatedAt?: string | undefined;
925
+ primaryEmailAddress?: {
926
+ value: string;
927
+ type: "Personal" | "Work" | "Other";
928
+ isPrimary: boolean;
929
+ } | null | undefined;
930
+ primaryPhoneNumber?: {
931
+ value: string;
932
+ type: "Personal" | "Work" | "Other";
933
+ isPrimary: boolean;
934
+ } | null | undefined;
935
+ customFields?: {
936
+ title: string;
937
+ id: string;
938
+ value?: unknown;
939
+ isPrivate?: boolean | undefined;
940
+ }[] | undefined;
941
+ }>, "many">>;
942
+ error: import("zod").ZodString;
943
+ }, "strip", import("zod").ZodTypeAny, {
944
+ success: boolean;
945
+ error: string;
946
+ operation: "search_candidates";
947
+ candidates?: {
948
+ name: string;
949
+ id: string;
950
+ createdAt?: string | undefined;
951
+ updatedAt?: string | undefined;
952
+ primaryEmailAddress?: {
953
+ value: string;
954
+ type: "Personal" | "Work" | "Other";
955
+ isPrimary: boolean;
956
+ } | null | undefined;
957
+ primaryPhoneNumber?: {
958
+ value: string;
959
+ type: "Personal" | "Work" | "Other";
960
+ isPrimary: boolean;
961
+ } | null | undefined;
962
+ customFields?: {
963
+ title: string;
964
+ id: string;
965
+ value?: unknown;
966
+ isPrivate?: boolean | undefined;
967
+ }[] | undefined;
968
+ }[] | undefined;
969
+ }, {
970
+ success: boolean;
971
+ error: string;
972
+ operation: "search_candidates";
973
+ candidates?: {
974
+ name: string;
975
+ id: string;
976
+ createdAt?: string | undefined;
977
+ updatedAt?: string | undefined;
978
+ primaryEmailAddress?: {
979
+ value: string;
980
+ type: "Personal" | "Work" | "Other";
981
+ isPrimary: boolean;
982
+ } | null | undefined;
983
+ primaryPhoneNumber?: {
984
+ value: string;
985
+ type: "Personal" | "Work" | "Other";
986
+ isPrimary: boolean;
987
+ } | null | undefined;
988
+ customFields?: {
989
+ title: string;
990
+ id: string;
991
+ value?: unknown;
992
+ isPrivate?: boolean | undefined;
993
+ }[] | undefined;
994
+ }[] | undefined;
995
+ }>, import("zod").ZodObject<{
996
+ operation: import("zod").ZodLiteral<"add_tag">;
997
+ success: import("zod").ZodBoolean;
998
+ candidate: import("zod").ZodOptional<import("zod").ZodObject<{
999
+ id: import("zod").ZodString;
1000
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
1001
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
1002
+ name: import("zod").ZodString;
1003
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1004
+ value: import("zod").ZodString;
1005
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
1006
+ isPrimary: import("zod").ZodBoolean;
1007
+ }, "strip", import("zod").ZodTypeAny, {
1008
+ value: string;
1009
+ type: "Personal" | "Work" | "Other";
1010
+ isPrimary: boolean;
1011
+ }, {
1012
+ value: string;
1013
+ type: "Personal" | "Work" | "Other";
1014
+ isPrimary: boolean;
1015
+ }>>>;
1016
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1017
+ value: import("zod").ZodString;
1018
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
1019
+ isPrimary: import("zod").ZodBoolean;
1020
+ }, "strip", import("zod").ZodTypeAny, {
1021
+ value: string;
1022
+ type: "Personal" | "Work" | "Other";
1023
+ isPrimary: boolean;
1024
+ }, {
1025
+ value: string;
1026
+ type: "Personal" | "Work" | "Other";
1027
+ isPrimary: boolean;
1028
+ }>>>;
1029
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1030
+ id: import("zod").ZodString;
1031
+ title: import("zod").ZodString;
1032
+ value: import("zod").ZodUnknown;
1033
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
1034
+ }, "strip", import("zod").ZodTypeAny, {
1035
+ title: string;
1036
+ id: string;
1037
+ value?: unknown;
1038
+ isPrivate?: boolean | undefined;
1039
+ }, {
1040
+ title: string;
1041
+ id: string;
1042
+ value?: unknown;
1043
+ isPrivate?: boolean | undefined;
1044
+ }>, "many">>;
1045
+ }, "strip", import("zod").ZodTypeAny, {
1046
+ name: string;
1047
+ id: string;
1048
+ createdAt?: string | undefined;
1049
+ updatedAt?: string | undefined;
1050
+ primaryEmailAddress?: {
1051
+ value: string;
1052
+ type: "Personal" | "Work" | "Other";
1053
+ isPrimary: boolean;
1054
+ } | null | undefined;
1055
+ primaryPhoneNumber?: {
1056
+ value: string;
1057
+ type: "Personal" | "Work" | "Other";
1058
+ isPrimary: boolean;
1059
+ } | null | undefined;
1060
+ customFields?: {
1061
+ title: string;
1062
+ id: string;
1063
+ value?: unknown;
1064
+ isPrivate?: boolean | undefined;
1065
+ }[] | undefined;
1066
+ }, {
1067
+ name: string;
1068
+ id: string;
1069
+ createdAt?: string | undefined;
1070
+ updatedAt?: string | undefined;
1071
+ primaryEmailAddress?: {
1072
+ value: string;
1073
+ type: "Personal" | "Work" | "Other";
1074
+ isPrimary: boolean;
1075
+ } | null | undefined;
1076
+ primaryPhoneNumber?: {
1077
+ value: string;
1078
+ type: "Personal" | "Work" | "Other";
1079
+ isPrimary: boolean;
1080
+ } | null | undefined;
1081
+ customFields?: {
1082
+ title: string;
1083
+ id: string;
1084
+ value?: unknown;
1085
+ isPrivate?: boolean | undefined;
1086
+ }[] | undefined;
1087
+ }>>;
1088
+ error: import("zod").ZodString;
1089
+ }, "strip", import("zod").ZodTypeAny, {
1090
+ success: boolean;
1091
+ error: string;
1092
+ operation: "add_tag";
1093
+ candidate?: {
1094
+ name: string;
1095
+ id: string;
1096
+ createdAt?: string | undefined;
1097
+ updatedAt?: string | undefined;
1098
+ primaryEmailAddress?: {
1099
+ value: string;
1100
+ type: "Personal" | "Work" | "Other";
1101
+ isPrimary: boolean;
1102
+ } | null | undefined;
1103
+ primaryPhoneNumber?: {
1104
+ value: string;
1105
+ type: "Personal" | "Work" | "Other";
1106
+ isPrimary: boolean;
1107
+ } | null | undefined;
1108
+ customFields?: {
1109
+ title: string;
1110
+ id: string;
1111
+ value?: unknown;
1112
+ isPrivate?: boolean | undefined;
1113
+ }[] | undefined;
1114
+ } | undefined;
1115
+ }, {
1116
+ success: boolean;
1117
+ error: string;
1118
+ operation: "add_tag";
1119
+ candidate?: {
1120
+ name: string;
1121
+ id: string;
1122
+ createdAt?: string | undefined;
1123
+ updatedAt?: string | undefined;
1124
+ primaryEmailAddress?: {
1125
+ value: string;
1126
+ type: "Personal" | "Work" | "Other";
1127
+ isPrimary: boolean;
1128
+ } | null | undefined;
1129
+ primaryPhoneNumber?: {
1130
+ value: string;
1131
+ type: "Personal" | "Work" | "Other";
1132
+ isPrimary: boolean;
1133
+ } | null | undefined;
1134
+ customFields?: {
1135
+ title: string;
1136
+ id: string;
1137
+ value?: unknown;
1138
+ isPrivate?: boolean | undefined;
1139
+ }[] | undefined;
1140
+ } | undefined;
1141
+ }>, import("zod").ZodObject<{
1142
+ operation: import("zod").ZodLiteral<"list_tags">;
1143
+ success: import("zod").ZodBoolean;
1144
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1145
+ id: import("zod").ZodString;
1146
+ title: import("zod").ZodString;
1147
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1148
+ }, "strip", import("zod").ZodTypeAny, {
1149
+ title: string;
1150
+ id: string;
1151
+ isArchived?: boolean | undefined;
1152
+ }, {
1153
+ title: string;
1154
+ id: string;
1155
+ isArchived?: boolean | undefined;
1156
+ }>, "many">>;
1157
+ error: import("zod").ZodString;
1158
+ }, "strip", import("zod").ZodTypeAny, {
1159
+ success: boolean;
1160
+ error: string;
1161
+ operation: "list_tags";
1162
+ tags?: {
1163
+ title: string;
1164
+ id: string;
1165
+ isArchived?: boolean | undefined;
1166
+ }[] | undefined;
1167
+ }, {
1168
+ success: boolean;
1169
+ error: string;
1170
+ operation: "list_tags";
1171
+ tags?: {
1172
+ title: string;
1173
+ id: string;
1174
+ isArchived?: boolean | undefined;
1175
+ }[] | undefined;
1176
+ }>, import("zod").ZodObject<{
1177
+ operation: import("zod").ZodLiteral<"create_tag">;
1178
+ success: import("zod").ZodBoolean;
1179
+ tag: import("zod").ZodOptional<import("zod").ZodObject<{
1180
+ id: import("zod").ZodString;
1181
+ title: import("zod").ZodString;
1182
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
1183
+ }, "strip", import("zod").ZodTypeAny, {
1184
+ title: string;
1185
+ id: string;
1186
+ isArchived?: boolean | undefined;
1187
+ }, {
1188
+ title: string;
1189
+ id: string;
1190
+ isArchived?: boolean | undefined;
1191
+ }>>;
1192
+ error: import("zod").ZodString;
1193
+ }, "strip", import("zod").ZodTypeAny, {
1194
+ success: boolean;
1195
+ error: string;
1196
+ operation: "create_tag";
1197
+ tag?: {
1198
+ title: string;
1199
+ id: string;
1200
+ isArchived?: boolean | undefined;
1201
+ } | undefined;
1202
+ }, {
1203
+ success: boolean;
1204
+ error: string;
1205
+ operation: "create_tag";
1206
+ tag?: {
1207
+ title: string;
1208
+ id: string;
1209
+ isArchived?: boolean | undefined;
1210
+ } | undefined;
1211
+ }>, import("zod").ZodObject<{
1212
+ operation: import("zod").ZodLiteral<"list_custom_fields">;
1213
+ success: import("zod").ZodBoolean;
1214
+ custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1215
+ id: import("zod").ZodString;
1216
+ isPrivate: import("zod").ZodBoolean;
1217
+ title: import("zod").ZodString;
1218
+ objectType: import("zod").ZodString;
1219
+ isArchived: import("zod").ZodBoolean;
1220
+ fieldType: import("zod").ZodString;
1221
+ selectableValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1222
+ label: import("zod").ZodString;
1223
+ value: import("zod").ZodString;
1224
+ isArchived: import("zod").ZodBoolean;
1225
+ }, "strip", import("zod").ZodTypeAny, {
1226
+ value: string;
1227
+ label: string;
1228
+ isArchived: boolean;
1229
+ }, {
1230
+ value: string;
1231
+ label: string;
1232
+ isArchived: boolean;
1233
+ }>, "many">>;
1234
+ }, "strip", import("zod").ZodTypeAny, {
1235
+ title: string;
1236
+ id: string;
1237
+ isArchived: boolean;
1238
+ isPrivate: boolean;
1239
+ objectType: string;
1240
+ fieldType: string;
1241
+ selectableValues?: {
1242
+ value: string;
1243
+ label: string;
1244
+ isArchived: boolean;
1245
+ }[] | undefined;
1246
+ }, {
1247
+ title: string;
1248
+ id: string;
1249
+ isArchived: boolean;
1250
+ isPrivate: boolean;
1251
+ objectType: string;
1252
+ fieldType: string;
1253
+ selectableValues?: {
1254
+ value: string;
1255
+ label: string;
1256
+ isArchived: boolean;
1257
+ }[] | undefined;
1258
+ }>, "many">>;
1259
+ next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
1260
+ more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
1261
+ sync_token: import("zod").ZodOptional<import("zod").ZodString>;
1262
+ error: import("zod").ZodString;
1263
+ }, "strip", import("zod").ZodTypeAny, {
1264
+ success: boolean;
1265
+ error: string;
1266
+ operation: "list_custom_fields";
1267
+ next_cursor?: string | undefined;
1268
+ sync_token?: string | undefined;
1269
+ more_data_available?: boolean | undefined;
1270
+ custom_fields?: {
1271
+ title: string;
1272
+ id: string;
1273
+ isArchived: boolean;
1274
+ isPrivate: boolean;
1275
+ objectType: string;
1276
+ fieldType: string;
1277
+ selectableValues?: {
1278
+ value: string;
1279
+ label: string;
1280
+ isArchived: boolean;
1281
+ }[] | undefined;
1282
+ }[] | undefined;
1283
+ }, {
1284
+ success: boolean;
1285
+ error: string;
1286
+ operation: "list_custom_fields";
1287
+ next_cursor?: string | undefined;
1288
+ sync_token?: string | undefined;
1289
+ more_data_available?: boolean | undefined;
1290
+ custom_fields?: {
1291
+ title: string;
1292
+ id: string;
1293
+ isArchived: boolean;
1294
+ isPrivate: boolean;
1295
+ objectType: string;
1296
+ fieldType: string;
1297
+ selectableValues?: {
1298
+ value: string;
1299
+ label: string;
1300
+ isArchived: boolean;
1301
+ }[] | undefined;
1302
+ }[] | undefined;
1303
+ }>]>;
1304
+ static readonly shortDescription = "Ashby ATS integration for candidate management";
1305
+ 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 ";
1306
+ static readonly alias = "ashby-ats";
1307
+ constructor(params?: T, context?: BubbleContext);
1308
+ /**
1309
+ * Choose the appropriate credential for Ashby API
1310
+ */
1311
+ protected chooseCredential(): string | undefined;
1312
+ /**
1313
+ * Test if the credential is valid by making a simple API call
1314
+ */
1315
+ testCredential(): Promise<boolean>;
1316
+ /**
1317
+ * Perform the Ashby operation
1318
+ */
1319
+ protected performAction(context?: BubbleContext): Promise<Extract<AshbyResult, {
1320
+ operation: T['operation'];
1321
+ }>>;
1322
+ /**
1323
+ * Extract error message from Ashby API error response
1324
+ */
1325
+ private extractErrorMessage;
1326
+ /**
1327
+ * Make an authenticated request to the Ashby API
1328
+ */
1329
+ private makeAshbyRequest;
1330
+ /**
1331
+ * List candidates with optional filtering
1332
+ */
1333
+ private listCandidates;
1334
+ /**
1335
+ * Get detailed information about a specific candidate
1336
+ */
1337
+ private getCandidate;
1338
+ /**
1339
+ * Create a new candidate
1340
+ */
1341
+ private createCandidate;
1342
+ /**
1343
+ * Search for candidates by email or name
1344
+ */
1345
+ private searchCandidates;
1346
+ /**
1347
+ * Add a tag to a candidate
1348
+ */
1349
+ private addTag;
1350
+ /**
1351
+ * List all candidate tags
1352
+ */
1353
+ private listTags;
1354
+ /**
1355
+ * Create a new candidate tag
1356
+ */
1357
+ private createTag;
1358
+ /**
1359
+ * List all custom field definitions
1360
+ */
1361
+ private listCustomFields;
1362
+ }
1363
+ //# sourceMappingURL=ashby.d.ts.map