multify-mcp 0.1.2

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