@bubblelab/bubble-core 0.1.36 → 0.1.37

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,2089 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ /**
4
+ * Enum for enrichment fields that can be requested
5
+ * - contact.emails: Work emails (1 credit)
6
+ * - contact.personal_emails: Personal emails (3 credits)
7
+ */
8
+ export declare const EnrichFieldEnum: z.ZodEnum<["contact.emails", "contact.personal_emails"]>;
9
+ /**
10
+ * Status of an enrichment operation
11
+ */
12
+ export declare const EnrichmentStatusEnum: z.ZodEnum<["CREATED", "IN_PROGRESS", "CANCELED", "CREDITS_INSUFFICIENT", "FINISHED", "RATE_LIMIT", "UNKNOWN"]>;
13
+ /**
14
+ * Email object returned from enrichment
15
+ */
16
+ export declare const EmailSchema: z.ZodObject<{
17
+ email: z.ZodOptional<z.ZodString>;
18
+ status: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ status?: string | undefined;
21
+ email?: string | undefined;
22
+ }, {
23
+ status?: string | undefined;
24
+ email?: string | undefined;
25
+ }>;
26
+ /**
27
+ * Phone object returned from enrichment
28
+ */
29
+ export declare const PhoneSchema: z.ZodObject<{
30
+ phone: z.ZodOptional<z.ZodString>;
31
+ region: z.ZodOptional<z.ZodString>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ phone?: string | undefined;
34
+ region?: string | undefined;
35
+ }, {
36
+ phone?: string | undefined;
37
+ region?: string | undefined;
38
+ }>;
39
+ /**
40
+ * Social media link
41
+ */
42
+ export declare const SocialMediaSchema: z.ZodObject<{
43
+ url: z.ZodOptional<z.ZodString>;
44
+ type: z.ZodOptional<z.ZodString>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ type?: string | undefined;
47
+ url?: string | undefined;
48
+ }, {
49
+ type?: string | undefined;
50
+ url?: string | undefined;
51
+ }>;
52
+ /**
53
+ * Company information from LinkedIn profile
54
+ */
55
+ export declare const CompanyInfoSchema: z.ZodObject<{
56
+ name: z.ZodOptional<z.ZodString>;
57
+ domain: z.ZodOptional<z.ZodString>;
58
+ linkedin_url: z.ZodOptional<z.ZodString>;
59
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
60
+ industry: z.ZodOptional<z.ZodString>;
61
+ headquarters: z.ZodOptional<z.ZodObject<{
62
+ city: z.ZodOptional<z.ZodString>;
63
+ country: z.ZodOptional<z.ZodString>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ city?: string | undefined;
66
+ country?: string | undefined;
67
+ }, {
68
+ city?: string | undefined;
69
+ country?: string | undefined;
70
+ }>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ name?: string | undefined;
73
+ domain?: string | undefined;
74
+ linkedin_id?: string | undefined;
75
+ industry?: string | undefined;
76
+ linkedin_url?: string | undefined;
77
+ headquarters?: {
78
+ city?: string | undefined;
79
+ country?: string | undefined;
80
+ } | undefined;
81
+ }, {
82
+ name?: string | undefined;
83
+ domain?: string | undefined;
84
+ linkedin_id?: string | number | undefined;
85
+ industry?: string | undefined;
86
+ linkedin_url?: string | undefined;
87
+ headquarters?: {
88
+ city?: string | undefined;
89
+ country?: string | undefined;
90
+ } | undefined;
91
+ }>;
92
+ /**
93
+ * Professional profile information from LinkedIn
94
+ */
95
+ export declare const ProfileSchema: z.ZodObject<{
96
+ linkedin_url: z.ZodOptional<z.ZodString>;
97
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
98
+ linkedin_handle: z.ZodOptional<z.ZodString>;
99
+ headline: z.ZodOptional<z.ZodString>;
100
+ location: z.ZodOptional<z.ZodString>;
101
+ current_position: z.ZodOptional<z.ZodObject<{
102
+ title: z.ZodOptional<z.ZodString>;
103
+ company: z.ZodOptional<z.ZodObject<{
104
+ name: z.ZodOptional<z.ZodString>;
105
+ domain: z.ZodOptional<z.ZodString>;
106
+ linkedin_url: z.ZodOptional<z.ZodString>;
107
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
108
+ industry: z.ZodOptional<z.ZodString>;
109
+ headquarters: z.ZodOptional<z.ZodObject<{
110
+ city: z.ZodOptional<z.ZodString>;
111
+ country: z.ZodOptional<z.ZodString>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ city?: string | undefined;
114
+ country?: string | undefined;
115
+ }, {
116
+ city?: string | undefined;
117
+ country?: string | undefined;
118
+ }>>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ name?: string | undefined;
121
+ domain?: string | undefined;
122
+ linkedin_id?: string | undefined;
123
+ industry?: string | undefined;
124
+ linkedin_url?: string | undefined;
125
+ headquarters?: {
126
+ city?: string | undefined;
127
+ country?: string | undefined;
128
+ } | undefined;
129
+ }, {
130
+ name?: string | undefined;
131
+ domain?: string | undefined;
132
+ linkedin_id?: string | number | undefined;
133
+ industry?: string | undefined;
134
+ linkedin_url?: string | undefined;
135
+ headquarters?: {
136
+ city?: string | undefined;
137
+ country?: string | undefined;
138
+ } | undefined;
139
+ }>>;
140
+ start_date: z.ZodOptional<z.ZodString>;
141
+ end_date: z.ZodOptional<z.ZodString>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ title?: string | undefined;
144
+ company?: {
145
+ name?: string | undefined;
146
+ domain?: string | undefined;
147
+ linkedin_id?: string | undefined;
148
+ industry?: string | undefined;
149
+ linkedin_url?: string | undefined;
150
+ headquarters?: {
151
+ city?: string | undefined;
152
+ country?: string | undefined;
153
+ } | undefined;
154
+ } | undefined;
155
+ start_date?: string | undefined;
156
+ end_date?: string | undefined;
157
+ }, {
158
+ title?: string | undefined;
159
+ company?: {
160
+ name?: string | undefined;
161
+ domain?: string | undefined;
162
+ linkedin_id?: string | number | undefined;
163
+ industry?: string | undefined;
164
+ linkedin_url?: string | undefined;
165
+ headquarters?: {
166
+ city?: string | undefined;
167
+ country?: string | undefined;
168
+ } | undefined;
169
+ } | undefined;
170
+ start_date?: string | undefined;
171
+ end_date?: string | undefined;
172
+ }>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ location?: string | undefined;
175
+ headline?: string | undefined;
176
+ linkedin_id?: string | undefined;
177
+ linkedin_url?: string | undefined;
178
+ linkedin_handle?: string | undefined;
179
+ current_position?: {
180
+ title?: string | undefined;
181
+ company?: {
182
+ name?: string | undefined;
183
+ domain?: string | undefined;
184
+ linkedin_id?: string | undefined;
185
+ industry?: string | undefined;
186
+ linkedin_url?: string | undefined;
187
+ headquarters?: {
188
+ city?: string | undefined;
189
+ country?: string | undefined;
190
+ } | undefined;
191
+ } | undefined;
192
+ start_date?: string | undefined;
193
+ end_date?: string | undefined;
194
+ } | undefined;
195
+ }, {
196
+ location?: string | undefined;
197
+ headline?: string | undefined;
198
+ linkedin_id?: string | number | undefined;
199
+ linkedin_url?: string | undefined;
200
+ linkedin_handle?: string | undefined;
201
+ current_position?: {
202
+ title?: string | undefined;
203
+ company?: {
204
+ name?: string | undefined;
205
+ domain?: string | undefined;
206
+ linkedin_id?: string | number | undefined;
207
+ industry?: string | undefined;
208
+ linkedin_url?: string | undefined;
209
+ headquarters?: {
210
+ city?: string | undefined;
211
+ country?: string | undefined;
212
+ } | undefined;
213
+ } | undefined;
214
+ start_date?: string | undefined;
215
+ end_date?: string | undefined;
216
+ } | undefined;
217
+ }>;
218
+ /**
219
+ * Enriched contact information
220
+ */
221
+ export declare const EnrichedContactSchema: z.ZodObject<{
222
+ firstname: z.ZodOptional<z.ZodString>;
223
+ lastname: z.ZodOptional<z.ZodString>;
224
+ domain: z.ZodOptional<z.ZodString>;
225
+ most_probable_email: z.ZodOptional<z.ZodString>;
226
+ most_probable_personal_email: z.ZodOptional<z.ZodString>;
227
+ emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
228
+ email: z.ZodOptional<z.ZodString>;
229
+ status: z.ZodOptional<z.ZodString>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ status?: string | undefined;
232
+ email?: string | undefined;
233
+ }, {
234
+ status?: string | undefined;
235
+ email?: string | undefined;
236
+ }>, "many">>;
237
+ personal_emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
238
+ email: z.ZodOptional<z.ZodString>;
239
+ status: z.ZodOptional<z.ZodString>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ status?: string | undefined;
242
+ email?: string | undefined;
243
+ }, {
244
+ status?: string | undefined;
245
+ email?: string | undefined;
246
+ }>, "many">>;
247
+ most_probable_phone: z.ZodOptional<z.ZodString>;
248
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
249
+ phone: z.ZodOptional<z.ZodString>;
250
+ region: z.ZodOptional<z.ZodString>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ phone?: string | undefined;
253
+ region?: string | undefined;
254
+ }, {
255
+ phone?: string | undefined;
256
+ region?: string | undefined;
257
+ }>, "many">>;
258
+ social_medias: z.ZodOptional<z.ZodArray<z.ZodObject<{
259
+ url: z.ZodOptional<z.ZodString>;
260
+ type: z.ZodOptional<z.ZodString>;
261
+ }, "strip", z.ZodTypeAny, {
262
+ type?: string | undefined;
263
+ url?: string | undefined;
264
+ }, {
265
+ type?: string | undefined;
266
+ url?: string | undefined;
267
+ }>, "many">>;
268
+ profile: z.ZodOptional<z.ZodObject<{
269
+ linkedin_url: z.ZodOptional<z.ZodString>;
270
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
271
+ linkedin_handle: z.ZodOptional<z.ZodString>;
272
+ headline: z.ZodOptional<z.ZodString>;
273
+ location: z.ZodOptional<z.ZodString>;
274
+ current_position: z.ZodOptional<z.ZodObject<{
275
+ title: z.ZodOptional<z.ZodString>;
276
+ company: z.ZodOptional<z.ZodObject<{
277
+ name: z.ZodOptional<z.ZodString>;
278
+ domain: z.ZodOptional<z.ZodString>;
279
+ linkedin_url: z.ZodOptional<z.ZodString>;
280
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
281
+ industry: z.ZodOptional<z.ZodString>;
282
+ headquarters: z.ZodOptional<z.ZodObject<{
283
+ city: z.ZodOptional<z.ZodString>;
284
+ country: z.ZodOptional<z.ZodString>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ city?: string | undefined;
287
+ country?: string | undefined;
288
+ }, {
289
+ city?: string | undefined;
290
+ country?: string | undefined;
291
+ }>>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ name?: string | undefined;
294
+ domain?: string | undefined;
295
+ linkedin_id?: string | undefined;
296
+ industry?: string | undefined;
297
+ linkedin_url?: string | undefined;
298
+ headquarters?: {
299
+ city?: string | undefined;
300
+ country?: string | undefined;
301
+ } | undefined;
302
+ }, {
303
+ name?: string | undefined;
304
+ domain?: string | undefined;
305
+ linkedin_id?: string | number | undefined;
306
+ industry?: string | undefined;
307
+ linkedin_url?: string | undefined;
308
+ headquarters?: {
309
+ city?: string | undefined;
310
+ country?: string | undefined;
311
+ } | undefined;
312
+ }>>;
313
+ start_date: z.ZodOptional<z.ZodString>;
314
+ end_date: z.ZodOptional<z.ZodString>;
315
+ }, "strip", z.ZodTypeAny, {
316
+ title?: string | undefined;
317
+ company?: {
318
+ name?: string | undefined;
319
+ domain?: string | undefined;
320
+ linkedin_id?: string | undefined;
321
+ industry?: string | undefined;
322
+ linkedin_url?: string | undefined;
323
+ headquarters?: {
324
+ city?: string | undefined;
325
+ country?: string | undefined;
326
+ } | undefined;
327
+ } | undefined;
328
+ start_date?: string | undefined;
329
+ end_date?: string | undefined;
330
+ }, {
331
+ title?: string | undefined;
332
+ company?: {
333
+ name?: string | undefined;
334
+ domain?: string | undefined;
335
+ linkedin_id?: string | number | undefined;
336
+ industry?: string | undefined;
337
+ linkedin_url?: string | undefined;
338
+ headquarters?: {
339
+ city?: string | undefined;
340
+ country?: string | undefined;
341
+ } | undefined;
342
+ } | undefined;
343
+ start_date?: string | undefined;
344
+ end_date?: string | undefined;
345
+ }>>;
346
+ }, "strip", z.ZodTypeAny, {
347
+ location?: string | undefined;
348
+ headline?: string | undefined;
349
+ linkedin_id?: string | undefined;
350
+ linkedin_url?: string | undefined;
351
+ linkedin_handle?: string | undefined;
352
+ current_position?: {
353
+ title?: string | undefined;
354
+ company?: {
355
+ name?: string | undefined;
356
+ domain?: string | undefined;
357
+ linkedin_id?: string | undefined;
358
+ industry?: string | undefined;
359
+ linkedin_url?: string | undefined;
360
+ headquarters?: {
361
+ city?: string | undefined;
362
+ country?: string | undefined;
363
+ } | undefined;
364
+ } | undefined;
365
+ start_date?: string | undefined;
366
+ end_date?: string | undefined;
367
+ } | undefined;
368
+ }, {
369
+ location?: string | undefined;
370
+ headline?: string | undefined;
371
+ linkedin_id?: string | number | undefined;
372
+ linkedin_url?: string | undefined;
373
+ linkedin_handle?: string | undefined;
374
+ current_position?: {
375
+ title?: string | undefined;
376
+ company?: {
377
+ name?: string | undefined;
378
+ domain?: string | undefined;
379
+ linkedin_id?: string | number | undefined;
380
+ industry?: string | undefined;
381
+ linkedin_url?: string | undefined;
382
+ headquarters?: {
383
+ city?: string | undefined;
384
+ country?: string | undefined;
385
+ } | undefined;
386
+ } | undefined;
387
+ start_date?: string | undefined;
388
+ end_date?: string | undefined;
389
+ } | undefined;
390
+ }>>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ profile?: {
393
+ location?: string | undefined;
394
+ headline?: string | undefined;
395
+ linkedin_id?: string | undefined;
396
+ linkedin_url?: string | undefined;
397
+ linkedin_handle?: string | undefined;
398
+ current_position?: {
399
+ title?: string | undefined;
400
+ company?: {
401
+ name?: string | undefined;
402
+ domain?: string | undefined;
403
+ linkedin_id?: string | undefined;
404
+ industry?: string | undefined;
405
+ linkedin_url?: string | undefined;
406
+ headquarters?: {
407
+ city?: string | undefined;
408
+ country?: string | undefined;
409
+ } | undefined;
410
+ } | undefined;
411
+ start_date?: string | undefined;
412
+ end_date?: string | undefined;
413
+ } | undefined;
414
+ } | undefined;
415
+ domain?: string | undefined;
416
+ emails?: {
417
+ status?: string | undefined;
418
+ email?: string | undefined;
419
+ }[] | undefined;
420
+ phones?: {
421
+ phone?: string | undefined;
422
+ region?: string | undefined;
423
+ }[] | undefined;
424
+ firstname?: string | undefined;
425
+ lastname?: string | undefined;
426
+ most_probable_email?: string | undefined;
427
+ most_probable_personal_email?: string | undefined;
428
+ personal_emails?: {
429
+ status?: string | undefined;
430
+ email?: string | undefined;
431
+ }[] | undefined;
432
+ most_probable_phone?: string | undefined;
433
+ social_medias?: {
434
+ type?: string | undefined;
435
+ url?: string | undefined;
436
+ }[] | undefined;
437
+ }, {
438
+ profile?: {
439
+ location?: string | undefined;
440
+ headline?: string | undefined;
441
+ linkedin_id?: string | number | undefined;
442
+ linkedin_url?: string | undefined;
443
+ linkedin_handle?: string | undefined;
444
+ current_position?: {
445
+ title?: string | undefined;
446
+ company?: {
447
+ name?: string | undefined;
448
+ domain?: string | undefined;
449
+ linkedin_id?: string | number | undefined;
450
+ industry?: string | undefined;
451
+ linkedin_url?: string | undefined;
452
+ headquarters?: {
453
+ city?: string | undefined;
454
+ country?: string | undefined;
455
+ } | undefined;
456
+ } | undefined;
457
+ start_date?: string | undefined;
458
+ end_date?: string | undefined;
459
+ } | undefined;
460
+ } | undefined;
461
+ domain?: string | undefined;
462
+ emails?: {
463
+ status?: string | undefined;
464
+ email?: string | undefined;
465
+ }[] | undefined;
466
+ phones?: {
467
+ phone?: string | undefined;
468
+ region?: string | undefined;
469
+ }[] | undefined;
470
+ firstname?: string | undefined;
471
+ lastname?: string | undefined;
472
+ most_probable_email?: string | undefined;
473
+ most_probable_personal_email?: string | undefined;
474
+ personal_emails?: {
475
+ status?: string | undefined;
476
+ email?: string | undefined;
477
+ }[] | undefined;
478
+ most_probable_phone?: string | undefined;
479
+ social_medias?: {
480
+ type?: string | undefined;
481
+ url?: string | undefined;
482
+ }[] | undefined;
483
+ }>;
484
+ /**
485
+ * Single enrichment record
486
+ */
487
+ export declare const EnrichmentRecordSchema: z.ZodObject<{
488
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
489
+ contact: z.ZodOptional<z.ZodObject<{
490
+ firstname: z.ZodOptional<z.ZodString>;
491
+ lastname: z.ZodOptional<z.ZodString>;
492
+ domain: z.ZodOptional<z.ZodString>;
493
+ most_probable_email: z.ZodOptional<z.ZodString>;
494
+ most_probable_personal_email: z.ZodOptional<z.ZodString>;
495
+ emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
496
+ email: z.ZodOptional<z.ZodString>;
497
+ status: z.ZodOptional<z.ZodString>;
498
+ }, "strip", z.ZodTypeAny, {
499
+ status?: string | undefined;
500
+ email?: string | undefined;
501
+ }, {
502
+ status?: string | undefined;
503
+ email?: string | undefined;
504
+ }>, "many">>;
505
+ personal_emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
506
+ email: z.ZodOptional<z.ZodString>;
507
+ status: z.ZodOptional<z.ZodString>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ status?: string | undefined;
510
+ email?: string | undefined;
511
+ }, {
512
+ status?: string | undefined;
513
+ email?: string | undefined;
514
+ }>, "many">>;
515
+ most_probable_phone: z.ZodOptional<z.ZodString>;
516
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
517
+ phone: z.ZodOptional<z.ZodString>;
518
+ region: z.ZodOptional<z.ZodString>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ phone?: string | undefined;
521
+ region?: string | undefined;
522
+ }, {
523
+ phone?: string | undefined;
524
+ region?: string | undefined;
525
+ }>, "many">>;
526
+ social_medias: z.ZodOptional<z.ZodArray<z.ZodObject<{
527
+ url: z.ZodOptional<z.ZodString>;
528
+ type: z.ZodOptional<z.ZodString>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ type?: string | undefined;
531
+ url?: string | undefined;
532
+ }, {
533
+ type?: string | undefined;
534
+ url?: string | undefined;
535
+ }>, "many">>;
536
+ profile: z.ZodOptional<z.ZodObject<{
537
+ linkedin_url: z.ZodOptional<z.ZodString>;
538
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
539
+ linkedin_handle: z.ZodOptional<z.ZodString>;
540
+ headline: z.ZodOptional<z.ZodString>;
541
+ location: z.ZodOptional<z.ZodString>;
542
+ current_position: z.ZodOptional<z.ZodObject<{
543
+ title: z.ZodOptional<z.ZodString>;
544
+ company: z.ZodOptional<z.ZodObject<{
545
+ name: z.ZodOptional<z.ZodString>;
546
+ domain: z.ZodOptional<z.ZodString>;
547
+ linkedin_url: z.ZodOptional<z.ZodString>;
548
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
549
+ industry: z.ZodOptional<z.ZodString>;
550
+ headquarters: z.ZodOptional<z.ZodObject<{
551
+ city: z.ZodOptional<z.ZodString>;
552
+ country: z.ZodOptional<z.ZodString>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ city?: string | undefined;
555
+ country?: string | undefined;
556
+ }, {
557
+ city?: string | undefined;
558
+ country?: string | undefined;
559
+ }>>;
560
+ }, "strip", z.ZodTypeAny, {
561
+ name?: string | undefined;
562
+ domain?: string | undefined;
563
+ linkedin_id?: string | undefined;
564
+ industry?: string | undefined;
565
+ linkedin_url?: string | undefined;
566
+ headquarters?: {
567
+ city?: string | undefined;
568
+ country?: string | undefined;
569
+ } | undefined;
570
+ }, {
571
+ name?: string | undefined;
572
+ domain?: string | undefined;
573
+ linkedin_id?: string | number | undefined;
574
+ industry?: string | undefined;
575
+ linkedin_url?: string | undefined;
576
+ headquarters?: {
577
+ city?: string | undefined;
578
+ country?: string | undefined;
579
+ } | undefined;
580
+ }>>;
581
+ start_date: z.ZodOptional<z.ZodString>;
582
+ end_date: z.ZodOptional<z.ZodString>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ title?: string | undefined;
585
+ company?: {
586
+ name?: string | undefined;
587
+ domain?: string | undefined;
588
+ linkedin_id?: string | undefined;
589
+ industry?: string | undefined;
590
+ linkedin_url?: string | undefined;
591
+ headquarters?: {
592
+ city?: string | undefined;
593
+ country?: string | undefined;
594
+ } | undefined;
595
+ } | undefined;
596
+ start_date?: string | undefined;
597
+ end_date?: string | undefined;
598
+ }, {
599
+ title?: string | undefined;
600
+ company?: {
601
+ name?: string | undefined;
602
+ domain?: string | undefined;
603
+ linkedin_id?: string | number | undefined;
604
+ industry?: string | undefined;
605
+ linkedin_url?: string | undefined;
606
+ headquarters?: {
607
+ city?: string | undefined;
608
+ country?: string | undefined;
609
+ } | undefined;
610
+ } | undefined;
611
+ start_date?: string | undefined;
612
+ end_date?: string | undefined;
613
+ }>>;
614
+ }, "strip", z.ZodTypeAny, {
615
+ location?: string | undefined;
616
+ headline?: string | undefined;
617
+ linkedin_id?: string | undefined;
618
+ linkedin_url?: string | undefined;
619
+ linkedin_handle?: string | undefined;
620
+ current_position?: {
621
+ title?: string | undefined;
622
+ company?: {
623
+ name?: string | undefined;
624
+ domain?: string | undefined;
625
+ linkedin_id?: string | undefined;
626
+ industry?: string | undefined;
627
+ linkedin_url?: string | undefined;
628
+ headquarters?: {
629
+ city?: string | undefined;
630
+ country?: string | undefined;
631
+ } | undefined;
632
+ } | undefined;
633
+ start_date?: string | undefined;
634
+ end_date?: string | undefined;
635
+ } | undefined;
636
+ }, {
637
+ location?: string | undefined;
638
+ headline?: string | undefined;
639
+ linkedin_id?: string | number | undefined;
640
+ linkedin_url?: string | undefined;
641
+ linkedin_handle?: string | undefined;
642
+ current_position?: {
643
+ title?: string | undefined;
644
+ company?: {
645
+ name?: string | undefined;
646
+ domain?: string | undefined;
647
+ linkedin_id?: string | number | undefined;
648
+ industry?: string | undefined;
649
+ linkedin_url?: string | undefined;
650
+ headquarters?: {
651
+ city?: string | undefined;
652
+ country?: string | undefined;
653
+ } | undefined;
654
+ } | undefined;
655
+ start_date?: string | undefined;
656
+ end_date?: string | undefined;
657
+ } | undefined;
658
+ }>>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ profile?: {
661
+ location?: string | undefined;
662
+ headline?: string | undefined;
663
+ linkedin_id?: string | undefined;
664
+ linkedin_url?: string | undefined;
665
+ linkedin_handle?: string | undefined;
666
+ current_position?: {
667
+ title?: string | undefined;
668
+ company?: {
669
+ name?: string | undefined;
670
+ domain?: string | undefined;
671
+ linkedin_id?: string | undefined;
672
+ industry?: string | undefined;
673
+ linkedin_url?: string | undefined;
674
+ headquarters?: {
675
+ city?: string | undefined;
676
+ country?: string | undefined;
677
+ } | undefined;
678
+ } | undefined;
679
+ start_date?: string | undefined;
680
+ end_date?: string | undefined;
681
+ } | undefined;
682
+ } | undefined;
683
+ domain?: string | undefined;
684
+ emails?: {
685
+ status?: string | undefined;
686
+ email?: string | undefined;
687
+ }[] | undefined;
688
+ phones?: {
689
+ phone?: string | undefined;
690
+ region?: string | undefined;
691
+ }[] | undefined;
692
+ firstname?: string | undefined;
693
+ lastname?: string | undefined;
694
+ most_probable_email?: string | undefined;
695
+ most_probable_personal_email?: string | undefined;
696
+ personal_emails?: {
697
+ status?: string | undefined;
698
+ email?: string | undefined;
699
+ }[] | undefined;
700
+ most_probable_phone?: string | undefined;
701
+ social_medias?: {
702
+ type?: string | undefined;
703
+ url?: string | undefined;
704
+ }[] | undefined;
705
+ }, {
706
+ profile?: {
707
+ location?: string | undefined;
708
+ headline?: string | undefined;
709
+ linkedin_id?: string | number | undefined;
710
+ linkedin_url?: string | undefined;
711
+ linkedin_handle?: string | undefined;
712
+ current_position?: {
713
+ title?: string | undefined;
714
+ company?: {
715
+ name?: string | undefined;
716
+ domain?: string | undefined;
717
+ linkedin_id?: string | number | undefined;
718
+ industry?: string | undefined;
719
+ linkedin_url?: string | undefined;
720
+ headquarters?: {
721
+ city?: string | undefined;
722
+ country?: string | undefined;
723
+ } | undefined;
724
+ } | undefined;
725
+ start_date?: string | undefined;
726
+ end_date?: string | undefined;
727
+ } | undefined;
728
+ } | undefined;
729
+ domain?: string | undefined;
730
+ emails?: {
731
+ status?: string | undefined;
732
+ email?: string | undefined;
733
+ }[] | undefined;
734
+ phones?: {
735
+ phone?: string | undefined;
736
+ region?: string | undefined;
737
+ }[] | undefined;
738
+ firstname?: string | undefined;
739
+ lastname?: string | undefined;
740
+ most_probable_email?: string | undefined;
741
+ most_probable_personal_email?: string | undefined;
742
+ personal_emails?: {
743
+ status?: string | undefined;
744
+ email?: string | undefined;
745
+ }[] | undefined;
746
+ most_probable_phone?: string | undefined;
747
+ social_medias?: {
748
+ type?: string | undefined;
749
+ url?: string | undefined;
750
+ }[] | undefined;
751
+ }>>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ custom?: Record<string, string> | undefined;
754
+ contact?: {
755
+ profile?: {
756
+ location?: string | undefined;
757
+ headline?: string | undefined;
758
+ linkedin_id?: string | undefined;
759
+ linkedin_url?: string | undefined;
760
+ linkedin_handle?: string | undefined;
761
+ current_position?: {
762
+ title?: string | undefined;
763
+ company?: {
764
+ name?: string | undefined;
765
+ domain?: string | undefined;
766
+ linkedin_id?: string | undefined;
767
+ industry?: string | undefined;
768
+ linkedin_url?: string | undefined;
769
+ headquarters?: {
770
+ city?: string | undefined;
771
+ country?: string | undefined;
772
+ } | undefined;
773
+ } | undefined;
774
+ start_date?: string | undefined;
775
+ end_date?: string | undefined;
776
+ } | undefined;
777
+ } | undefined;
778
+ domain?: string | undefined;
779
+ emails?: {
780
+ status?: string | undefined;
781
+ email?: string | undefined;
782
+ }[] | undefined;
783
+ phones?: {
784
+ phone?: string | undefined;
785
+ region?: string | undefined;
786
+ }[] | undefined;
787
+ firstname?: string | undefined;
788
+ lastname?: string | undefined;
789
+ most_probable_email?: string | undefined;
790
+ most_probable_personal_email?: string | undefined;
791
+ personal_emails?: {
792
+ status?: string | undefined;
793
+ email?: string | undefined;
794
+ }[] | undefined;
795
+ most_probable_phone?: string | undefined;
796
+ social_medias?: {
797
+ type?: string | undefined;
798
+ url?: string | undefined;
799
+ }[] | undefined;
800
+ } | undefined;
801
+ }, {
802
+ custom?: Record<string, string> | undefined;
803
+ contact?: {
804
+ profile?: {
805
+ location?: string | undefined;
806
+ headline?: string | undefined;
807
+ linkedin_id?: string | number | undefined;
808
+ linkedin_url?: string | undefined;
809
+ linkedin_handle?: string | undefined;
810
+ current_position?: {
811
+ title?: string | undefined;
812
+ company?: {
813
+ name?: string | undefined;
814
+ domain?: string | undefined;
815
+ linkedin_id?: string | number | undefined;
816
+ industry?: string | undefined;
817
+ linkedin_url?: string | undefined;
818
+ headquarters?: {
819
+ city?: string | undefined;
820
+ country?: string | undefined;
821
+ } | undefined;
822
+ } | undefined;
823
+ start_date?: string | undefined;
824
+ end_date?: string | undefined;
825
+ } | undefined;
826
+ } | undefined;
827
+ domain?: string | undefined;
828
+ emails?: {
829
+ status?: string | undefined;
830
+ email?: string | undefined;
831
+ }[] | undefined;
832
+ phones?: {
833
+ phone?: string | undefined;
834
+ region?: string | undefined;
835
+ }[] | undefined;
836
+ firstname?: string | undefined;
837
+ lastname?: string | undefined;
838
+ most_probable_email?: string | undefined;
839
+ most_probable_personal_email?: string | undefined;
840
+ personal_emails?: {
841
+ status?: string | undefined;
842
+ email?: string | undefined;
843
+ }[] | undefined;
844
+ most_probable_phone?: string | undefined;
845
+ social_medias?: {
846
+ type?: string | undefined;
847
+ url?: string | undefined;
848
+ }[] | undefined;
849
+ } | undefined;
850
+ }>;
851
+ /**
852
+ * Cost information for an enrichment
853
+ */
854
+ export declare const CostSchema: z.ZodObject<{
855
+ credits: z.ZodOptional<z.ZodNumber>;
856
+ }, "strip", z.ZodTypeAny, {
857
+ credits?: number | undefined;
858
+ }, {
859
+ credits?: number | undefined;
860
+ }>;
861
+ /**
862
+ * Contact to be enriched
863
+ */
864
+ export declare const ContactToEnrichSchema: z.ZodObject<{
865
+ firstname: z.ZodOptional<z.ZodString>;
866
+ lastname: z.ZodOptional<z.ZodString>;
867
+ domain: z.ZodOptional<z.ZodString>;
868
+ company_name: z.ZodOptional<z.ZodString>;
869
+ linkedin_url: z.ZodOptional<z.ZodString>;
870
+ enrich_fields: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["contact.emails", "contact.personal_emails"]>, "many">>>;
871
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ enrich_fields: ("contact.emails" | "contact.personal_emails")[];
874
+ custom?: Record<string, string> | undefined;
875
+ domain?: string | undefined;
876
+ company_name?: string | undefined;
877
+ linkedin_url?: string | undefined;
878
+ firstname?: string | undefined;
879
+ lastname?: string | undefined;
880
+ }, {
881
+ custom?: Record<string, string> | undefined;
882
+ domain?: string | undefined;
883
+ company_name?: string | undefined;
884
+ linkedin_url?: string | undefined;
885
+ firstname?: string | undefined;
886
+ lastname?: string | undefined;
887
+ enrich_fields?: ("contact.emails" | "contact.personal_emails")[] | undefined;
888
+ }>;
889
+ export declare const FullEnrichParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
890
+ operation: z.ZodLiteral<"start_bulk_enrichment">;
891
+ name: z.ZodString;
892
+ webhook_url: z.ZodOptional<z.ZodString>;
893
+ contacts: z.ZodArray<z.ZodObject<{
894
+ firstname: z.ZodOptional<z.ZodString>;
895
+ lastname: z.ZodOptional<z.ZodString>;
896
+ domain: z.ZodOptional<z.ZodString>;
897
+ company_name: z.ZodOptional<z.ZodString>;
898
+ linkedin_url: z.ZodOptional<z.ZodString>;
899
+ enrich_fields: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["contact.emails", "contact.personal_emails"]>, "many">>>;
900
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ enrich_fields: ("contact.emails" | "contact.personal_emails")[];
903
+ custom?: Record<string, string> | undefined;
904
+ domain?: string | undefined;
905
+ company_name?: string | undefined;
906
+ linkedin_url?: string | undefined;
907
+ firstname?: string | undefined;
908
+ lastname?: string | undefined;
909
+ }, {
910
+ custom?: Record<string, string> | undefined;
911
+ domain?: string | undefined;
912
+ company_name?: string | undefined;
913
+ linkedin_url?: string | undefined;
914
+ firstname?: string | undefined;
915
+ lastname?: string | undefined;
916
+ enrich_fields?: ("contact.emails" | "contact.personal_emails")[] | undefined;
917
+ }>, "many">;
918
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ name: string;
921
+ operation: "start_bulk_enrichment";
922
+ contacts: {
923
+ enrich_fields: ("contact.emails" | "contact.personal_emails")[];
924
+ custom?: Record<string, string> | undefined;
925
+ domain?: string | undefined;
926
+ company_name?: string | undefined;
927
+ linkedin_url?: string | undefined;
928
+ firstname?: string | undefined;
929
+ lastname?: string | undefined;
930
+ }[];
931
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
932
+ webhook_url?: string | undefined;
933
+ }, {
934
+ name: string;
935
+ operation: "start_bulk_enrichment";
936
+ contacts: {
937
+ custom?: Record<string, string> | undefined;
938
+ domain?: string | undefined;
939
+ company_name?: string | undefined;
940
+ linkedin_url?: string | undefined;
941
+ firstname?: string | undefined;
942
+ lastname?: string | undefined;
943
+ enrich_fields?: ("contact.emails" | "contact.personal_emails")[] | undefined;
944
+ }[];
945
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
946
+ webhook_url?: string | undefined;
947
+ }>, z.ZodObject<{
948
+ operation: z.ZodLiteral<"get_enrichment_result">;
949
+ enrichment_id: z.ZodString;
950
+ force_results: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
951
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
952
+ }, "strip", z.ZodTypeAny, {
953
+ operation: "get_enrichment_result";
954
+ enrichment_id: string;
955
+ force_results: boolean;
956
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
957
+ }, {
958
+ operation: "get_enrichment_result";
959
+ enrichment_id: string;
960
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
961
+ force_results?: boolean | undefined;
962
+ }>, z.ZodObject<{
963
+ operation: z.ZodLiteral<"start_reverse_email_lookup">;
964
+ name: z.ZodString;
965
+ webhook_url: z.ZodOptional<z.ZodString>;
966
+ emails: z.ZodArray<z.ZodString, "many">;
967
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ name: string;
970
+ operation: "start_reverse_email_lookup";
971
+ emails: string[];
972
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
973
+ webhook_url?: string | undefined;
974
+ }, {
975
+ name: string;
976
+ operation: "start_reverse_email_lookup";
977
+ emails: string[];
978
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
979
+ webhook_url?: string | undefined;
980
+ }>, z.ZodObject<{
981
+ operation: z.ZodLiteral<"get_reverse_email_result">;
982
+ reverse_email_id: z.ZodString;
983
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
984
+ }, "strip", z.ZodTypeAny, {
985
+ operation: "get_reverse_email_result";
986
+ reverse_email_id: string;
987
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
988
+ }, {
989
+ operation: "get_reverse_email_result";
990
+ reverse_email_id: string;
991
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
992
+ }>, z.ZodObject<{
993
+ operation: z.ZodLiteral<"get_credit_balance">;
994
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ operation: "get_credit_balance";
997
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
998
+ }, {
999
+ operation: "get_credit_balance";
1000
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1001
+ }>, z.ZodObject<{
1002
+ operation: z.ZodLiteral<"check_api_key">;
1003
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1004
+ }, "strip", z.ZodTypeAny, {
1005
+ operation: "check_api_key";
1006
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1007
+ }, {
1008
+ operation: "check_api_key";
1009
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1010
+ }>]>;
1011
+ export declare const FullEnrichResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1012
+ operation: z.ZodLiteral<"start_bulk_enrichment">;
1013
+ success: z.ZodBoolean;
1014
+ enrichment_id: z.ZodOptional<z.ZodString>;
1015
+ error: z.ZodString;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ success: boolean;
1018
+ error: string;
1019
+ operation: "start_bulk_enrichment";
1020
+ enrichment_id?: string | undefined;
1021
+ }, {
1022
+ success: boolean;
1023
+ error: string;
1024
+ operation: "start_bulk_enrichment";
1025
+ enrichment_id?: string | undefined;
1026
+ }>, z.ZodObject<{
1027
+ operation: z.ZodLiteral<"get_enrichment_result">;
1028
+ success: z.ZodBoolean;
1029
+ id: z.ZodOptional<z.ZodString>;
1030
+ name: z.ZodOptional<z.ZodString>;
1031
+ status: z.ZodOptional<z.ZodEnum<["CREATED", "IN_PROGRESS", "CANCELED", "CREDITS_INSUFFICIENT", "FINISHED", "RATE_LIMIT", "UNKNOWN"]>>;
1032
+ results: z.ZodOptional<z.ZodArray<z.ZodObject<{
1033
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1034
+ contact: z.ZodOptional<z.ZodObject<{
1035
+ firstname: z.ZodOptional<z.ZodString>;
1036
+ lastname: z.ZodOptional<z.ZodString>;
1037
+ domain: z.ZodOptional<z.ZodString>;
1038
+ most_probable_email: z.ZodOptional<z.ZodString>;
1039
+ most_probable_personal_email: z.ZodOptional<z.ZodString>;
1040
+ emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
1041
+ email: z.ZodOptional<z.ZodString>;
1042
+ status: z.ZodOptional<z.ZodString>;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ status?: string | undefined;
1045
+ email?: string | undefined;
1046
+ }, {
1047
+ status?: string | undefined;
1048
+ email?: string | undefined;
1049
+ }>, "many">>;
1050
+ personal_emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
1051
+ email: z.ZodOptional<z.ZodString>;
1052
+ status: z.ZodOptional<z.ZodString>;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ status?: string | undefined;
1055
+ email?: string | undefined;
1056
+ }, {
1057
+ status?: string | undefined;
1058
+ email?: string | undefined;
1059
+ }>, "many">>;
1060
+ most_probable_phone: z.ZodOptional<z.ZodString>;
1061
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1062
+ phone: z.ZodOptional<z.ZodString>;
1063
+ region: z.ZodOptional<z.ZodString>;
1064
+ }, "strip", z.ZodTypeAny, {
1065
+ phone?: string | undefined;
1066
+ region?: string | undefined;
1067
+ }, {
1068
+ phone?: string | undefined;
1069
+ region?: string | undefined;
1070
+ }>, "many">>;
1071
+ social_medias: z.ZodOptional<z.ZodArray<z.ZodObject<{
1072
+ url: z.ZodOptional<z.ZodString>;
1073
+ type: z.ZodOptional<z.ZodString>;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ type?: string | undefined;
1076
+ url?: string | undefined;
1077
+ }, {
1078
+ type?: string | undefined;
1079
+ url?: string | undefined;
1080
+ }>, "many">>;
1081
+ profile: z.ZodOptional<z.ZodObject<{
1082
+ linkedin_url: z.ZodOptional<z.ZodString>;
1083
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
1084
+ linkedin_handle: z.ZodOptional<z.ZodString>;
1085
+ headline: z.ZodOptional<z.ZodString>;
1086
+ location: z.ZodOptional<z.ZodString>;
1087
+ current_position: z.ZodOptional<z.ZodObject<{
1088
+ title: z.ZodOptional<z.ZodString>;
1089
+ company: z.ZodOptional<z.ZodObject<{
1090
+ name: z.ZodOptional<z.ZodString>;
1091
+ domain: z.ZodOptional<z.ZodString>;
1092
+ linkedin_url: z.ZodOptional<z.ZodString>;
1093
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
1094
+ industry: z.ZodOptional<z.ZodString>;
1095
+ headquarters: z.ZodOptional<z.ZodObject<{
1096
+ city: z.ZodOptional<z.ZodString>;
1097
+ country: z.ZodOptional<z.ZodString>;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ city?: string | undefined;
1100
+ country?: string | undefined;
1101
+ }, {
1102
+ city?: string | undefined;
1103
+ country?: string | undefined;
1104
+ }>>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ name?: string | undefined;
1107
+ domain?: string | undefined;
1108
+ linkedin_id?: string | undefined;
1109
+ industry?: string | undefined;
1110
+ linkedin_url?: string | undefined;
1111
+ headquarters?: {
1112
+ city?: string | undefined;
1113
+ country?: string | undefined;
1114
+ } | undefined;
1115
+ }, {
1116
+ name?: string | undefined;
1117
+ domain?: string | undefined;
1118
+ linkedin_id?: string | number | undefined;
1119
+ industry?: string | undefined;
1120
+ linkedin_url?: string | undefined;
1121
+ headquarters?: {
1122
+ city?: string | undefined;
1123
+ country?: string | undefined;
1124
+ } | undefined;
1125
+ }>>;
1126
+ start_date: z.ZodOptional<z.ZodString>;
1127
+ end_date: z.ZodOptional<z.ZodString>;
1128
+ }, "strip", z.ZodTypeAny, {
1129
+ title?: string | undefined;
1130
+ company?: {
1131
+ name?: string | undefined;
1132
+ domain?: string | undefined;
1133
+ linkedin_id?: string | undefined;
1134
+ industry?: string | undefined;
1135
+ linkedin_url?: string | undefined;
1136
+ headquarters?: {
1137
+ city?: string | undefined;
1138
+ country?: string | undefined;
1139
+ } | undefined;
1140
+ } | undefined;
1141
+ start_date?: string | undefined;
1142
+ end_date?: string | undefined;
1143
+ }, {
1144
+ title?: string | undefined;
1145
+ company?: {
1146
+ name?: string | undefined;
1147
+ domain?: string | undefined;
1148
+ linkedin_id?: string | number | undefined;
1149
+ industry?: string | undefined;
1150
+ linkedin_url?: string | undefined;
1151
+ headquarters?: {
1152
+ city?: string | undefined;
1153
+ country?: string | undefined;
1154
+ } | undefined;
1155
+ } | undefined;
1156
+ start_date?: string | undefined;
1157
+ end_date?: string | undefined;
1158
+ }>>;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ location?: string | undefined;
1161
+ headline?: string | undefined;
1162
+ linkedin_id?: string | undefined;
1163
+ linkedin_url?: string | undefined;
1164
+ linkedin_handle?: string | undefined;
1165
+ current_position?: {
1166
+ title?: string | undefined;
1167
+ company?: {
1168
+ name?: string | undefined;
1169
+ domain?: string | undefined;
1170
+ linkedin_id?: string | undefined;
1171
+ industry?: string | undefined;
1172
+ linkedin_url?: string | undefined;
1173
+ headquarters?: {
1174
+ city?: string | undefined;
1175
+ country?: string | undefined;
1176
+ } | undefined;
1177
+ } | undefined;
1178
+ start_date?: string | undefined;
1179
+ end_date?: string | undefined;
1180
+ } | undefined;
1181
+ }, {
1182
+ location?: string | undefined;
1183
+ headline?: string | undefined;
1184
+ linkedin_id?: string | number | undefined;
1185
+ linkedin_url?: string | undefined;
1186
+ linkedin_handle?: string | undefined;
1187
+ current_position?: {
1188
+ title?: string | undefined;
1189
+ company?: {
1190
+ name?: string | undefined;
1191
+ domain?: string | undefined;
1192
+ linkedin_id?: string | number | undefined;
1193
+ industry?: string | undefined;
1194
+ linkedin_url?: string | undefined;
1195
+ headquarters?: {
1196
+ city?: string | undefined;
1197
+ country?: string | undefined;
1198
+ } | undefined;
1199
+ } | undefined;
1200
+ start_date?: string | undefined;
1201
+ end_date?: string | undefined;
1202
+ } | undefined;
1203
+ }>>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ profile?: {
1206
+ location?: string | undefined;
1207
+ headline?: string | undefined;
1208
+ linkedin_id?: string | undefined;
1209
+ linkedin_url?: string | undefined;
1210
+ linkedin_handle?: string | undefined;
1211
+ current_position?: {
1212
+ title?: string | undefined;
1213
+ company?: {
1214
+ name?: string | undefined;
1215
+ domain?: string | undefined;
1216
+ linkedin_id?: string | undefined;
1217
+ industry?: string | undefined;
1218
+ linkedin_url?: string | undefined;
1219
+ headquarters?: {
1220
+ city?: string | undefined;
1221
+ country?: string | undefined;
1222
+ } | undefined;
1223
+ } | undefined;
1224
+ start_date?: string | undefined;
1225
+ end_date?: string | undefined;
1226
+ } | undefined;
1227
+ } | undefined;
1228
+ domain?: string | undefined;
1229
+ emails?: {
1230
+ status?: string | undefined;
1231
+ email?: string | undefined;
1232
+ }[] | undefined;
1233
+ phones?: {
1234
+ phone?: string | undefined;
1235
+ region?: string | undefined;
1236
+ }[] | undefined;
1237
+ firstname?: string | undefined;
1238
+ lastname?: string | undefined;
1239
+ most_probable_email?: string | undefined;
1240
+ most_probable_personal_email?: string | undefined;
1241
+ personal_emails?: {
1242
+ status?: string | undefined;
1243
+ email?: string | undefined;
1244
+ }[] | undefined;
1245
+ most_probable_phone?: string | undefined;
1246
+ social_medias?: {
1247
+ type?: string | undefined;
1248
+ url?: string | undefined;
1249
+ }[] | undefined;
1250
+ }, {
1251
+ profile?: {
1252
+ location?: string | undefined;
1253
+ headline?: string | undefined;
1254
+ linkedin_id?: string | number | undefined;
1255
+ linkedin_url?: string | undefined;
1256
+ linkedin_handle?: string | undefined;
1257
+ current_position?: {
1258
+ title?: string | undefined;
1259
+ company?: {
1260
+ name?: string | undefined;
1261
+ domain?: string | undefined;
1262
+ linkedin_id?: string | number | undefined;
1263
+ industry?: string | undefined;
1264
+ linkedin_url?: string | undefined;
1265
+ headquarters?: {
1266
+ city?: string | undefined;
1267
+ country?: string | undefined;
1268
+ } | undefined;
1269
+ } | undefined;
1270
+ start_date?: string | undefined;
1271
+ end_date?: string | undefined;
1272
+ } | undefined;
1273
+ } | undefined;
1274
+ domain?: string | undefined;
1275
+ emails?: {
1276
+ status?: string | undefined;
1277
+ email?: string | undefined;
1278
+ }[] | undefined;
1279
+ phones?: {
1280
+ phone?: string | undefined;
1281
+ region?: string | undefined;
1282
+ }[] | undefined;
1283
+ firstname?: string | undefined;
1284
+ lastname?: string | undefined;
1285
+ most_probable_email?: string | undefined;
1286
+ most_probable_personal_email?: string | undefined;
1287
+ personal_emails?: {
1288
+ status?: string | undefined;
1289
+ email?: string | undefined;
1290
+ }[] | undefined;
1291
+ most_probable_phone?: string | undefined;
1292
+ social_medias?: {
1293
+ type?: string | undefined;
1294
+ url?: string | undefined;
1295
+ }[] | undefined;
1296
+ }>>;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ custom?: Record<string, string> | undefined;
1299
+ contact?: {
1300
+ profile?: {
1301
+ location?: string | undefined;
1302
+ headline?: string | undefined;
1303
+ linkedin_id?: string | undefined;
1304
+ linkedin_url?: string | undefined;
1305
+ linkedin_handle?: string | undefined;
1306
+ current_position?: {
1307
+ title?: string | undefined;
1308
+ company?: {
1309
+ name?: string | undefined;
1310
+ domain?: string | undefined;
1311
+ linkedin_id?: string | undefined;
1312
+ industry?: string | undefined;
1313
+ linkedin_url?: string | undefined;
1314
+ headquarters?: {
1315
+ city?: string | undefined;
1316
+ country?: string | undefined;
1317
+ } | undefined;
1318
+ } | undefined;
1319
+ start_date?: string | undefined;
1320
+ end_date?: string | undefined;
1321
+ } | undefined;
1322
+ } | undefined;
1323
+ domain?: string | undefined;
1324
+ emails?: {
1325
+ status?: string | undefined;
1326
+ email?: string | undefined;
1327
+ }[] | undefined;
1328
+ phones?: {
1329
+ phone?: string | undefined;
1330
+ region?: string | undefined;
1331
+ }[] | undefined;
1332
+ firstname?: string | undefined;
1333
+ lastname?: string | undefined;
1334
+ most_probable_email?: string | undefined;
1335
+ most_probable_personal_email?: string | undefined;
1336
+ personal_emails?: {
1337
+ status?: string | undefined;
1338
+ email?: string | undefined;
1339
+ }[] | undefined;
1340
+ most_probable_phone?: string | undefined;
1341
+ social_medias?: {
1342
+ type?: string | undefined;
1343
+ url?: string | undefined;
1344
+ }[] | undefined;
1345
+ } | undefined;
1346
+ }, {
1347
+ custom?: Record<string, string> | undefined;
1348
+ contact?: {
1349
+ profile?: {
1350
+ location?: string | undefined;
1351
+ headline?: string | undefined;
1352
+ linkedin_id?: string | number | undefined;
1353
+ linkedin_url?: string | undefined;
1354
+ linkedin_handle?: string | undefined;
1355
+ current_position?: {
1356
+ title?: string | undefined;
1357
+ company?: {
1358
+ name?: string | undefined;
1359
+ domain?: string | undefined;
1360
+ linkedin_id?: string | number | undefined;
1361
+ industry?: string | undefined;
1362
+ linkedin_url?: string | undefined;
1363
+ headquarters?: {
1364
+ city?: string | undefined;
1365
+ country?: string | undefined;
1366
+ } | undefined;
1367
+ } | undefined;
1368
+ start_date?: string | undefined;
1369
+ end_date?: string | undefined;
1370
+ } | undefined;
1371
+ } | undefined;
1372
+ domain?: string | undefined;
1373
+ emails?: {
1374
+ status?: string | undefined;
1375
+ email?: string | undefined;
1376
+ }[] | undefined;
1377
+ phones?: {
1378
+ phone?: string | undefined;
1379
+ region?: string | undefined;
1380
+ }[] | undefined;
1381
+ firstname?: string | undefined;
1382
+ lastname?: string | undefined;
1383
+ most_probable_email?: string | undefined;
1384
+ most_probable_personal_email?: string | undefined;
1385
+ personal_emails?: {
1386
+ status?: string | undefined;
1387
+ email?: string | undefined;
1388
+ }[] | undefined;
1389
+ most_probable_phone?: string | undefined;
1390
+ social_medias?: {
1391
+ type?: string | undefined;
1392
+ url?: string | undefined;
1393
+ }[] | undefined;
1394
+ } | undefined;
1395
+ }>, "many">>;
1396
+ cost: z.ZodOptional<z.ZodObject<{
1397
+ credits: z.ZodOptional<z.ZodNumber>;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ credits?: number | undefined;
1400
+ }, {
1401
+ credits?: number | undefined;
1402
+ }>>;
1403
+ error: z.ZodString;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ success: boolean;
1406
+ error: string;
1407
+ operation: "get_enrichment_result";
1408
+ status?: "CREATED" | "IN_PROGRESS" | "CANCELED" | "CREDITS_INSUFFICIENT" | "FINISHED" | "RATE_LIMIT" | "UNKNOWN" | undefined;
1409
+ name?: string | undefined;
1410
+ id?: string | undefined;
1411
+ results?: {
1412
+ custom?: Record<string, string> | undefined;
1413
+ contact?: {
1414
+ profile?: {
1415
+ location?: string | undefined;
1416
+ headline?: string | undefined;
1417
+ linkedin_id?: string | undefined;
1418
+ linkedin_url?: string | undefined;
1419
+ linkedin_handle?: string | undefined;
1420
+ current_position?: {
1421
+ title?: string | undefined;
1422
+ company?: {
1423
+ name?: string | undefined;
1424
+ domain?: string | undefined;
1425
+ linkedin_id?: string | undefined;
1426
+ industry?: string | undefined;
1427
+ linkedin_url?: string | undefined;
1428
+ headquarters?: {
1429
+ city?: string | undefined;
1430
+ country?: string | undefined;
1431
+ } | undefined;
1432
+ } | undefined;
1433
+ start_date?: string | undefined;
1434
+ end_date?: string | undefined;
1435
+ } | undefined;
1436
+ } | undefined;
1437
+ domain?: string | undefined;
1438
+ emails?: {
1439
+ status?: string | undefined;
1440
+ email?: string | undefined;
1441
+ }[] | undefined;
1442
+ phones?: {
1443
+ phone?: string | undefined;
1444
+ region?: string | undefined;
1445
+ }[] | undefined;
1446
+ firstname?: string | undefined;
1447
+ lastname?: string | undefined;
1448
+ most_probable_email?: string | undefined;
1449
+ most_probable_personal_email?: string | undefined;
1450
+ personal_emails?: {
1451
+ status?: string | undefined;
1452
+ email?: string | undefined;
1453
+ }[] | undefined;
1454
+ most_probable_phone?: string | undefined;
1455
+ social_medias?: {
1456
+ type?: string | undefined;
1457
+ url?: string | undefined;
1458
+ }[] | undefined;
1459
+ } | undefined;
1460
+ }[] | undefined;
1461
+ cost?: {
1462
+ credits?: number | undefined;
1463
+ } | undefined;
1464
+ }, {
1465
+ success: boolean;
1466
+ error: string;
1467
+ operation: "get_enrichment_result";
1468
+ status?: "CREATED" | "IN_PROGRESS" | "CANCELED" | "CREDITS_INSUFFICIENT" | "FINISHED" | "RATE_LIMIT" | "UNKNOWN" | undefined;
1469
+ name?: string | undefined;
1470
+ id?: string | undefined;
1471
+ results?: {
1472
+ custom?: Record<string, string> | undefined;
1473
+ contact?: {
1474
+ profile?: {
1475
+ location?: string | undefined;
1476
+ headline?: string | undefined;
1477
+ linkedin_id?: string | number | undefined;
1478
+ linkedin_url?: string | undefined;
1479
+ linkedin_handle?: string | undefined;
1480
+ current_position?: {
1481
+ title?: string | undefined;
1482
+ company?: {
1483
+ name?: string | undefined;
1484
+ domain?: string | undefined;
1485
+ linkedin_id?: string | number | undefined;
1486
+ industry?: string | undefined;
1487
+ linkedin_url?: string | undefined;
1488
+ headquarters?: {
1489
+ city?: string | undefined;
1490
+ country?: string | undefined;
1491
+ } | undefined;
1492
+ } | undefined;
1493
+ start_date?: string | undefined;
1494
+ end_date?: string | undefined;
1495
+ } | undefined;
1496
+ } | undefined;
1497
+ domain?: string | undefined;
1498
+ emails?: {
1499
+ status?: string | undefined;
1500
+ email?: string | undefined;
1501
+ }[] | undefined;
1502
+ phones?: {
1503
+ phone?: string | undefined;
1504
+ region?: string | undefined;
1505
+ }[] | undefined;
1506
+ firstname?: string | undefined;
1507
+ lastname?: string | undefined;
1508
+ most_probable_email?: string | undefined;
1509
+ most_probable_personal_email?: string | undefined;
1510
+ personal_emails?: {
1511
+ status?: string | undefined;
1512
+ email?: string | undefined;
1513
+ }[] | undefined;
1514
+ most_probable_phone?: string | undefined;
1515
+ social_medias?: {
1516
+ type?: string | undefined;
1517
+ url?: string | undefined;
1518
+ }[] | undefined;
1519
+ } | undefined;
1520
+ }[] | undefined;
1521
+ cost?: {
1522
+ credits?: number | undefined;
1523
+ } | undefined;
1524
+ }>, z.ZodObject<{
1525
+ operation: z.ZodLiteral<"start_reverse_email_lookup">;
1526
+ success: z.ZodBoolean;
1527
+ enrichment_id: z.ZodOptional<z.ZodString>;
1528
+ error: z.ZodString;
1529
+ }, "strip", z.ZodTypeAny, {
1530
+ success: boolean;
1531
+ error: string;
1532
+ operation: "start_reverse_email_lookup";
1533
+ enrichment_id?: string | undefined;
1534
+ }, {
1535
+ success: boolean;
1536
+ error: string;
1537
+ operation: "start_reverse_email_lookup";
1538
+ enrichment_id?: string | undefined;
1539
+ }>, z.ZodObject<{
1540
+ operation: z.ZodLiteral<"get_reverse_email_result">;
1541
+ success: z.ZodBoolean;
1542
+ id: z.ZodOptional<z.ZodString>;
1543
+ name: z.ZodOptional<z.ZodString>;
1544
+ status: z.ZodOptional<z.ZodEnum<["CREATED", "IN_PROGRESS", "CANCELED", "CREDITS_INSUFFICIENT", "FINISHED", "RATE_LIMIT", "UNKNOWN"]>>;
1545
+ results: z.ZodOptional<z.ZodArray<z.ZodObject<{
1546
+ input: z.ZodOptional<z.ZodString>;
1547
+ contact: z.ZodOptional<z.ZodObject<{
1548
+ firstname: z.ZodOptional<z.ZodString>;
1549
+ lastname: z.ZodOptional<z.ZodString>;
1550
+ domain: z.ZodOptional<z.ZodString>;
1551
+ most_probable_email: z.ZodOptional<z.ZodString>;
1552
+ most_probable_personal_email: z.ZodOptional<z.ZodString>;
1553
+ emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
1554
+ email: z.ZodOptional<z.ZodString>;
1555
+ status: z.ZodOptional<z.ZodString>;
1556
+ }, "strip", z.ZodTypeAny, {
1557
+ status?: string | undefined;
1558
+ email?: string | undefined;
1559
+ }, {
1560
+ status?: string | undefined;
1561
+ email?: string | undefined;
1562
+ }>, "many">>;
1563
+ personal_emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
1564
+ email: z.ZodOptional<z.ZodString>;
1565
+ status: z.ZodOptional<z.ZodString>;
1566
+ }, "strip", z.ZodTypeAny, {
1567
+ status?: string | undefined;
1568
+ email?: string | undefined;
1569
+ }, {
1570
+ status?: string | undefined;
1571
+ email?: string | undefined;
1572
+ }>, "many">>;
1573
+ most_probable_phone: z.ZodOptional<z.ZodString>;
1574
+ phones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1575
+ phone: z.ZodOptional<z.ZodString>;
1576
+ region: z.ZodOptional<z.ZodString>;
1577
+ }, "strip", z.ZodTypeAny, {
1578
+ phone?: string | undefined;
1579
+ region?: string | undefined;
1580
+ }, {
1581
+ phone?: string | undefined;
1582
+ region?: string | undefined;
1583
+ }>, "many">>;
1584
+ social_medias: z.ZodOptional<z.ZodArray<z.ZodObject<{
1585
+ url: z.ZodOptional<z.ZodString>;
1586
+ type: z.ZodOptional<z.ZodString>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ type?: string | undefined;
1589
+ url?: string | undefined;
1590
+ }, {
1591
+ type?: string | undefined;
1592
+ url?: string | undefined;
1593
+ }>, "many">>;
1594
+ profile: z.ZodOptional<z.ZodObject<{
1595
+ linkedin_url: z.ZodOptional<z.ZodString>;
1596
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
1597
+ linkedin_handle: z.ZodOptional<z.ZodString>;
1598
+ headline: z.ZodOptional<z.ZodString>;
1599
+ location: z.ZodOptional<z.ZodString>;
1600
+ current_position: z.ZodOptional<z.ZodObject<{
1601
+ title: z.ZodOptional<z.ZodString>;
1602
+ company: z.ZodOptional<z.ZodObject<{
1603
+ name: z.ZodOptional<z.ZodString>;
1604
+ domain: z.ZodOptional<z.ZodString>;
1605
+ linkedin_url: z.ZodOptional<z.ZodString>;
1606
+ linkedin_id: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>, string | undefined, string | number | undefined>;
1607
+ industry: z.ZodOptional<z.ZodString>;
1608
+ headquarters: z.ZodOptional<z.ZodObject<{
1609
+ city: z.ZodOptional<z.ZodString>;
1610
+ country: z.ZodOptional<z.ZodString>;
1611
+ }, "strip", z.ZodTypeAny, {
1612
+ city?: string | undefined;
1613
+ country?: string | undefined;
1614
+ }, {
1615
+ city?: string | undefined;
1616
+ country?: string | undefined;
1617
+ }>>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ name?: string | undefined;
1620
+ domain?: string | undefined;
1621
+ linkedin_id?: string | undefined;
1622
+ industry?: string | undefined;
1623
+ linkedin_url?: string | undefined;
1624
+ headquarters?: {
1625
+ city?: string | undefined;
1626
+ country?: string | undefined;
1627
+ } | undefined;
1628
+ }, {
1629
+ name?: string | undefined;
1630
+ domain?: string | undefined;
1631
+ linkedin_id?: string | number | undefined;
1632
+ industry?: string | undefined;
1633
+ linkedin_url?: string | undefined;
1634
+ headquarters?: {
1635
+ city?: string | undefined;
1636
+ country?: string | undefined;
1637
+ } | undefined;
1638
+ }>>;
1639
+ start_date: z.ZodOptional<z.ZodString>;
1640
+ end_date: z.ZodOptional<z.ZodString>;
1641
+ }, "strip", z.ZodTypeAny, {
1642
+ title?: string | undefined;
1643
+ company?: {
1644
+ name?: string | undefined;
1645
+ domain?: string | undefined;
1646
+ linkedin_id?: string | undefined;
1647
+ industry?: string | undefined;
1648
+ linkedin_url?: string | undefined;
1649
+ headquarters?: {
1650
+ city?: string | undefined;
1651
+ country?: string | undefined;
1652
+ } | undefined;
1653
+ } | undefined;
1654
+ start_date?: string | undefined;
1655
+ end_date?: string | undefined;
1656
+ }, {
1657
+ title?: string | undefined;
1658
+ company?: {
1659
+ name?: string | undefined;
1660
+ domain?: string | undefined;
1661
+ linkedin_id?: string | number | undefined;
1662
+ industry?: string | undefined;
1663
+ linkedin_url?: string | undefined;
1664
+ headquarters?: {
1665
+ city?: string | undefined;
1666
+ country?: string | undefined;
1667
+ } | undefined;
1668
+ } | undefined;
1669
+ start_date?: string | undefined;
1670
+ end_date?: string | undefined;
1671
+ }>>;
1672
+ }, "strip", z.ZodTypeAny, {
1673
+ location?: string | undefined;
1674
+ headline?: string | undefined;
1675
+ linkedin_id?: string | undefined;
1676
+ linkedin_url?: string | undefined;
1677
+ linkedin_handle?: string | undefined;
1678
+ current_position?: {
1679
+ title?: string | undefined;
1680
+ company?: {
1681
+ name?: string | undefined;
1682
+ domain?: string | undefined;
1683
+ linkedin_id?: string | undefined;
1684
+ industry?: string | undefined;
1685
+ linkedin_url?: string | undefined;
1686
+ headquarters?: {
1687
+ city?: string | undefined;
1688
+ country?: string | undefined;
1689
+ } | undefined;
1690
+ } | undefined;
1691
+ start_date?: string | undefined;
1692
+ end_date?: string | undefined;
1693
+ } | undefined;
1694
+ }, {
1695
+ location?: string | undefined;
1696
+ headline?: string | undefined;
1697
+ linkedin_id?: string | number | undefined;
1698
+ linkedin_url?: string | undefined;
1699
+ linkedin_handle?: string | undefined;
1700
+ current_position?: {
1701
+ title?: string | undefined;
1702
+ company?: {
1703
+ name?: string | undefined;
1704
+ domain?: string | undefined;
1705
+ linkedin_id?: string | number | undefined;
1706
+ industry?: string | undefined;
1707
+ linkedin_url?: string | undefined;
1708
+ headquarters?: {
1709
+ city?: string | undefined;
1710
+ country?: string | undefined;
1711
+ } | undefined;
1712
+ } | undefined;
1713
+ start_date?: string | undefined;
1714
+ end_date?: string | undefined;
1715
+ } | undefined;
1716
+ }>>;
1717
+ }, "strip", z.ZodTypeAny, {
1718
+ profile?: {
1719
+ location?: string | undefined;
1720
+ headline?: string | undefined;
1721
+ linkedin_id?: string | undefined;
1722
+ linkedin_url?: string | undefined;
1723
+ linkedin_handle?: string | undefined;
1724
+ current_position?: {
1725
+ title?: string | undefined;
1726
+ company?: {
1727
+ name?: string | undefined;
1728
+ domain?: string | undefined;
1729
+ linkedin_id?: string | undefined;
1730
+ industry?: string | undefined;
1731
+ linkedin_url?: string | undefined;
1732
+ headquarters?: {
1733
+ city?: string | undefined;
1734
+ country?: string | undefined;
1735
+ } | undefined;
1736
+ } | undefined;
1737
+ start_date?: string | undefined;
1738
+ end_date?: string | undefined;
1739
+ } | undefined;
1740
+ } | undefined;
1741
+ domain?: string | undefined;
1742
+ emails?: {
1743
+ status?: string | undefined;
1744
+ email?: string | undefined;
1745
+ }[] | undefined;
1746
+ phones?: {
1747
+ phone?: string | undefined;
1748
+ region?: string | undefined;
1749
+ }[] | undefined;
1750
+ firstname?: string | undefined;
1751
+ lastname?: string | undefined;
1752
+ most_probable_email?: string | undefined;
1753
+ most_probable_personal_email?: string | undefined;
1754
+ personal_emails?: {
1755
+ status?: string | undefined;
1756
+ email?: string | undefined;
1757
+ }[] | undefined;
1758
+ most_probable_phone?: string | undefined;
1759
+ social_medias?: {
1760
+ type?: string | undefined;
1761
+ url?: string | undefined;
1762
+ }[] | undefined;
1763
+ }, {
1764
+ profile?: {
1765
+ location?: string | undefined;
1766
+ headline?: string | undefined;
1767
+ linkedin_id?: string | number | undefined;
1768
+ linkedin_url?: string | undefined;
1769
+ linkedin_handle?: string | undefined;
1770
+ current_position?: {
1771
+ title?: string | undefined;
1772
+ company?: {
1773
+ name?: string | undefined;
1774
+ domain?: string | undefined;
1775
+ linkedin_id?: string | number | undefined;
1776
+ industry?: string | undefined;
1777
+ linkedin_url?: string | undefined;
1778
+ headquarters?: {
1779
+ city?: string | undefined;
1780
+ country?: string | undefined;
1781
+ } | undefined;
1782
+ } | undefined;
1783
+ start_date?: string | undefined;
1784
+ end_date?: string | undefined;
1785
+ } | undefined;
1786
+ } | undefined;
1787
+ domain?: string | undefined;
1788
+ emails?: {
1789
+ status?: string | undefined;
1790
+ email?: string | undefined;
1791
+ }[] | undefined;
1792
+ phones?: {
1793
+ phone?: string | undefined;
1794
+ region?: string | undefined;
1795
+ }[] | undefined;
1796
+ firstname?: string | undefined;
1797
+ lastname?: string | undefined;
1798
+ most_probable_email?: string | undefined;
1799
+ most_probable_personal_email?: string | undefined;
1800
+ personal_emails?: {
1801
+ status?: string | undefined;
1802
+ email?: string | undefined;
1803
+ }[] | undefined;
1804
+ most_probable_phone?: string | undefined;
1805
+ social_medias?: {
1806
+ type?: string | undefined;
1807
+ url?: string | undefined;
1808
+ }[] | undefined;
1809
+ }>>;
1810
+ }, "strip", z.ZodTypeAny, {
1811
+ input?: string | undefined;
1812
+ contact?: {
1813
+ profile?: {
1814
+ location?: string | undefined;
1815
+ headline?: string | undefined;
1816
+ linkedin_id?: string | undefined;
1817
+ linkedin_url?: string | undefined;
1818
+ linkedin_handle?: string | undefined;
1819
+ current_position?: {
1820
+ title?: string | undefined;
1821
+ company?: {
1822
+ name?: string | undefined;
1823
+ domain?: string | undefined;
1824
+ linkedin_id?: string | undefined;
1825
+ industry?: string | undefined;
1826
+ linkedin_url?: string | undefined;
1827
+ headquarters?: {
1828
+ city?: string | undefined;
1829
+ country?: string | undefined;
1830
+ } | undefined;
1831
+ } | undefined;
1832
+ start_date?: string | undefined;
1833
+ end_date?: string | undefined;
1834
+ } | undefined;
1835
+ } | undefined;
1836
+ domain?: string | undefined;
1837
+ emails?: {
1838
+ status?: string | undefined;
1839
+ email?: string | undefined;
1840
+ }[] | undefined;
1841
+ phones?: {
1842
+ phone?: string | undefined;
1843
+ region?: string | undefined;
1844
+ }[] | undefined;
1845
+ firstname?: string | undefined;
1846
+ lastname?: string | undefined;
1847
+ most_probable_email?: string | undefined;
1848
+ most_probable_personal_email?: string | undefined;
1849
+ personal_emails?: {
1850
+ status?: string | undefined;
1851
+ email?: string | undefined;
1852
+ }[] | undefined;
1853
+ most_probable_phone?: string | undefined;
1854
+ social_medias?: {
1855
+ type?: string | undefined;
1856
+ url?: string | undefined;
1857
+ }[] | undefined;
1858
+ } | undefined;
1859
+ }, {
1860
+ input?: string | undefined;
1861
+ contact?: {
1862
+ profile?: {
1863
+ location?: string | undefined;
1864
+ headline?: string | undefined;
1865
+ linkedin_id?: string | number | undefined;
1866
+ linkedin_url?: string | undefined;
1867
+ linkedin_handle?: string | undefined;
1868
+ current_position?: {
1869
+ title?: string | undefined;
1870
+ company?: {
1871
+ name?: string | undefined;
1872
+ domain?: string | undefined;
1873
+ linkedin_id?: string | number | undefined;
1874
+ industry?: string | undefined;
1875
+ linkedin_url?: string | undefined;
1876
+ headquarters?: {
1877
+ city?: string | undefined;
1878
+ country?: string | undefined;
1879
+ } | undefined;
1880
+ } | undefined;
1881
+ start_date?: string | undefined;
1882
+ end_date?: string | undefined;
1883
+ } | undefined;
1884
+ } | undefined;
1885
+ domain?: string | undefined;
1886
+ emails?: {
1887
+ status?: string | undefined;
1888
+ email?: string | undefined;
1889
+ }[] | undefined;
1890
+ phones?: {
1891
+ phone?: string | undefined;
1892
+ region?: string | undefined;
1893
+ }[] | undefined;
1894
+ firstname?: string | undefined;
1895
+ lastname?: string | undefined;
1896
+ most_probable_email?: string | undefined;
1897
+ most_probable_personal_email?: string | undefined;
1898
+ personal_emails?: {
1899
+ status?: string | undefined;
1900
+ email?: string | undefined;
1901
+ }[] | undefined;
1902
+ most_probable_phone?: string | undefined;
1903
+ social_medias?: {
1904
+ type?: string | undefined;
1905
+ url?: string | undefined;
1906
+ }[] | undefined;
1907
+ } | undefined;
1908
+ }>, "many">>;
1909
+ cost: z.ZodOptional<z.ZodObject<{
1910
+ credits: z.ZodOptional<z.ZodNumber>;
1911
+ }, "strip", z.ZodTypeAny, {
1912
+ credits?: number | undefined;
1913
+ }, {
1914
+ credits?: number | undefined;
1915
+ }>>;
1916
+ error: z.ZodString;
1917
+ }, "strip", z.ZodTypeAny, {
1918
+ success: boolean;
1919
+ error: string;
1920
+ operation: "get_reverse_email_result";
1921
+ status?: "CREATED" | "IN_PROGRESS" | "CANCELED" | "CREDITS_INSUFFICIENT" | "FINISHED" | "RATE_LIMIT" | "UNKNOWN" | undefined;
1922
+ name?: string | undefined;
1923
+ id?: string | undefined;
1924
+ results?: {
1925
+ input?: string | undefined;
1926
+ contact?: {
1927
+ profile?: {
1928
+ location?: string | undefined;
1929
+ headline?: string | undefined;
1930
+ linkedin_id?: string | undefined;
1931
+ linkedin_url?: string | undefined;
1932
+ linkedin_handle?: string | undefined;
1933
+ current_position?: {
1934
+ title?: string | undefined;
1935
+ company?: {
1936
+ name?: string | undefined;
1937
+ domain?: string | undefined;
1938
+ linkedin_id?: string | undefined;
1939
+ industry?: string | undefined;
1940
+ linkedin_url?: string | undefined;
1941
+ headquarters?: {
1942
+ city?: string | undefined;
1943
+ country?: string | undefined;
1944
+ } | undefined;
1945
+ } | undefined;
1946
+ start_date?: string | undefined;
1947
+ end_date?: string | undefined;
1948
+ } | undefined;
1949
+ } | undefined;
1950
+ domain?: string | undefined;
1951
+ emails?: {
1952
+ status?: string | undefined;
1953
+ email?: string | undefined;
1954
+ }[] | undefined;
1955
+ phones?: {
1956
+ phone?: string | undefined;
1957
+ region?: string | undefined;
1958
+ }[] | undefined;
1959
+ firstname?: string | undefined;
1960
+ lastname?: string | undefined;
1961
+ most_probable_email?: string | undefined;
1962
+ most_probable_personal_email?: string | undefined;
1963
+ personal_emails?: {
1964
+ status?: string | undefined;
1965
+ email?: string | undefined;
1966
+ }[] | undefined;
1967
+ most_probable_phone?: string | undefined;
1968
+ social_medias?: {
1969
+ type?: string | undefined;
1970
+ url?: string | undefined;
1971
+ }[] | undefined;
1972
+ } | undefined;
1973
+ }[] | undefined;
1974
+ cost?: {
1975
+ credits?: number | undefined;
1976
+ } | undefined;
1977
+ }, {
1978
+ success: boolean;
1979
+ error: string;
1980
+ operation: "get_reverse_email_result";
1981
+ status?: "CREATED" | "IN_PROGRESS" | "CANCELED" | "CREDITS_INSUFFICIENT" | "FINISHED" | "RATE_LIMIT" | "UNKNOWN" | undefined;
1982
+ name?: string | undefined;
1983
+ id?: string | undefined;
1984
+ results?: {
1985
+ input?: string | undefined;
1986
+ contact?: {
1987
+ profile?: {
1988
+ location?: string | undefined;
1989
+ headline?: string | undefined;
1990
+ linkedin_id?: string | number | undefined;
1991
+ linkedin_url?: string | undefined;
1992
+ linkedin_handle?: string | undefined;
1993
+ current_position?: {
1994
+ title?: string | undefined;
1995
+ company?: {
1996
+ name?: string | undefined;
1997
+ domain?: string | undefined;
1998
+ linkedin_id?: string | number | undefined;
1999
+ industry?: string | undefined;
2000
+ linkedin_url?: string | undefined;
2001
+ headquarters?: {
2002
+ city?: string | undefined;
2003
+ country?: string | undefined;
2004
+ } | undefined;
2005
+ } | undefined;
2006
+ start_date?: string | undefined;
2007
+ end_date?: string | undefined;
2008
+ } | undefined;
2009
+ } | undefined;
2010
+ domain?: string | undefined;
2011
+ emails?: {
2012
+ status?: string | undefined;
2013
+ email?: string | undefined;
2014
+ }[] | undefined;
2015
+ phones?: {
2016
+ phone?: string | undefined;
2017
+ region?: string | undefined;
2018
+ }[] | undefined;
2019
+ firstname?: string | undefined;
2020
+ lastname?: string | undefined;
2021
+ most_probable_email?: string | undefined;
2022
+ most_probable_personal_email?: string | undefined;
2023
+ personal_emails?: {
2024
+ status?: string | undefined;
2025
+ email?: string | undefined;
2026
+ }[] | undefined;
2027
+ most_probable_phone?: string | undefined;
2028
+ social_medias?: {
2029
+ type?: string | undefined;
2030
+ url?: string | undefined;
2031
+ }[] | undefined;
2032
+ } | undefined;
2033
+ }[] | undefined;
2034
+ cost?: {
2035
+ credits?: number | undefined;
2036
+ } | undefined;
2037
+ }>, z.ZodObject<{
2038
+ operation: z.ZodLiteral<"get_credit_balance">;
2039
+ success: z.ZodBoolean;
2040
+ balance: z.ZodOptional<z.ZodNumber>;
2041
+ error: z.ZodString;
2042
+ }, "strip", z.ZodTypeAny, {
2043
+ success: boolean;
2044
+ error: string;
2045
+ operation: "get_credit_balance";
2046
+ balance?: number | undefined;
2047
+ }, {
2048
+ success: boolean;
2049
+ error: string;
2050
+ operation: "get_credit_balance";
2051
+ balance?: number | undefined;
2052
+ }>, z.ZodObject<{
2053
+ operation: z.ZodLiteral<"check_api_key">;
2054
+ success: z.ZodBoolean;
2055
+ workspace_id: z.ZodOptional<z.ZodString>;
2056
+ error: z.ZodString;
2057
+ }, "strip", z.ZodTypeAny, {
2058
+ success: boolean;
2059
+ error: string;
2060
+ operation: "check_api_key";
2061
+ workspace_id?: string | undefined;
2062
+ }, {
2063
+ success: boolean;
2064
+ error: string;
2065
+ operation: "check_api_key";
2066
+ workspace_id?: string | undefined;
2067
+ }>]>;
2068
+ export type FullEnrichParamsInput = z.input<typeof FullEnrichParamsSchema>;
2069
+ export type FullEnrichParams = z.output<typeof FullEnrichParamsSchema>;
2070
+ export type FullEnrichResult = z.output<typeof FullEnrichResultSchema>;
2071
+ export type StartBulkEnrichmentParams = Extract<FullEnrichParams, {
2072
+ operation: 'start_bulk_enrichment';
2073
+ }>;
2074
+ export type GetEnrichmentResultParams = Extract<FullEnrichParams, {
2075
+ operation: 'get_enrichment_result';
2076
+ }>;
2077
+ export type StartReverseEmailLookupParams = Extract<FullEnrichParams, {
2078
+ operation: 'start_reverse_email_lookup';
2079
+ }>;
2080
+ export type GetReverseEmailResultParams = Extract<FullEnrichParams, {
2081
+ operation: 'get_reverse_email_result';
2082
+ }>;
2083
+ export type GetCreditBalanceParams = Extract<FullEnrichParams, {
2084
+ operation: 'get_credit_balance';
2085
+ }>;
2086
+ export type CheckApiKeyParams = Extract<FullEnrichParams, {
2087
+ operation: 'check_api_key';
2088
+ }>;
2089
+ //# sourceMappingURL=fullenrich.schema.d.ts.map