@opencx/mcp 1.15.82 → 1.15.84

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.
@@ -6,27 +6,9 @@ export declare const toolTextResultSchema: z.ZodObject<{
6
6
  content: z.ZodTuple<[z.ZodObject<{
7
7
  type: z.ZodLiteral<"text">;
8
8
  text: z.ZodString;
9
- }, "strip", z.ZodTypeAny, {
10
- text: string;
11
- type: "text";
12
- }, {
13
- text: string;
14
- type: "text";
15
- }>], null>;
9
+ }, z.core.$strip>], null>;
16
10
  isError: z.ZodOptional<z.ZodBoolean>;
17
- }, "strip", z.ZodTypeAny, {
18
- content: [{
19
- text: string;
20
- type: "text";
21
- }];
22
- isError?: boolean | undefined;
23
- }, {
24
- content: [{
25
- text: string;
26
- type: "text";
27
- }];
28
- isError?: boolean | undefined;
29
- }>;
11
+ }, z.core.$strip>;
30
12
  /** One recorded call of a `fetch`-typed mock: `[input, init?]`. */
31
13
  export type FetchCall = [input: RequestInfo | URL, init?: RequestInit];
32
14
  export declare function fetchCallUrl(call: FetchCall): string;
@@ -1 +1 @@
1
- {"version":3,"file":"spec-helpers.d.ts","sourceRoot":"","sources":["../src/spec-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAgB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAErE,+EAA+E;AAC/E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAG/B,CAAC;AAEH,mEAAmE;AACnE,MAAM,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC;AAEvE,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAIpD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAIzD;AAED,0EAA0E;AAC1E,wBAAsB,eAAe,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B,CAAC,CAaD"}
1
+ {"version":3,"file":"spec-helpers.d.ts","sourceRoot":"","sources":["../src/spec-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAEnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAgB,KAAK,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAErE,+EAA+E;AAC/E,eAAO,MAAM,oBAAoB;;;;;;iBAG/B,CAAC;AAEH,mEAAmE;AACnE,MAAM,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,WAAW,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC;AAEvE,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAIpD;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAIzD;AAED,0EAA0E;AAC1E,wBAAsB,eAAe,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B,CAAC,CAaD"}
@@ -1,612 +1,74 @@
1
1
  import { z } from 'zod';
2
2
  export declare const contactSegmentDefinitionSchema: z.ZodNullable<z.ZodObject<{
3
3
  or: z.ZodArray<z.ZodObject<{
4
- and: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4
+ and: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
5
5
  type: z.ZodLiteral<"all_contacts">;
6
- }, "strip", z.ZodTypeAny, {
7
- type: "all_contacts";
8
- }, {
9
- type: "all_contacts";
10
- }>, z.ZodObject<{
6
+ }, z.core.$strip>, z.ZodObject<{
11
7
  type: z.ZodLiteral<"contact_id_in">;
12
- contact_ids: z.ZodArray<z.ZodString, "many">;
13
- }, "strip", z.ZodTypeAny, {
14
- contact_ids: string[];
15
- type: "contact_id_in";
16
- }, {
17
- contact_ids: string[];
18
- type: "contact_id_in";
19
- }>, z.ZodObject<{
20
- after: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
21
- before: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
8
+ contact_ids: z.ZodArray<z.ZodString>;
9
+ }, z.core.$strip>, z.ZodObject<{
10
+ after: z.ZodOptional<z.ZodString>;
11
+ before: z.ZodOptional<z.ZodString>;
22
12
  type: z.ZodLiteral<"contacts_created_at_between">;
23
- }, "strip", z.ZodTypeAny, {
24
- type: "contacts_created_at_between";
25
- before?: string | undefined;
26
- after?: string | undefined;
27
- }, {
28
- type: "contacts_created_at_between";
29
- before?: string | undefined;
30
- after?: string | undefined;
31
- }>, z.ZodObject<{
13
+ }, z.core.$strip>, z.ZodObject<{
32
14
  type: z.ZodLiteral<"contacts_email_domain_name_in">;
33
- domain_name_in: z.ZodArray<z.ZodString, "many">;
34
- }, "strip", z.ZodTypeAny, {
35
- type: "contacts_email_domain_name_in";
36
- domain_name_in: string[];
37
- }, {
38
- type: "contacts_email_domain_name_in";
39
- domain_name_in: string[];
40
- }>, z.ZodObject<{
15
+ domain_name_in: z.ZodArray<z.ZodString>;
16
+ }, z.core.$strip>, z.ZodObject<{
41
17
  type: z.ZodLiteral<"contacts_affected_by_sequence">;
42
18
  sequence_id: z.ZodString;
43
- }, "strip", z.ZodTypeAny, {
44
- type: "contacts_affected_by_sequence";
45
- sequence_id: string;
46
- }, {
47
- type: "contacts_affected_by_sequence";
48
- sequence_id: string;
49
- }>, z.ZodObject<{
19
+ }, z.core.$strip>, z.ZodObject<{
50
20
  type: z.ZodLiteral<"contacts_name_in">;
51
- name_in: z.ZodArray<z.ZodString, "many">;
52
- }, "strip", z.ZodTypeAny, {
53
- type: "contacts_name_in";
54
- name_in: string[];
55
- }, {
56
- type: "contacts_name_in";
57
- name_in: string[];
58
- }>, z.ZodObject<{
21
+ name_in: z.ZodArray<z.ZodString>;
22
+ }, z.core.$strip>, z.ZodObject<{
59
23
  type: z.ZodLiteral<"contacts_phone_number_in">;
60
- phone_number_in: z.ZodArray<z.ZodString, "many">;
61
- }, "strip", z.ZodTypeAny, {
62
- type: "contacts_phone_number_in";
63
- phone_number_in: string[];
64
- }, {
65
- type: "contacts_phone_number_in";
66
- phone_number_in: string[];
67
- }>, z.ZodObject<{
24
+ phone_number_in: z.ZodArray<z.ZodString>;
25
+ }, z.core.$strip>, z.ZodObject<{
68
26
  type: z.ZodLiteral<"contacts_email_in">;
69
- email_in: z.ZodArray<z.ZodString, "many">;
70
- }, "strip", z.ZodTypeAny, {
71
- type: "contacts_email_in";
72
- email_in: string[];
73
- }, {
74
- type: "contacts_email_in";
75
- email_in: string[];
76
- }>, z.ZodObject<{
27
+ email_in: z.ZodArray<z.ZodString>;
28
+ }, z.core.$strip>, z.ZodObject<{
77
29
  type: z.ZodLiteral<"contacts_attributes_in">;
78
- attributes: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
79
- }, "strip", z.ZodTypeAny, {
80
- type: "contacts_attributes_in";
81
- attributes?: Record<string, string>[] | undefined;
82
- }, {
83
- type: "contacts_attributes_in";
84
- attributes?: Record<string, string>[] | undefined;
85
- }>, z.ZodObject<{
30
+ attributes: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
31
+ }, z.core.$strip>, z.ZodObject<{
86
32
  type: z.ZodLiteral<"contacts_sessions_attributes_in">;
87
- attributes: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
88
- }, "strip", z.ZodTypeAny, {
89
- type: "contacts_sessions_attributes_in";
90
- attributes?: Record<string, string>[] | undefined;
91
- }, {
92
- type: "contacts_sessions_attributes_in";
93
- attributes?: Record<string, string>[] | undefined;
94
- }>, z.ZodObject<{
33
+ attributes: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>>>;
34
+ }, z.core.$strip>, z.ZodObject<{
95
35
  type: z.ZodLiteral<"contact_belongs_to_segment">;
96
36
  segment_id: z.ZodString;
97
37
  belongs: z.ZodOptional<z.ZodBoolean>;
98
- }, "strip", z.ZodTypeAny, {
99
- type: "contact_belongs_to_segment";
100
- segment_id: string;
101
- belongs?: boolean | undefined;
102
- }, {
103
- type: "contact_belongs_to_segment";
104
- segment_id: string;
105
- belongs?: boolean | undefined;
106
- }>, z.ZodObject<{
107
- after: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
108
- before: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ after: z.ZodOptional<z.ZodString>;
40
+ before: z.ZodOptional<z.ZodString>;
109
41
  type: z.ZodLiteral<"last_contacted_at_between">;
110
- }, "strip", z.ZodTypeAny, {
111
- type: "last_contacted_at_between";
112
- before?: string | undefined;
113
- after?: string | undefined;
114
- }, {
115
- type: "last_contacted_at_between";
116
- before?: string | undefined;
117
- after?: string | undefined;
118
- }>, z.ZodObject<{
119
- after: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
120
- before: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ after: z.ZodOptional<z.ZodString>;
44
+ before: z.ZodOptional<z.ZodString>;
121
45
  type: z.ZodLiteral<"last_contacted_at_with_handoff_between">;
122
- }, "strip", z.ZodTypeAny, {
123
- type: "last_contacted_at_with_handoff_between";
124
- before?: string | undefined;
125
- after?: string | undefined;
126
- }, {
127
- type: "last_contacted_at_with_handoff_between";
128
- before?: string | undefined;
129
- after?: string | undefined;
130
- }>, z.ZodObject<{
46
+ }, z.core.$strip>, z.ZodObject<{
131
47
  type: z.ZodLiteral<"contact_has_phone">;
132
48
  has: z.ZodBoolean;
133
- }, "strip", z.ZodTypeAny, {
134
- has: boolean;
135
- type: "contact_has_phone";
136
- }, {
137
- has: boolean;
138
- type: "contact_has_phone";
139
- }>, z.ZodObject<{
49
+ }, z.core.$strip>, z.ZodObject<{
140
50
  type: z.ZodLiteral<"contact_has_email">;
141
51
  has: z.ZodBoolean;
142
- }, "strip", z.ZodTypeAny, {
143
- has: boolean;
144
- type: "contact_has_email";
145
- }, {
146
- has: boolean;
147
- type: "contact_has_email";
148
- }>, z.ZodObject<{
52
+ }, z.core.$strip>, z.ZodObject<{
149
53
  type: z.ZodLiteral<"contact_is_blocked">;
150
54
  blocked: z.ZodBoolean;
151
- }, "strip", z.ZodTypeAny, {
152
- type: "contact_is_blocked";
153
- blocked: boolean;
154
- }, {
155
- type: "contact_is_blocked";
156
- blocked: boolean;
157
- }>, z.ZodObject<{
55
+ }, z.core.$strip>, z.ZodObject<{
158
56
  type: z.ZodLiteral<"contact_is_unsubscribed">;
159
57
  unsubscribed: z.ZodBoolean;
160
- }, "strip", z.ZodTypeAny, {
161
- type: "contact_is_unsubscribed";
162
- unsubscribed: boolean;
163
- }, {
164
- type: "contact_is_unsubscribed";
165
- unsubscribed: boolean;
166
- }>, z.ZodObject<{
58
+ }, z.core.$strip>, z.ZodObject<{
167
59
  type: z.ZodLiteral<"contacts_custom_data">;
168
60
  conditions: z.ZodArray<z.ZodObject<{
169
61
  key: z.ZodString;
170
- op: z.ZodEnum<["exists", "not_exists", "eq", "neq", "contains"]>;
62
+ op: z.ZodEnum<{
63
+ exists: "exists";
64
+ not_exists: "not_exists";
65
+ eq: "eq";
66
+ neq: "neq";
67
+ contains: "contains";
68
+ }>;
171
69
  value: z.ZodOptional<z.ZodString>;
172
- }, "strip", z.ZodTypeAny, {
173
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
174
- key: string;
175
- value?: string | undefined;
176
- }, {
177
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
178
- key: string;
179
- value?: string | undefined;
180
- }>, "atleastone">;
181
- }, "strip", z.ZodTypeAny, {
182
- type: "contacts_custom_data";
183
- conditions: [{
184
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
185
- key: string;
186
- value?: string | undefined;
187
- }, ...{
188
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
189
- key: string;
190
- value?: string | undefined;
191
- }[]];
192
- }, {
193
- type: "contacts_custom_data";
194
- conditions: [{
195
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
196
- key: string;
197
- value?: string | undefined;
198
- }, ...{
199
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
200
- key: string;
201
- value?: string | undefined;
202
- }[]];
203
- }>]>, "many">;
204
- }, "strip", z.ZodTypeAny, {
205
- and: ({
206
- type: "all_contacts";
207
- } | {
208
- contact_ids: string[];
209
- type: "contact_id_in";
210
- } | {
211
- type: "contacts_created_at_between";
212
- before?: string | undefined;
213
- after?: string | undefined;
214
- } | {
215
- type: "contacts_email_domain_name_in";
216
- domain_name_in: string[];
217
- } | {
218
- type: "contacts_affected_by_sequence";
219
- sequence_id: string;
220
- } | {
221
- type: "contacts_name_in";
222
- name_in: string[];
223
- } | {
224
- type: "contacts_phone_number_in";
225
- phone_number_in: string[];
226
- } | {
227
- type: "contacts_email_in";
228
- email_in: string[];
229
- } | {
230
- type: "contacts_attributes_in";
231
- attributes?: Record<string, string>[] | undefined;
232
- } | {
233
- type: "contacts_sessions_attributes_in";
234
- attributes?: Record<string, string>[] | undefined;
235
- } | {
236
- type: "contact_belongs_to_segment";
237
- segment_id: string;
238
- belongs?: boolean | undefined;
239
- } | {
240
- type: "last_contacted_at_between";
241
- before?: string | undefined;
242
- after?: string | undefined;
243
- } | {
244
- type: "last_contacted_at_with_handoff_between";
245
- before?: string | undefined;
246
- after?: string | undefined;
247
- } | {
248
- has: boolean;
249
- type: "contact_has_phone";
250
- } | {
251
- has: boolean;
252
- type: "contact_has_email";
253
- } | {
254
- type: "contact_is_blocked";
255
- blocked: boolean;
256
- } | {
257
- type: "contact_is_unsubscribed";
258
- unsubscribed: boolean;
259
- } | {
260
- type: "contacts_custom_data";
261
- conditions: [{
262
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
263
- key: string;
264
- value?: string | undefined;
265
- }, ...{
266
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
267
- key: string;
268
- value?: string | undefined;
269
- }[]];
270
- })[];
271
- }, {
272
- and: ({
273
- type: "all_contacts";
274
- } | {
275
- contact_ids: string[];
276
- type: "contact_id_in";
277
- } | {
278
- type: "contacts_created_at_between";
279
- before?: string | undefined;
280
- after?: string | undefined;
281
- } | {
282
- type: "contacts_email_domain_name_in";
283
- domain_name_in: string[];
284
- } | {
285
- type: "contacts_affected_by_sequence";
286
- sequence_id: string;
287
- } | {
288
- type: "contacts_name_in";
289
- name_in: string[];
290
- } | {
291
- type: "contacts_phone_number_in";
292
- phone_number_in: string[];
293
- } | {
294
- type: "contacts_email_in";
295
- email_in: string[];
296
- } | {
297
- type: "contacts_attributes_in";
298
- attributes?: Record<string, string>[] | undefined;
299
- } | {
300
- type: "contacts_sessions_attributes_in";
301
- attributes?: Record<string, string>[] | undefined;
302
- } | {
303
- type: "contact_belongs_to_segment";
304
- segment_id: string;
305
- belongs?: boolean | undefined;
306
- } | {
307
- type: "last_contacted_at_between";
308
- before?: string | undefined;
309
- after?: string | undefined;
310
- } | {
311
- type: "last_contacted_at_with_handoff_between";
312
- before?: string | undefined;
313
- after?: string | undefined;
314
- } | {
315
- has: boolean;
316
- type: "contact_has_phone";
317
- } | {
318
- has: boolean;
319
- type: "contact_has_email";
320
- } | {
321
- type: "contact_is_blocked";
322
- blocked: boolean;
323
- } | {
324
- type: "contact_is_unsubscribed";
325
- unsubscribed: boolean;
326
- } | {
327
- type: "contacts_custom_data";
328
- conditions: [{
329
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
330
- key: string;
331
- value?: string | undefined;
332
- }, ...{
333
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
334
- key: string;
335
- value?: string | undefined;
336
- }[]];
337
- })[];
338
- }>, "atleastone">;
339
- }, "strip", z.ZodTypeAny, {
340
- or: [{
341
- and: ({
342
- type: "all_contacts";
343
- } | {
344
- contact_ids: string[];
345
- type: "contact_id_in";
346
- } | {
347
- type: "contacts_created_at_between";
348
- before?: string | undefined;
349
- after?: string | undefined;
350
- } | {
351
- type: "contacts_email_domain_name_in";
352
- domain_name_in: string[];
353
- } | {
354
- type: "contacts_affected_by_sequence";
355
- sequence_id: string;
356
- } | {
357
- type: "contacts_name_in";
358
- name_in: string[];
359
- } | {
360
- type: "contacts_phone_number_in";
361
- phone_number_in: string[];
362
- } | {
363
- type: "contacts_email_in";
364
- email_in: string[];
365
- } | {
366
- type: "contacts_attributes_in";
367
- attributes?: Record<string, string>[] | undefined;
368
- } | {
369
- type: "contacts_sessions_attributes_in";
370
- attributes?: Record<string, string>[] | undefined;
371
- } | {
372
- type: "contact_belongs_to_segment";
373
- segment_id: string;
374
- belongs?: boolean | undefined;
375
- } | {
376
- type: "last_contacted_at_between";
377
- before?: string | undefined;
378
- after?: string | undefined;
379
- } | {
380
- type: "last_contacted_at_with_handoff_between";
381
- before?: string | undefined;
382
- after?: string | undefined;
383
- } | {
384
- has: boolean;
385
- type: "contact_has_phone";
386
- } | {
387
- has: boolean;
388
- type: "contact_has_email";
389
- } | {
390
- type: "contact_is_blocked";
391
- blocked: boolean;
392
- } | {
393
- type: "contact_is_unsubscribed";
394
- unsubscribed: boolean;
395
- } | {
396
- type: "contacts_custom_data";
397
- conditions: [{
398
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
399
- key: string;
400
- value?: string | undefined;
401
- }, ...{
402
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
403
- key: string;
404
- value?: string | undefined;
405
- }[]];
406
- })[];
407
- }, ...{
408
- and: ({
409
- type: "all_contacts";
410
- } | {
411
- contact_ids: string[];
412
- type: "contact_id_in";
413
- } | {
414
- type: "contacts_created_at_between";
415
- before?: string | undefined;
416
- after?: string | undefined;
417
- } | {
418
- type: "contacts_email_domain_name_in";
419
- domain_name_in: string[];
420
- } | {
421
- type: "contacts_affected_by_sequence";
422
- sequence_id: string;
423
- } | {
424
- type: "contacts_name_in";
425
- name_in: string[];
426
- } | {
427
- type: "contacts_phone_number_in";
428
- phone_number_in: string[];
429
- } | {
430
- type: "contacts_email_in";
431
- email_in: string[];
432
- } | {
433
- type: "contacts_attributes_in";
434
- attributes?: Record<string, string>[] | undefined;
435
- } | {
436
- type: "contacts_sessions_attributes_in";
437
- attributes?: Record<string, string>[] | undefined;
438
- } | {
439
- type: "contact_belongs_to_segment";
440
- segment_id: string;
441
- belongs?: boolean | undefined;
442
- } | {
443
- type: "last_contacted_at_between";
444
- before?: string | undefined;
445
- after?: string | undefined;
446
- } | {
447
- type: "last_contacted_at_with_handoff_between";
448
- before?: string | undefined;
449
- after?: string | undefined;
450
- } | {
451
- has: boolean;
452
- type: "contact_has_phone";
453
- } | {
454
- has: boolean;
455
- type: "contact_has_email";
456
- } | {
457
- type: "contact_is_blocked";
458
- blocked: boolean;
459
- } | {
460
- type: "contact_is_unsubscribed";
461
- unsubscribed: boolean;
462
- } | {
463
- type: "contacts_custom_data";
464
- conditions: [{
465
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
466
- key: string;
467
- value?: string | undefined;
468
- }, ...{
469
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
470
- key: string;
471
- value?: string | undefined;
472
- }[]];
473
- })[];
474
- }[]];
475
- }, {
476
- or: [{
477
- and: ({
478
- type: "all_contacts";
479
- } | {
480
- contact_ids: string[];
481
- type: "contact_id_in";
482
- } | {
483
- type: "contacts_created_at_between";
484
- before?: string | undefined;
485
- after?: string | undefined;
486
- } | {
487
- type: "contacts_email_domain_name_in";
488
- domain_name_in: string[];
489
- } | {
490
- type: "contacts_affected_by_sequence";
491
- sequence_id: string;
492
- } | {
493
- type: "contacts_name_in";
494
- name_in: string[];
495
- } | {
496
- type: "contacts_phone_number_in";
497
- phone_number_in: string[];
498
- } | {
499
- type: "contacts_email_in";
500
- email_in: string[];
501
- } | {
502
- type: "contacts_attributes_in";
503
- attributes?: Record<string, string>[] | undefined;
504
- } | {
505
- type: "contacts_sessions_attributes_in";
506
- attributes?: Record<string, string>[] | undefined;
507
- } | {
508
- type: "contact_belongs_to_segment";
509
- segment_id: string;
510
- belongs?: boolean | undefined;
511
- } | {
512
- type: "last_contacted_at_between";
513
- before?: string | undefined;
514
- after?: string | undefined;
515
- } | {
516
- type: "last_contacted_at_with_handoff_between";
517
- before?: string | undefined;
518
- after?: string | undefined;
519
- } | {
520
- has: boolean;
521
- type: "contact_has_phone";
522
- } | {
523
- has: boolean;
524
- type: "contact_has_email";
525
- } | {
526
- type: "contact_is_blocked";
527
- blocked: boolean;
528
- } | {
529
- type: "contact_is_unsubscribed";
530
- unsubscribed: boolean;
531
- } | {
532
- type: "contacts_custom_data";
533
- conditions: [{
534
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
535
- key: string;
536
- value?: string | undefined;
537
- }, ...{
538
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
539
- key: string;
540
- value?: string | undefined;
541
- }[]];
542
- })[];
543
- }, ...{
544
- and: ({
545
- type: "all_contacts";
546
- } | {
547
- contact_ids: string[];
548
- type: "contact_id_in";
549
- } | {
550
- type: "contacts_created_at_between";
551
- before?: string | undefined;
552
- after?: string | undefined;
553
- } | {
554
- type: "contacts_email_domain_name_in";
555
- domain_name_in: string[];
556
- } | {
557
- type: "contacts_affected_by_sequence";
558
- sequence_id: string;
559
- } | {
560
- type: "contacts_name_in";
561
- name_in: string[];
562
- } | {
563
- type: "contacts_phone_number_in";
564
- phone_number_in: string[];
565
- } | {
566
- type: "contacts_email_in";
567
- email_in: string[];
568
- } | {
569
- type: "contacts_attributes_in";
570
- attributes?: Record<string, string>[] | undefined;
571
- } | {
572
- type: "contacts_sessions_attributes_in";
573
- attributes?: Record<string, string>[] | undefined;
574
- } | {
575
- type: "contact_belongs_to_segment";
576
- segment_id: string;
577
- belongs?: boolean | undefined;
578
- } | {
579
- type: "last_contacted_at_between";
580
- before?: string | undefined;
581
- after?: string | undefined;
582
- } | {
583
- type: "last_contacted_at_with_handoff_between";
584
- before?: string | undefined;
585
- after?: string | undefined;
586
- } | {
587
- has: boolean;
588
- type: "contact_has_phone";
589
- } | {
590
- has: boolean;
591
- type: "contact_has_email";
592
- } | {
593
- type: "contact_is_blocked";
594
- blocked: boolean;
595
- } | {
596
- type: "contact_is_unsubscribed";
597
- unsubscribed: boolean;
598
- } | {
599
- type: "contacts_custom_data";
600
- conditions: [{
601
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
602
- key: string;
603
- value?: string | undefined;
604
- }, ...{
605
- op: "exists" | "not_exists" | "eq" | "neq" | "contains";
606
- key: string;
607
- value?: string | undefined;
608
- }[]];
609
- })[];
610
- }[]];
611
- }>>;
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>]>>;
72
+ }, z.core.$strip>>;
73
+ }, z.core.$strip>>;
612
74
  //# sourceMappingURL=contact-segment-schemas.d.ts.map