@keystrokehq/fullenrich 0.1.0 → 0.1.1
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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-contact-data-list.cjs.map +1 -1
- package/dist/actions/create-contact-data-list.d.cts +27 -3
- package/dist/actions/create-contact-data-list.d.cts.map +1 -1
- package/dist/actions/create-contact-data-list.d.mts +27 -3
- package/dist/actions/create-contact-data-list.d.mts.map +1 -1
- package/dist/actions/create-contact-data-list.mjs.map +1 -1
- package/dist/actions/get-current-credit-balance.cjs +1 -1
- package/dist/actions/get-current-credit-balance.cjs.map +1 -1
- package/dist/actions/get-current-credit-balance.d.cts +7 -3
- package/dist/actions/get-current-credit-balance.d.cts.map +1 -1
- package/dist/actions/get-current-credit-balance.d.mts +7 -3
- package/dist/actions/get-current-credit-balance.d.mts.map +1 -1
- package/dist/actions/get-current-credit-balance.mjs +1 -1
- package/dist/actions/get-current-credit-balance.mjs.map +1 -1
- package/dist/actions/get-enrichment-result.cjs +62 -62
- package/dist/actions/get-enrichment-result.cjs.map +1 -1
- package/dist/actions/get-enrichment-result.d.cts +181 -3
- package/dist/actions/get-enrichment-result.d.cts.map +1 -1
- package/dist/actions/get-enrichment-result.d.mts +181 -3
- package/dist/actions/get-enrichment-result.d.mts.map +1 -1
- package/dist/actions/get-enrichment-result.mjs +62 -62
- package/dist/actions/get-enrichment-result.mjs.map +1 -1
- package/dist/actions/get-reverse-email-result.cjs +47 -47
- package/dist/actions/get-reverse-email-result.cjs.map +1 -1
- package/dist/actions/get-reverse-email-result.d.cts +143 -3
- package/dist/actions/get-reverse-email-result.d.cts.map +1 -1
- package/dist/actions/get-reverse-email-result.d.mts +143 -3
- package/dist/actions/get-reverse-email-result.d.mts.map +1 -1
- package/dist/actions/get-reverse-email-result.mjs +47 -47
- package/dist/actions/get-reverse-email-result.mjs.map +1 -1
- package/dist/actions/reverse-email-lookup.cjs +1 -1
- package/dist/actions/reverse-email-lookup.cjs.map +1 -1
- package/dist/actions/reverse-email-lookup.d.cts +19 -3
- package/dist/actions/reverse-email-lookup.d.cts.map +1 -1
- package/dist/actions/reverse-email-lookup.d.mts +19 -3
- package/dist/actions/reverse-email-lookup.d.mts.map +1 -1
- package/dist/actions/reverse-email-lookup.mjs +1 -1
- package/dist/actions/reverse-email-lookup.mjs.map +1 -1
- package/dist/actions/search-company.cjs +16 -16
- package/dist/actions/search-company.cjs.map +1 -1
- package/dist/actions/search-company.d.cts +69 -3
- package/dist/actions/search-company.d.cts.map +1 -1
- package/dist/actions/search-company.d.mts +69 -3
- package/dist/actions/search-company.d.mts.map +1 -1
- package/dist/actions/search-company.mjs +16 -16
- package/dist/actions/search-company.mjs.map +1 -1
- package/dist/actions/search-people.cjs +50 -50
- package/dist/actions/search-people.cjs.map +1 -1
- package/dist/actions/search-people.d.cts +277 -3
- package/dist/actions/search-people.d.cts.map +1 -1
- package/dist/actions/search-people.d.mts +277 -3
- package/dist/actions/search-people.d.mts.map +1 -1
- package/dist/actions/search-people.mjs +50 -50
- package/dist/actions/search-people.mjs.map +1 -1
- package/dist/actions/start-bulk-enrichment.cjs +1 -1
- package/dist/actions/start-bulk-enrichment.cjs.map +1 -1
- package/dist/actions/start-bulk-enrichment.d.cts +35 -3
- package/dist/actions/start-bulk-enrichment.d.cts.map +1 -1
- package/dist/actions/start-bulk-enrichment.d.mts +35 -3
- package/dist/actions/start-bulk-enrichment.d.mts.map +1 -1
- package/dist/actions/start-bulk-enrichment.mjs +1 -1
- package/dist/actions/start-bulk-enrichment.mjs.map +1 -1
- package/dist/actions/verify-api-key.cjs +1 -1
- package/dist/actions/verify-api-key.cjs.map +1 -1
- package/dist/actions/verify-api-key.d.cts +7 -3
- package/dist/actions/verify-api-key.d.cts.map +1 -1
- package/dist/actions/verify-api-key.d.mts +7 -3
- package/dist/actions/verify-api-key.d.mts.map +1 -1
- package/dist/actions/verify-api-key.mjs +1 -1
- package/dist/actions/verify-api-key.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,283 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/search-people.d.ts
|
|
4
|
-
declare const FullenrichSearchPeopleInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FullenrichSearchPeopleInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
search_after: z.ZodOptional<z.ZodString>;
|
|
8
|
+
person_skills: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
+
value: z.ZodString;
|
|
10
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
11
|
+
exact_match: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
person_locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14
|
+
value: z.ZodString;
|
|
15
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
16
|
+
exact_match: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
current_company_names: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
|
+
value: z.ZodString;
|
|
20
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
21
|
+
exact_match: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
current_company_domains: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
|
+
value: z.ZodString;
|
|
25
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
26
|
+
exact_match: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
current_position_titles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29
|
+
value: z.ZodString;
|
|
30
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
31
|
+
exact_match: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
current_company_headcounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
current_company_industries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
+
value: z.ZodString;
|
|
40
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
41
|
+
exact_match: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
current_position_seniority_level: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
+
value: z.ZodString;
|
|
45
|
+
exclude: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
46
|
+
exact_match: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
47
|
+
}, z.core.$strip>>>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
declare const FullenrichSearchPeopleOutput: z.ZodObject<{
|
|
50
|
+
people: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
|
+
id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
52
|
+
skills: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
53
|
+
location: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
54
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
56
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
58
|
+
}, z.core.$strip>>>;
|
|
59
|
+
full_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
60
|
+
languages: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
|
+
code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
62
|
+
language: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
63
|
+
proficiency: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
64
|
+
}, z.core.$strip>>>>;
|
|
65
|
+
last_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
66
|
+
educations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
+
degree: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
68
|
+
end_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
69
|
+
start_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
70
|
+
school_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
71
|
+
}, z.core.$strip>>>>;
|
|
72
|
+
employment: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
73
|
+
all: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
74
|
+
title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
75
|
+
end_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
76
|
+
company: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
77
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
78
|
+
domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
79
|
+
industry: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
80
|
+
headcount: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
81
|
+
locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
82
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
83
|
+
region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
84
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
85
|
+
country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
86
|
+
}, z.core.$strip>>>>;
|
|
87
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
88
|
+
company_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
89
|
+
headquarters: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
90
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
91
|
+
region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
92
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
93
|
+
country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
95
|
+
year_founded: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
96
|
+
}, z.core.$strip>>>;
|
|
97
|
+
start_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
98
|
+
is_current: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
99
|
+
}, z.core.$strip>>>>;
|
|
100
|
+
current: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
101
|
+
title: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
102
|
+
end_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
103
|
+
company: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
104
|
+
name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
105
|
+
domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
106
|
+
industry: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
107
|
+
headcount: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
108
|
+
locations: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
110
|
+
region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
111
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
112
|
+
country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
113
|
+
}, z.core.$strip>>>>;
|
|
114
|
+
description: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
115
|
+
company_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
116
|
+
headquarters: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
117
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
118
|
+
region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
119
|
+
country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
120
|
+
country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
121
|
+
}, z.core.$strip>>>;
|
|
122
|
+
year_founded: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
123
|
+
}, z.core.$strip>>>;
|
|
124
|
+
start_at: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
125
|
+
is_current: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
126
|
+
}, z.core.$strip>>>;
|
|
127
|
+
}, z.core.$strip>>>;
|
|
128
|
+
first_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
129
|
+
social_profiles: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
130
|
+
linkedin: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
131
|
+
url: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
132
|
+
handle: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
133
|
+
connection_count: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
134
|
+
}, z.core.$strip>>>;
|
|
135
|
+
}, z.core.$strip>>>;
|
|
136
|
+
}, z.core.$strip>>>>;
|
|
137
|
+
metadata: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
138
|
+
total: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
139
|
+
offset: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
140
|
+
search_after: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
141
|
+
}, z.core.$strip>>>;
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
declare const fullenrichSearchPeople: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
144
|
+
limit?: number | undefined;
|
|
145
|
+
offset?: number | undefined;
|
|
146
|
+
search_after?: string | undefined;
|
|
147
|
+
person_skills?: {
|
|
148
|
+
value: string;
|
|
149
|
+
exclude?: boolean | undefined;
|
|
150
|
+
exact_match?: boolean | undefined;
|
|
151
|
+
}[] | undefined;
|
|
152
|
+
person_locations?: {
|
|
153
|
+
value: string;
|
|
154
|
+
exclude?: boolean | undefined;
|
|
155
|
+
exact_match?: boolean | undefined;
|
|
156
|
+
}[] | undefined;
|
|
157
|
+
current_company_names?: {
|
|
158
|
+
value: string;
|
|
159
|
+
exclude?: boolean | undefined;
|
|
160
|
+
exact_match?: boolean | undefined;
|
|
161
|
+
}[] | undefined;
|
|
162
|
+
current_company_domains?: {
|
|
163
|
+
value: string;
|
|
164
|
+
exclude?: boolean | undefined;
|
|
165
|
+
exact_match?: boolean | undefined;
|
|
166
|
+
}[] | undefined;
|
|
167
|
+
current_position_titles?: {
|
|
168
|
+
value: string;
|
|
169
|
+
exclude?: boolean | undefined;
|
|
170
|
+
exact_match?: boolean | undefined;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
current_company_headcounts?: {
|
|
173
|
+
max?: number | undefined;
|
|
174
|
+
min?: number | undefined;
|
|
175
|
+
exclude?: boolean | undefined;
|
|
176
|
+
}[] | undefined;
|
|
177
|
+
current_company_industries?: {
|
|
178
|
+
value: string;
|
|
179
|
+
exclude?: boolean | undefined;
|
|
180
|
+
exact_match?: boolean | undefined;
|
|
181
|
+
}[] | undefined;
|
|
182
|
+
current_position_seniority_level?: {
|
|
183
|
+
value: string;
|
|
184
|
+
exclude?: boolean | undefined;
|
|
185
|
+
exact_match?: boolean | undefined;
|
|
186
|
+
}[] | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
people?: {
|
|
189
|
+
id?: string | undefined;
|
|
190
|
+
skills?: string[] | undefined;
|
|
191
|
+
location?: {
|
|
192
|
+
city?: string | undefined;
|
|
193
|
+
region?: string | undefined;
|
|
194
|
+
country?: string | undefined;
|
|
195
|
+
country_code?: string | undefined;
|
|
196
|
+
} | undefined;
|
|
197
|
+
full_name?: string | undefined;
|
|
198
|
+
languages?: {
|
|
199
|
+
code?: string | undefined;
|
|
200
|
+
language?: string | undefined;
|
|
201
|
+
proficiency?: string | undefined;
|
|
202
|
+
}[] | undefined;
|
|
203
|
+
last_name?: string | undefined;
|
|
204
|
+
educations?: {
|
|
205
|
+
degree?: string | undefined;
|
|
206
|
+
end_at?: string | undefined;
|
|
207
|
+
start_at?: string | undefined;
|
|
208
|
+
school_name?: string | undefined;
|
|
209
|
+
}[] | undefined;
|
|
210
|
+
employment?: {
|
|
211
|
+
all?: {
|
|
212
|
+
title?: string | undefined;
|
|
213
|
+
end_at?: string | undefined;
|
|
214
|
+
company?: {
|
|
215
|
+
name?: string | undefined;
|
|
216
|
+
domain?: string | undefined;
|
|
217
|
+
industry?: string | undefined;
|
|
218
|
+
headcount?: string | undefined;
|
|
219
|
+
locations?: {
|
|
220
|
+
city?: string | undefined;
|
|
221
|
+
region?: string | undefined;
|
|
222
|
+
country?: string | undefined;
|
|
223
|
+
country_code?: string | undefined;
|
|
224
|
+
}[] | undefined;
|
|
225
|
+
description?: string | undefined;
|
|
226
|
+
company_type?: string | undefined;
|
|
227
|
+
headquarters?: {
|
|
228
|
+
city?: string | undefined;
|
|
229
|
+
region?: string | undefined;
|
|
230
|
+
country?: string | undefined;
|
|
231
|
+
country_code?: string | undefined;
|
|
232
|
+
} | undefined;
|
|
233
|
+
year_founded?: number | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
start_at?: string | undefined;
|
|
236
|
+
is_current?: boolean | undefined;
|
|
237
|
+
}[] | undefined;
|
|
238
|
+
current?: {
|
|
239
|
+
title?: string | undefined;
|
|
240
|
+
end_at?: string | undefined;
|
|
241
|
+
company?: {
|
|
242
|
+
name?: string | undefined;
|
|
243
|
+
domain?: string | undefined;
|
|
244
|
+
industry?: string | undefined;
|
|
245
|
+
headcount?: string | undefined;
|
|
246
|
+
locations?: {
|
|
247
|
+
city?: string | undefined;
|
|
248
|
+
region?: string | undefined;
|
|
249
|
+
country?: string | undefined;
|
|
250
|
+
country_code?: string | undefined;
|
|
251
|
+
}[] | undefined;
|
|
252
|
+
description?: string | undefined;
|
|
253
|
+
company_type?: string | undefined;
|
|
254
|
+
headquarters?: {
|
|
255
|
+
city?: string | undefined;
|
|
256
|
+
region?: string | undefined;
|
|
257
|
+
country?: string | undefined;
|
|
258
|
+
country_code?: string | undefined;
|
|
259
|
+
} | undefined;
|
|
260
|
+
year_founded?: number | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
start_at?: string | undefined;
|
|
263
|
+
is_current?: boolean | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
first_name?: string | undefined;
|
|
267
|
+
social_profiles?: {
|
|
268
|
+
linkedin?: {
|
|
269
|
+
url?: string | undefined;
|
|
270
|
+
handle?: string | undefined;
|
|
271
|
+
connection_count?: number | undefined;
|
|
272
|
+
} | undefined;
|
|
273
|
+
} | undefined;
|
|
274
|
+
}[] | undefined;
|
|
275
|
+
metadata?: {
|
|
276
|
+
total?: number | undefined;
|
|
277
|
+
offset?: number | undefined;
|
|
278
|
+
search_after?: string | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
281
|
//#endregion
|
|
8
282
|
export { fullenrichSearchPeople };
|
|
9
283
|
//# sourceMappingURL=search-people.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-people.d.mts","names":[],"sources":["../../src/actions/search-people.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"search-people.d.mts","names":[],"sources":["../../src/actions/search-people.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmH3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -47,72 +47,72 @@ const FullenrichSearchPeopleInput = z.object({
|
|
|
47
47
|
})).describe("Filter by seniority level (e.g., Director, VP, C-Suite). Multiple filters are combined with OR logic.").optional()
|
|
48
48
|
});
|
|
49
49
|
const FullenrichSearchPeople_PersonLocationSchema = z.object({
|
|
50
|
-
city: z.string().describe("City name").
|
|
51
|
-
region: z.string().describe("Region or state name").
|
|
52
|
-
country: z.string().describe("Country name").
|
|
53
|
-
country_code: z.string().describe("Country code (ISO 3166-1 alpha-2)").
|
|
50
|
+
city: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("City name").optional()),
|
|
51
|
+
region: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Region or state name").optional()),
|
|
52
|
+
country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country name").optional()),
|
|
53
|
+
country_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country code (ISO 3166-1 alpha-2)").optional())
|
|
54
54
|
});
|
|
55
55
|
const FullenrichSearchPeople_LanguageSchema = z.object({
|
|
56
|
-
code: z.string().describe("Language code (ISO 639-1)").
|
|
57
|
-
language: z.string().describe("Language name").
|
|
58
|
-
proficiency: z.string().describe("Proficiency level (e.g., Native, Professional, Limited)").
|
|
56
|
+
code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Language code (ISO 639-1)").optional()),
|
|
57
|
+
language: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Language name").optional()),
|
|
58
|
+
proficiency: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Proficiency level (e.g., Native, Professional, Limited)").optional())
|
|
59
59
|
});
|
|
60
60
|
const FullenrichSearchPeople_EducationSchema = z.object({
|
|
61
|
-
degree: z.string().describe("Degree obtained").
|
|
62
|
-
end_at: z.string().describe("End date of education").
|
|
63
|
-
start_at: z.string().describe("Start date of education").
|
|
64
|
-
school_name: z.string().describe("Name of the educational institution").
|
|
61
|
+
degree: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Degree obtained").optional()),
|
|
62
|
+
end_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("End date of education").optional()),
|
|
63
|
+
start_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Start date of education").optional()),
|
|
64
|
+
school_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Name of the educational institution").optional())
|
|
65
65
|
});
|
|
66
66
|
const FullenrichSearchPeople_CompanyLocationSchema = z.object({
|
|
67
|
-
city: z.string().describe("City name").
|
|
68
|
-
region: z.string().describe("Region or state name").
|
|
69
|
-
country: z.string().describe("Country name").
|
|
70
|
-
country_code: z.string().describe("Country code (ISO 3166-1 alpha-2)").
|
|
67
|
+
city: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("City name").optional()),
|
|
68
|
+
region: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Region or state name").optional()),
|
|
69
|
+
country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country name").optional()),
|
|
70
|
+
country_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country code (ISO 3166-1 alpha-2)").optional())
|
|
71
71
|
});
|
|
72
72
|
const FullenrichSearchPeople_EmploymentCompanySchema = z.object({
|
|
73
|
-
name: z.string().describe("Company name").
|
|
74
|
-
domain: z.string().describe("Company domain").
|
|
75
|
-
industry: z.string().describe("Company industry").
|
|
76
|
-
headcount: z.string().describe("Company headcount range").
|
|
77
|
-
locations: z.array(FullenrichSearchPeople_CompanyLocationSchema).describe("List of company office locations").
|
|
78
|
-
description: z.string().describe("Company description").
|
|
79
|
-
company_type: z.string().describe("Company type (e.g., Public Company, Privately Held)").
|
|
80
|
-
headquarters:
|
|
81
|
-
year_founded: z.number().int().describe("Year the company was founded").
|
|
73
|
+
name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company name").optional()),
|
|
74
|
+
domain: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company domain").optional()),
|
|
75
|
+
industry: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company industry").optional()),
|
|
76
|
+
headcount: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company headcount range").optional()),
|
|
77
|
+
locations: z.preprocess((value) => value === null ? void 0 : value, z.array(FullenrichSearchPeople_CompanyLocationSchema).describe("List of company office locations").optional()),
|
|
78
|
+
description: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company description").optional()),
|
|
79
|
+
company_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Company type (e.g., Public Company, Privately Held)").optional()),
|
|
80
|
+
headquarters: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_CompanyLocationSchema.optional()),
|
|
81
|
+
year_founded: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Year the company was founded").optional())
|
|
82
82
|
});
|
|
83
83
|
const FullenrichSearchPeople_EmploymentSchema = z.object({
|
|
84
|
-
title: z.string().describe("Job title").
|
|
85
|
-
end_at: z.string().describe("End date of employment").
|
|
86
|
-
company:
|
|
87
|
-
start_at: z.string().describe("Start date of employment").
|
|
88
|
-
is_current: z.boolean().describe("Whether this is the current employment").
|
|
84
|
+
title: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Job title").optional()),
|
|
85
|
+
end_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("End date of employment").optional()),
|
|
86
|
+
company: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_EmploymentCompanySchema.optional()),
|
|
87
|
+
start_at: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Start date of employment").optional()),
|
|
88
|
+
is_current: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether this is the current employment").optional())
|
|
89
89
|
});
|
|
90
90
|
const FullenrichSearchPeople_EmploymentHistorySchema = z.object({
|
|
91
|
-
all: z.array(FullenrichSearchPeople_EmploymentSchema).describe("Complete employment history").
|
|
92
|
-
current:
|
|
91
|
+
all: z.preprocess((value) => value === null ? void 0 : value, z.array(FullenrichSearchPeople_EmploymentSchema).describe("Complete employment history").optional()),
|
|
92
|
+
current: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_EmploymentSchema.optional())
|
|
93
93
|
});
|
|
94
94
|
const FullenrichSearchPeople_LinkedInProfileSchema = z.object({
|
|
95
|
-
url: z.string().describe("LinkedIn profile URL").
|
|
96
|
-
handle: z.string().describe("LinkedIn handle").
|
|
97
|
-
connection_count: z.number().int().describe("Number of LinkedIn connections").
|
|
95
|
+
url: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("LinkedIn profile URL").optional()),
|
|
96
|
+
handle: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("LinkedIn handle").optional()),
|
|
97
|
+
connection_count: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Number of LinkedIn connections").optional())
|
|
98
98
|
});
|
|
99
|
-
const FullenrichSearchPeople_SocialProfilesSchema = z.object({ linkedin:
|
|
99
|
+
const FullenrichSearchPeople_SocialProfilesSchema = z.object({ linkedin: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_LinkedInProfileSchema.optional()) });
|
|
100
100
|
const FullenrichSearchPeople_PersonSchema = z.object({
|
|
101
|
-
id: z.string().describe("Unique identifier for the person").
|
|
102
|
-
skills: z.array(z.string()).describe("List of skills").
|
|
103
|
-
location:
|
|
104
|
-
full_name: z.string().describe("Full name").
|
|
105
|
-
languages: z.array(FullenrichSearchPeople_LanguageSchema).describe("Languages spoken and proficiency levels").
|
|
106
|
-
last_name: z.string().describe("Last name").
|
|
107
|
-
educations: z.array(FullenrichSearchPeople_EducationSchema).describe("Educational background").
|
|
108
|
-
employment:
|
|
109
|
-
first_name: z.string().describe("First name").
|
|
110
|
-
social_profiles:
|
|
101
|
+
id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Unique identifier for the person").optional()),
|
|
102
|
+
skills: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("List of skills").optional()),
|
|
103
|
+
location: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_PersonLocationSchema.optional()),
|
|
104
|
+
full_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Full name").optional()),
|
|
105
|
+
languages: z.preprocess((value) => value === null ? void 0 : value, z.array(FullenrichSearchPeople_LanguageSchema).describe("Languages spoken and proficiency levels").optional()),
|
|
106
|
+
last_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Last name").optional()),
|
|
107
|
+
educations: z.preprocess((value) => value === null ? void 0 : value, z.array(FullenrichSearchPeople_EducationSchema).describe("Educational background").optional()),
|
|
108
|
+
employment: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_EmploymentHistorySchema.optional()),
|
|
109
|
+
first_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("First name").optional()),
|
|
110
|
+
social_profiles: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_SocialProfilesSchema.optional())
|
|
111
111
|
});
|
|
112
112
|
const FullenrichSearchPeople_PeopleMetadataSchema = z.object({
|
|
113
|
-
total: z.number().int().describe("Total number of people matching the search criteria").
|
|
114
|
-
offset: z.number().int().describe("Current offset in the result set").
|
|
115
|
-
search_after: z.string().describe("Cursor for the next page of results when using cursor-based pagination").
|
|
113
|
+
total: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Total number of people matching the search criteria").optional()),
|
|
114
|
+
offset: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Current offset in the result set").optional()),
|
|
115
|
+
search_after: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Cursor for the next page of results when using cursor-based pagination").optional())
|
|
116
116
|
});
|
|
117
117
|
const fullenrichSearchPeople = action("FULLENRICH_SEARCH_PEOPLE", {
|
|
118
118
|
slug: "fullenrich-search-people",
|
|
@@ -120,8 +120,8 @@ const fullenrichSearchPeople = action("FULLENRICH_SEARCH_PEOPLE", {
|
|
|
120
120
|
description: "Tool to search for people based on filters including company, location, skills, position titles, and seniority levels. Multiple filters within the same field are combined with OR logic. Use when you need to find people matching specific professional criteria.",
|
|
121
121
|
input: FullenrichSearchPeopleInput,
|
|
122
122
|
output: z.object({
|
|
123
|
-
people: z.array(FullenrichSearchPeople_PersonSchema).describe("List of people matching the search criteria").
|
|
124
|
-
metadata:
|
|
123
|
+
people: z.preprocess((value) => value === null ? void 0 : value, z.array(FullenrichSearchPeople_PersonSchema).describe("List of people matching the search criteria").optional()),
|
|
124
|
+
metadata: z.preprocess((value) => value === null ? void 0 : value, FullenrichSearchPeople_PeopleMetadataSchema.optional())
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-people.mjs","names":[],"sources":["../../src/actions/search-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichSearchPeopleInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return. Default is 20 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination. Use for offset-based pagination.\").optional(),\n search_after: z.string().describe(\"Cursor for deep pagination. Use this for efficient pagination of large result sets beyond 10,000 results instead of offset.\").optional(),\n person_skills: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by skills. Multiple filters are combined with OR logic.\").optional(),\n person_locations: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by person locations (city, region, or country). Multiple filters are combined with OR logic.\").optional(),\n current_company_names: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by current company names. Multiple filters are combined with OR logic.\").optional(),\n current_company_domains: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by current company domains. Multiple filters are combined with OR logic.\").optional(),\n current_position_titles: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by job titles. Multiple filters are combined with OR logic.\").optional(),\n current_company_headcounts: z.array(z.object({\n max: z.number().int().describe(\"Maximum value for range\").optional(),\n min: z.number().int().describe(\"Minimum value for range\").optional(),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n})).describe(\"Filter by company headcount ranges. Specify min/max values for the range.\").optional(),\n current_company_industries: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by company industries. Multiple filters are combined with OR logic.\").optional(),\n current_position_seniority_level: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by seniority level (e.g., Director, VP, C-Suite). Multiple filters are combined with OR logic.\").optional(),\n});\nconst FullenrichSearchPeople_PersonLocationSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n country_code: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n});\nconst FullenrichSearchPeople_LanguageSchema: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Language code (ISO 639-1)\").nullable().optional(),\n language: z.string().describe(\"Language name\").nullable().optional(),\n proficiency: z.string().describe(\"Proficiency level (e.g., Native, Professional, Limited)\").nullable().optional(),\n});\nconst FullenrichSearchPeople_EducationSchema: z.ZodTypeAny = z.object({\n degree: z.string().describe(\"Degree obtained\").nullable().optional(),\n end_at: z.string().describe(\"End date of education\").nullable().optional(),\n start_at: z.string().describe(\"Start date of education\").nullable().optional(),\n school_name: z.string().describe(\"Name of the educational institution\").nullable().optional(),\n});\nconst FullenrichSearchPeople_CompanyLocationSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"Region or state name\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n country_code: z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").nullable().optional(),\n});\nconst FullenrichSearchPeople_EmploymentCompanySchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Company name\").nullable().optional(),\n domain: z.string().describe(\"Company domain\").nullable().optional(),\n industry: z.string().describe(\"Company industry\").nullable().optional(),\n headcount: z.string().describe(\"Company headcount range\").nullable().optional(),\n locations: z.array(FullenrichSearchPeople_CompanyLocationSchema).describe(\"List of company office locations\").nullable().optional(),\n description: z.string().describe(\"Company description\").nullable().optional(),\n company_type: z.string().describe(\"Company type (e.g., Public Company, Privately Held)\").nullable().optional(),\n headquarters: FullenrichSearchPeople_CompanyLocationSchema.nullable().optional(),\n year_founded: z.number().int().describe(\"Year the company was founded\").nullable().optional(),\n});\nconst FullenrichSearchPeople_EmploymentSchema: z.ZodTypeAny = z.object({\n title: z.string().describe(\"Job title\").nullable().optional(),\n end_at: z.string().describe(\"End date of employment\").nullable().optional(),\n company: FullenrichSearchPeople_EmploymentCompanySchema.nullable().optional(),\n start_at: z.string().describe(\"Start date of employment\").nullable().optional(),\n is_current: z.boolean().describe(\"Whether this is the current employment\").nullable().optional(),\n});\nconst FullenrichSearchPeople_EmploymentHistorySchema: z.ZodTypeAny = z.object({\n all: z.array(FullenrichSearchPeople_EmploymentSchema).describe(\"Complete employment history\").nullable().optional(),\n current: FullenrichSearchPeople_EmploymentSchema.nullable().optional(),\n});\nconst FullenrichSearchPeople_LinkedInProfileSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"LinkedIn profile URL\").nullable().optional(),\n handle: z.string().describe(\"LinkedIn handle\").nullable().optional(),\n connection_count: z.number().int().describe(\"Number of LinkedIn connections\").nullable().optional(),\n});\nconst FullenrichSearchPeople_SocialProfilesSchema: z.ZodTypeAny = z.object({\n linkedin: FullenrichSearchPeople_LinkedInProfileSchema.nullable().optional(),\n});\nconst FullenrichSearchPeople_PersonSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the person\").nullable().optional(),\n skills: z.array(z.string()).describe(\"List of skills\").nullable().optional(),\n location: FullenrichSearchPeople_PersonLocationSchema.nullable().optional(),\n full_name: z.string().describe(\"Full name\").nullable().optional(),\n languages: z.array(FullenrichSearchPeople_LanguageSchema).describe(\"Languages spoken and proficiency levels\").nullable().optional(),\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n educations: z.array(FullenrichSearchPeople_EducationSchema).describe(\"Educational background\").nullable().optional(),\n employment: FullenrichSearchPeople_EmploymentHistorySchema.nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n social_profiles: FullenrichSearchPeople_SocialProfilesSchema.nullable().optional(),\n});\nconst FullenrichSearchPeople_PeopleMetadataSchema: z.ZodTypeAny = z.object({\n total: z.number().int().describe(\"Total number of people matching the search criteria\").nullable().optional(),\n offset: z.number().int().describe(\"Current offset in the result set\").nullable().optional(),\n search_after: z.string().describe(\"Cursor for the next page of results when using cursor-based pagination\").nullable().optional(),\n});\nexport const FullenrichSearchPeopleOutput: z.ZodTypeAny = z.object({\n people: z.array(FullenrichSearchPeople_PersonSchema).describe(\"List of people matching the search criteria\").nullable().optional(),\n metadata: FullenrichSearchPeople_PeopleMetadataSchema.nullable().optional(),\n});\n\nexport const fullenrichSearchPeople = action(\"FULLENRICH_SEARCH_PEOPLE\", {\n slug: \"fullenrich-search-people\",\n name: \"Search People\",\n description: \"Tool to search for people based on filters including company, location, skills, position titles, and seniority levels. Multiple filters within the same field are combined with OR logic. Use when you need to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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClI,CAAC;AAMD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,UAAU,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC5E,CAOU;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"search-people.mjs","names":[],"sources":["../../src/actions/search-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichSearchPeopleInput = z.object({\n limit: z.number().int().describe(\"Maximum number of results to return. Default is 20 if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of results to skip for pagination. Use for offset-based pagination.\").optional(),\n search_after: z.string().describe(\"Cursor for deep pagination. Use this for efficient pagination of large result sets beyond 10,000 results instead of offset.\").optional(),\n person_skills: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by skills. Multiple filters are combined with OR logic.\").optional(),\n person_locations: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by person locations (city, region, or country). Multiple filters are combined with OR logic.\").optional(),\n current_company_names: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by current company names. Multiple filters are combined with OR logic.\").optional(),\n current_company_domains: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by current company domains. Multiple filters are combined with OR logic.\").optional(),\n current_position_titles: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by job titles. Multiple filters are combined with OR logic.\").optional(),\n current_company_headcounts: z.array(z.object({\n max: z.number().int().describe(\"Maximum value for range\").optional(),\n min: z.number().int().describe(\"Minimum value for range\").optional(),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n})).describe(\"Filter by company headcount ranges. Specify min/max values for the range.\").optional(),\n current_company_industries: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by company industries. Multiple filters are combined with OR logic.\").optional(),\n current_position_seniority_level: z.array(z.object({\n value: z.string().describe(\"Filter term to match\"),\n exclude: z.boolean().default(false).describe(\"When true, removes matching results; defaults to false\").optional(),\n exact_match: z.boolean().default(false).describe(\"When true, requires precise matching (case-insensitive); defaults to false\").optional(),\n})).describe(\"Filter by seniority level (e.g., Director, VP, C-Suite). Multiple filters are combined with OR logic.\").optional(),\n});\nconst FullenrichSearchPeople_PersonLocationSchema = z.object({\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City name\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region or state name\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country name\").optional()),\n country_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional()),\n});\nconst FullenrichSearchPeople_LanguageSchema = z.object({\n code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Language code (ISO 639-1)\").optional()),\n language: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Language name\").optional()),\n proficiency: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Proficiency level (e.g., Native, Professional, Limited)\").optional()),\n});\nconst FullenrichSearchPeople_EducationSchema = z.object({\n degree: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Degree obtained\").optional()),\n end_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"End date of education\").optional()),\n start_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start date of education\").optional()),\n school_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the educational institution\").optional()),\n});\nconst FullenrichSearchPeople_CompanyLocationSchema = z.object({\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City name\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region or state name\").optional()),\n country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country name\").optional()),\n country_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country code (ISO 3166-1 alpha-2)\").optional()),\n});\nconst FullenrichSearchPeople_EmploymentCompanySchema = z.object({\n name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company name\").optional()),\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company domain\").optional()),\n industry: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company industry\").optional()),\n headcount: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company headcount range\").optional()),\n locations: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichSearchPeople_CompanyLocationSchema).describe(\"List of company office locations\").optional()),\n description: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company description\").optional()),\n company_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Company type (e.g., Public Company, Privately Held)\").optional()),\n headquarters: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_CompanyLocationSchema.optional()),\n year_founded: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Year the company was founded\").optional()),\n});\nconst FullenrichSearchPeople_EmploymentSchema = z.object({\n title: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Job title\").optional()),\n end_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"End date of employment\").optional()),\n company: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_EmploymentCompanySchema.optional()),\n start_at: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Start date of employment\").optional()),\n is_current: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether this is the current employment\").optional()),\n});\nconst FullenrichSearchPeople_EmploymentHistorySchema = z.object({\n all: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichSearchPeople_EmploymentSchema).describe(\"Complete employment history\").optional()),\n current: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_EmploymentSchema.optional()),\n});\nconst FullenrichSearchPeople_LinkedInProfileSchema = z.object({\n url: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn profile URL\").optional()),\n handle: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"LinkedIn handle\").optional()),\n connection_count: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Number of LinkedIn connections\").optional()),\n});\nconst FullenrichSearchPeople_SocialProfilesSchema = z.object({\n linkedin: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_LinkedInProfileSchema.optional()),\n});\nconst FullenrichSearchPeople_PersonSchema = z.object({\n id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Unique identifier for the person\").optional()),\n skills: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of skills\").optional()),\n location: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_PersonLocationSchema.optional()),\n full_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Full name\").optional()),\n languages: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichSearchPeople_LanguageSchema).describe(\"Languages spoken and proficiency levels\").optional()),\n last_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Last name\").optional()),\n educations: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichSearchPeople_EducationSchema).describe(\"Educational background\").optional()),\n employment: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_EmploymentHistorySchema.optional()),\n first_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"First name\").optional()),\n social_profiles: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_SocialProfilesSchema.optional()),\n});\nconst FullenrichSearchPeople_PeopleMetadataSchema = z.object({\n total: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total number of people matching the search criteria\").optional()),\n offset: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Current offset in the result set\").optional()),\n search_after: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Cursor for the next page of results when using cursor-based pagination\").optional()),\n});\nexport const FullenrichSearchPeopleOutput = z.object({\n people: z.preprocess((value) => (value === null ? undefined : value), z.array(FullenrichSearchPeople_PersonSchema).describe(\"List of people matching the search criteria\").optional()),\n metadata: z.preprocess((value) => (value === null ? undefined : value), FullenrichSearchPeople_PeopleMetadataSchema.optional()),\n});\n\nexport const fullenrichSearchPeople = action(\"FULLENRICH_SEARCH_PEOPLE\", {\n slug: \"fullenrich-search-people\",\n name: \"Search People\",\n description: \"Tool to search for people based on filters including company, location, skills, position titles, and seniority levels. Multiple filters within the same field are combined with OR logic. Use when you need to find people matching specific professional criteria.\",\n input: FullenrichSearchPeopleInput,\n output: FullenrichSearchPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CAC1K,eAAe,EAAE,MAAM,EAAE,OAAO;EAChC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACtF,kBAAkB,EAAE,MAAM,EAAE,OAAO;EACnC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC3H,uBAAuB,EAAE,MAAM,EAAE,OAAO;EACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SA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AY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC;CACtH,iBAAiB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,4CAA4C,SAAS,CAAC;AACvI,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC;CAChK,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC;CAC9I,cAAc,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC;AACtL,CAAC;AAMD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,QAAQ,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC;EACrL,UAAU,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,4CAA4C,SAAS,CAAC;CAChI,CAOU;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const FullenrichStartBulkEnrichmentInput = zod.z.object({
|
|
|
16
16
|
webhook_url: zod.z.string().describe("URL to receive a POST callback when job finishes, fails, or lacks credits").optional(),
|
|
17
17
|
checkLinkedinUrl: zod.z.boolean().describe("If false, skip contacts with invalid/missing LinkedIn URLs").optional()
|
|
18
18
|
});
|
|
19
|
-
const FullenrichStartBulkEnrichmentOutput = zod.z.object({ enrichment_id: zod.z.string().describe("ID of the started bulk enrichment job") });
|
|
19
|
+
const FullenrichStartBulkEnrichmentOutput = zod.z.object({ enrichment_id: zod.z.string().describe("ID of the started bulk enrichment job").nullable() });
|
|
20
20
|
const fullenrichStartBulkEnrichment = require_action.action("FULLENRICH_START_BULK_ENRICHMENT", {
|
|
21
21
|
slug: "fullenrich-start-bulk-enrichment",
|
|
22
22
|
name: "Start Bulk Enrichment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-bulk-enrichment.cjs","names":["z","action"],"sources":["../../src/actions/start-bulk-enrichment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichStartBulkEnrichmentInput
|
|
1
|
+
{"version":3,"file":"start-bulk-enrichment.cjs","names":["z","action"],"sources":["../../src/actions/start-bulk-enrichment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FullenrichStartBulkEnrichmentInput = z.object({\n name: z.string().describe(\"Human-readable job name (e.g., 'Sales Operations in London')\"),\n datas: z.array(z.object({\n custom: z.object({}).describe(\"Free-form metadata; values must be strings. Numbers or nested objects will error\").optional(),\n domain: z.string().describe(\"Contact's domain; required with firstname and lastname\").optional(),\n lastname: z.string().describe(\"Contact's last name; required if not using linkedin_url\").optional(),\n firstname: z.string().describe(\"Contact's first name; required if not using linkedin_url\").optional(),\n company_name: z.string().describe(\"Contact's company name; alternative to domain when using names\").optional(),\n linkedin_url: z.string().describe(\"Full LinkedIn profile URL. If provided, names and domain/company_name are ignored\").optional(),\n enrich_fields: z.array(z.string()).describe(\"Fields to enrich. Valid values: 'contact.emails', 'contact.personal_emails', 'contact.phones'. Defaults to ['contact.emails', 'contact.phones'] if not specified.\").optional(),\n})).describe(\"List of 1–100 contacts to enrich; see ContactData for details\"),\n checkDomain: z.boolean().describe(\"If false, skip contacts with invalid/missing domains\").optional(),\n webhook_url: z.string().describe(\"URL to receive a POST callback when job finishes, fails, or lacks credits\").optional(),\n checkLinkedinUrl: z.boolean().describe(\"If false, skip contacts with invalid/missing LinkedIn URLs\").optional(),\n});\nexport const FullenrichStartBulkEnrichmentOutput = z.object({\n enrichment_id: z.string().describe(\"ID of the started bulk enrichment job\").nullable(),\n});\n\nexport const fullenrichStartBulkEnrichment = action(\"FULLENRICH_START_BULK_ENRICHMENT\", {\n slug: \"fullenrich-start-bulk-enrichment\",\n name: \"Start Bulk Enrichment\",\n description: \"Tool to start a bulk enrichment job. Use when you have up to 100 contacts prepared and need batch enrichment. Use after confirming contact data.\",\n input: FullenrichStartBulkEnrichmentInput,\n output: FullenrichStartBulkEnrichmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACxF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;EAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAChI,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CAC5N,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC1E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACvH,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,EACvF,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/start-bulk-enrichment.d.ts
|
|
4
|
-
declare const FullenrichStartBulkEnrichmentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FullenrichStartBulkEnrichmentInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
datas: z.ZodArray<z.ZodObject<{
|
|
7
|
+
custom: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
8
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
9
|
+
lastname: z.ZodOptional<z.ZodString>;
|
|
10
|
+
firstname: z.ZodOptional<z.ZodString>;
|
|
11
|
+
company_name: z.ZodOptional<z.ZodString>;
|
|
12
|
+
linkedin_url: z.ZodOptional<z.ZodString>;
|
|
13
|
+
enrich_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
checkDomain: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
webhook_url: z.ZodOptional<z.ZodString>;
|
|
17
|
+
checkLinkedinUrl: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const FullenrichStartBulkEnrichmentOutput: z.ZodObject<{
|
|
20
|
+
enrichment_id: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const fullenrichStartBulkEnrichment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
name: string;
|
|
24
|
+
datas: {
|
|
25
|
+
custom?: Record<string, never> | undefined;
|
|
26
|
+
domain?: string | undefined;
|
|
27
|
+
lastname?: string | undefined;
|
|
28
|
+
firstname?: string | undefined;
|
|
29
|
+
company_name?: string | undefined;
|
|
30
|
+
linkedin_url?: string | undefined;
|
|
31
|
+
enrich_fields?: string[] | undefined;
|
|
32
|
+
}[];
|
|
33
|
+
checkDomain?: boolean | undefined;
|
|
34
|
+
webhook_url?: string | undefined;
|
|
35
|
+
checkLinkedinUrl?: boolean | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
enrichment_id: string | null;
|
|
38
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
39
|
//#endregion
|
|
8
40
|
export { fullenrichStartBulkEnrichment };
|
|
9
41
|
//# sourceMappingURL=start-bulk-enrichment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-bulk-enrichment.d.cts","names":[],"sources":["../../src/actions/start-bulk-enrichment.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"start-bulk-enrichment.d.cts","names":[],"sources":["../../src/actions/start-bulk-enrichment.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAelC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA;;;aAMxC,MAAA"}
|