@automate.ax/integration-contracts 0.98.0 → 0.98.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.
@@ -0,0 +1,817 @@
1
+ import * as z from "zod";
2
+ export declare const RESEND_EMAIL_STATUS_SCHEMA: z.ZodEnum<{
3
+ delivered: "delivered";
4
+ opened: "opened";
5
+ failed: "failed";
6
+ scheduled: "scheduled";
7
+ sent: "sent";
8
+ canceled: "canceled";
9
+ queued: "queued";
10
+ suppressed: "suppressed";
11
+ bounced: "bounced";
12
+ clicked: "clicked";
13
+ complained: "complained";
14
+ delivery_delayed: "delivery_delayed";
15
+ }>;
16
+ export declare const RESEND_TAG_SCHEMA: z.ZodObject<{
17
+ name: z.ZodString;
18
+ value: z.ZodString;
19
+ }, z.core.$strip>;
20
+ export declare const RESEND_ID_RESPONSE_SCHEMA: z.ZodObject<{
21
+ id: z.ZodString;
22
+ }, z.core.$strip>;
23
+ export declare const RESEND_MUTATION_RESPONSE_SCHEMA: z.ZodObject<{
24
+ id: z.ZodString;
25
+ object: z.ZodString;
26
+ }, z.core.$strip>;
27
+ export declare const RESEND_EMAIL_MUTATION_RESPONSE_SCHEMA: z.ZodObject<{
28
+ id: z.ZodString;
29
+ object: z.ZodLiteral<"email">;
30
+ }, z.core.$strip>;
31
+ export declare const RESEND_CONTACT_MUTATION_RESPONSE_SCHEMA: z.ZodObject<{
32
+ id: z.ZodString;
33
+ object: z.ZodLiteral<"contact">;
34
+ }, z.core.$strip>;
35
+ export declare const RESEND_CONTACT_IMPORT_MUTATION_RESPONSE_SCHEMA: z.ZodObject<{
36
+ id: z.ZodString;
37
+ object: z.ZodLiteral<"contact_import">;
38
+ }, z.core.$strip>;
39
+ export declare const RESEND_EVENT_MUTATION_RESPONSE_SCHEMA: z.ZodObject<{
40
+ id: z.ZodString;
41
+ object: z.ZodLiteral<"event">;
42
+ }, z.core.$strip>;
43
+ export declare const RESEND_CONTACT_DELETE_RESPONSE_SCHEMA: z.ZodObject<{
44
+ id: z.ZodString;
45
+ object: z.ZodLiteral<"contact">;
46
+ deleted: z.ZodBoolean;
47
+ }, z.core.$strip>;
48
+ export declare const RESEND_EVENT_DELETE_RESPONSE_SCHEMA: z.ZodObject<{
49
+ id: z.ZodString;
50
+ object: z.ZodLiteral<"event">;
51
+ deleted: z.ZodBoolean;
52
+ }, z.core.$strip>;
53
+ export declare const RESEND_DELETE_RESPONSE_SCHEMA: z.ZodObject<{
54
+ id: z.ZodString;
55
+ object: z.ZodString;
56
+ deleted: z.ZodBoolean;
57
+ }, z.core.$strip>;
58
+ export declare const RESEND_EMAIL_SUMMARY_WIRE_SCHEMA: z.ZodObject<{
59
+ bcc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
60
+ cc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
61
+ created_at: z.ZodString;
62
+ from: z.ZodString;
63
+ id: z.ZodString;
64
+ last_event: z.ZodEnum<{
65
+ delivered: "delivered";
66
+ opened: "opened";
67
+ failed: "failed";
68
+ scheduled: "scheduled";
69
+ sent: "sent";
70
+ canceled: "canceled";
71
+ queued: "queued";
72
+ suppressed: "suppressed";
73
+ bounced: "bounced";
74
+ clicked: "clicked";
75
+ complained: "complained";
76
+ delivery_delayed: "delivery_delayed";
77
+ }>;
78
+ message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
80
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
+ subject: z.ZodString;
82
+ to: z.ZodArray<z.ZodString>;
83
+ topic_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
+ }, z.core.$strip>;
85
+ export declare const RESEND_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
86
+ bcc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
87
+ cc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
88
+ created_at: z.ZodString;
89
+ from: z.ZodString;
90
+ id: z.ZodString;
91
+ last_event: z.ZodEnum<{
92
+ delivered: "delivered";
93
+ opened: "opened";
94
+ failed: "failed";
95
+ scheduled: "scheduled";
96
+ sent: "sent";
97
+ canceled: "canceled";
98
+ queued: "queued";
99
+ suppressed: "suppressed";
100
+ bounced: "bounced";
101
+ clicked: "clicked";
102
+ complained: "complained";
103
+ delivery_delayed: "delivery_delayed";
104
+ }>;
105
+ message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
107
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
108
+ subject: z.ZodString;
109
+ to: z.ZodArray<z.ZodString>;
110
+ topic_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
+ }, z.core.$strip>, z.ZodTransform<{
112
+ createdAt: string;
113
+ lastEvent: "delivered" | "opened" | "failed" | "scheduled" | "sent" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
114
+ messageId: string | null | undefined;
115
+ replyTo: string[] | null | undefined;
116
+ scheduledAt: string | null | undefined;
117
+ topicId: string | null | undefined;
118
+ from: string;
119
+ id: string;
120
+ subject: string;
121
+ to: string[];
122
+ bcc?: string[] | null | undefined;
123
+ cc?: string[] | null | undefined;
124
+ }, {
125
+ created_at: string;
126
+ from: string;
127
+ id: string;
128
+ last_event: "delivered" | "opened" | "failed" | "scheduled" | "sent" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
129
+ subject: string;
130
+ to: string[];
131
+ bcc?: string[] | null | undefined;
132
+ cc?: string[] | null | undefined;
133
+ message_id?: string | null | undefined;
134
+ reply_to?: string[] | null | undefined;
135
+ scheduled_at?: string | null | undefined;
136
+ topic_id?: string | null | undefined;
137
+ }>>;
138
+ export declare const RESEND_EMAIL_WIRE_SCHEMA: z.ZodObject<{
139
+ created_at: z.ZodString;
140
+ from: z.ZodString;
141
+ id: z.ZodString;
142
+ last_event: z.ZodEnum<{
143
+ delivered: "delivered";
144
+ opened: "opened";
145
+ failed: "failed";
146
+ scheduled: "scheduled";
147
+ sent: "sent";
148
+ canceled: "canceled";
149
+ queued: "queued";
150
+ suppressed: "suppressed";
151
+ bounced: "bounced";
152
+ clicked: "clicked";
153
+ complained: "complained";
154
+ delivery_delayed: "delivery_delayed";
155
+ }>;
156
+ message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ subject: z.ZodString;
159
+ to: z.ZodArray<z.ZodString>;
160
+ topic_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ bcc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
162
+ cc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
163
+ html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ object: z.ZodLiteral<"email">;
165
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
166
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
167
+ name: z.ZodString;
168
+ value: z.ZodString;
169
+ }, z.core.$strip>>>;
170
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
+ }, z.core.$strip>;
172
+ export declare const RESEND_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
173
+ created_at: z.ZodString;
174
+ from: z.ZodString;
175
+ id: z.ZodString;
176
+ last_event: z.ZodEnum<{
177
+ delivered: "delivered";
178
+ opened: "opened";
179
+ failed: "failed";
180
+ scheduled: "scheduled";
181
+ sent: "sent";
182
+ canceled: "canceled";
183
+ queued: "queued";
184
+ suppressed: "suppressed";
185
+ bounced: "bounced";
186
+ clicked: "clicked";
187
+ complained: "complained";
188
+ delivery_delayed: "delivery_delayed";
189
+ }>;
190
+ message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
+ scheduled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
+ subject: z.ZodString;
193
+ to: z.ZodArray<z.ZodString>;
194
+ topic_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
+ bcc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
196
+ cc: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
197
+ html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ object: z.ZodLiteral<"email">;
199
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
200
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
201
+ name: z.ZodString;
202
+ value: z.ZodString;
203
+ }, z.core.$strip>>>;
204
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
205
+ }, z.core.$strip>, z.ZodTransform<{
206
+ createdAt: string;
207
+ lastEvent: "delivered" | "opened" | "failed" | "scheduled" | "sent" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
208
+ messageId: string | null | undefined;
209
+ replyTo: string[] | null | undefined;
210
+ scheduledAt: string | null | undefined;
211
+ topicId: string | null | undefined;
212
+ from: string;
213
+ id: string;
214
+ subject: string;
215
+ to: string[];
216
+ object: "email";
217
+ bcc?: string[] | null | undefined;
218
+ cc?: string[] | null | undefined;
219
+ html?: string | null | undefined;
220
+ tags?: {
221
+ name: string;
222
+ value: string;
223
+ }[] | undefined;
224
+ text?: string | null | undefined;
225
+ }, {
226
+ created_at: string;
227
+ from: string;
228
+ id: string;
229
+ last_event: "delivered" | "opened" | "failed" | "scheduled" | "sent" | "canceled" | "queued" | "suppressed" | "bounced" | "clicked" | "complained" | "delivery_delayed";
230
+ subject: string;
231
+ to: string[];
232
+ object: "email";
233
+ message_id?: string | null | undefined;
234
+ scheduled_at?: string | null | undefined;
235
+ topic_id?: string | null | undefined;
236
+ bcc?: string[] | null | undefined;
237
+ cc?: string[] | null | undefined;
238
+ html?: string | null | undefined;
239
+ reply_to?: string[] | null | undefined;
240
+ tags?: {
241
+ name: string;
242
+ value: string;
243
+ }[] | undefined;
244
+ text?: string | null | undefined;
245
+ }>>;
246
+ export declare const RESEND_ATTACHMENT_WIRE_SCHEMA: z.ZodObject<{
247
+ content_disposition: z.ZodNullable<z.ZodEnum<{
248
+ attachment: "attachment";
249
+ inline: "inline";
250
+ }>>;
251
+ content_id: z.ZodString;
252
+ content_type: z.ZodString;
253
+ download_url: z.ZodURL;
254
+ expires_at: z.ZodString;
255
+ filename: z.ZodNullable<z.ZodString>;
256
+ id: z.ZodString;
257
+ size: z.ZodNumber;
258
+ }, z.core.$strip>;
259
+ export declare const RESEND_ATTACHMENT_SCHEMA: z.ZodPipe<z.ZodObject<{
260
+ content_disposition: z.ZodNullable<z.ZodEnum<{
261
+ attachment: "attachment";
262
+ inline: "inline";
263
+ }>>;
264
+ content_id: z.ZodString;
265
+ content_type: z.ZodString;
266
+ download_url: z.ZodURL;
267
+ expires_at: z.ZodString;
268
+ filename: z.ZodNullable<z.ZodString>;
269
+ id: z.ZodString;
270
+ size: z.ZodNumber;
271
+ }, z.core.$strip>, z.ZodTransform<{
272
+ contentDisposition: "attachment" | "inline" | null;
273
+ contentId: string;
274
+ contentType: string;
275
+ downloadUrl: string;
276
+ expiresAt: string;
277
+ filename: string | null;
278
+ id: string;
279
+ size: number;
280
+ }, {
281
+ content_disposition: "attachment" | "inline" | null;
282
+ content_id: string;
283
+ content_type: string;
284
+ download_url: string;
285
+ expires_at: string;
286
+ filename: string | null;
287
+ id: string;
288
+ size: number;
289
+ }>>;
290
+ export declare const RESEND_RECEIVED_EMAIL_SUMMARY_WIRE_SCHEMA: z.ZodObject<{
291
+ attachments: z.ZodArray<z.ZodObject<{
292
+ content_disposition: z.ZodNullable<z.ZodString>;
293
+ content_id: z.ZodNullable<z.ZodString>;
294
+ content_type: z.ZodString;
295
+ filename: z.ZodNullable<z.ZodString>;
296
+ id: z.ZodString;
297
+ size: z.ZodNumber;
298
+ }, z.core.$strip>>;
299
+ bcc: z.ZodNullable<z.ZodArray<z.ZodString>>;
300
+ cc: z.ZodNullable<z.ZodArray<z.ZodString>>;
301
+ created_at: z.ZodString;
302
+ from: z.ZodString;
303
+ id: z.ZodString;
304
+ message_id: z.ZodString;
305
+ reply_to: z.ZodNullable<z.ZodArray<z.ZodString>>;
306
+ subject: z.ZodNullable<z.ZodString>;
307
+ to: z.ZodArray<z.ZodString>;
308
+ }, z.core.$strip>;
309
+ export declare const RESEND_RECEIVED_EMAIL_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
310
+ attachments: z.ZodArray<z.ZodObject<{
311
+ content_disposition: z.ZodNullable<z.ZodString>;
312
+ content_id: z.ZodNullable<z.ZodString>;
313
+ content_type: z.ZodString;
314
+ filename: z.ZodNullable<z.ZodString>;
315
+ id: z.ZodString;
316
+ size: z.ZodNumber;
317
+ }, z.core.$strip>>;
318
+ bcc: z.ZodNullable<z.ZodArray<z.ZodString>>;
319
+ cc: z.ZodNullable<z.ZodArray<z.ZodString>>;
320
+ created_at: z.ZodString;
321
+ from: z.ZodString;
322
+ id: z.ZodString;
323
+ message_id: z.ZodString;
324
+ reply_to: z.ZodNullable<z.ZodArray<z.ZodString>>;
325
+ subject: z.ZodNullable<z.ZodString>;
326
+ to: z.ZodArray<z.ZodString>;
327
+ }, z.core.$strip>, z.ZodTransform<{
328
+ attachments: {
329
+ contentDisposition: string | null;
330
+ contentId: string | null;
331
+ contentType: string;
332
+ filename: string | null;
333
+ id: string;
334
+ size: number;
335
+ }[];
336
+ createdAt: string;
337
+ messageId: string;
338
+ replyTo: string[] | null;
339
+ bcc: string[] | null;
340
+ cc: string[] | null;
341
+ from: string;
342
+ id: string;
343
+ subject: string | null;
344
+ to: string[];
345
+ }, {
346
+ attachments: {
347
+ content_disposition: string | null;
348
+ content_id: string | null;
349
+ content_type: string;
350
+ filename: string | null;
351
+ id: string;
352
+ size: number;
353
+ }[];
354
+ bcc: string[] | null;
355
+ cc: string[] | null;
356
+ created_at: string;
357
+ from: string;
358
+ id: string;
359
+ message_id: string;
360
+ reply_to: string[] | null;
361
+ subject: string | null;
362
+ to: string[];
363
+ }>>;
364
+ export declare const RESEND_RECEIVED_EMAIL_WIRE_SCHEMA: z.ZodObject<{
365
+ attachments: z.ZodArray<z.ZodObject<{
366
+ content_disposition: z.ZodNullable<z.ZodString>;
367
+ content_id: z.ZodNullable<z.ZodString>;
368
+ content_type: z.ZodString;
369
+ filename: z.ZodNullable<z.ZodString>;
370
+ id: z.ZodString;
371
+ size: z.ZodNumber;
372
+ }, z.core.$strip>>;
373
+ bcc: z.ZodNullable<z.ZodArray<z.ZodString>>;
374
+ cc: z.ZodNullable<z.ZodArray<z.ZodString>>;
375
+ created_at: z.ZodString;
376
+ from: z.ZodString;
377
+ id: z.ZodString;
378
+ message_id: z.ZodString;
379
+ reply_to: z.ZodNullable<z.ZodArray<z.ZodString>>;
380
+ to: z.ZodArray<z.ZodString>;
381
+ headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
382
+ html: z.ZodNullable<z.ZodString>;
383
+ object: z.ZodLiteral<"email">;
384
+ raw: z.ZodOptional<z.ZodNullable<z.ZodObject<{
385
+ download_url: z.ZodURL;
386
+ expires_at: z.ZodString;
387
+ }, z.core.$strip>>>;
388
+ received_for: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
+ subject: z.ZodString;
390
+ text: z.ZodNullable<z.ZodString>;
391
+ }, z.core.$strip>;
392
+ export declare const RESEND_RECEIVED_EMAIL_SCHEMA: z.ZodPipe<z.ZodObject<{
393
+ attachments: z.ZodArray<z.ZodObject<{
394
+ content_disposition: z.ZodNullable<z.ZodString>;
395
+ content_id: z.ZodNullable<z.ZodString>;
396
+ content_type: z.ZodString;
397
+ filename: z.ZodNullable<z.ZodString>;
398
+ id: z.ZodString;
399
+ size: z.ZodNumber;
400
+ }, z.core.$strip>>;
401
+ bcc: z.ZodNullable<z.ZodArray<z.ZodString>>;
402
+ cc: z.ZodNullable<z.ZodArray<z.ZodString>>;
403
+ created_at: z.ZodString;
404
+ from: z.ZodString;
405
+ id: z.ZodString;
406
+ message_id: z.ZodString;
407
+ reply_to: z.ZodNullable<z.ZodArray<z.ZodString>>;
408
+ to: z.ZodArray<z.ZodString>;
409
+ headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
410
+ html: z.ZodNullable<z.ZodString>;
411
+ object: z.ZodLiteral<"email">;
412
+ raw: z.ZodOptional<z.ZodNullable<z.ZodObject<{
413
+ download_url: z.ZodURL;
414
+ expires_at: z.ZodString;
415
+ }, z.core.$strip>>>;
416
+ received_for: z.ZodOptional<z.ZodArray<z.ZodString>>;
417
+ subject: z.ZodString;
418
+ text: z.ZodNullable<z.ZodString>;
419
+ }, z.core.$strip>, z.ZodTransform<{
420
+ attachments: {
421
+ contentDisposition: string | null;
422
+ contentId: string | null;
423
+ contentType: string;
424
+ filename: string | null;
425
+ id: string;
426
+ size: number;
427
+ }[];
428
+ createdAt: string;
429
+ messageId: string;
430
+ raw: {
431
+ downloadUrl: string;
432
+ expiresAt: string;
433
+ } | null | undefined;
434
+ receivedFor: string[] | undefined;
435
+ replyTo: string[] | null;
436
+ bcc: string[] | null;
437
+ cc: string[] | null;
438
+ from: string;
439
+ id: string;
440
+ to: string[];
441
+ headers: Record<string, string> | null;
442
+ html: string | null;
443
+ object: "email";
444
+ subject: string;
445
+ text: string | null;
446
+ }, {
447
+ attachments: {
448
+ content_disposition: string | null;
449
+ content_id: string | null;
450
+ content_type: string;
451
+ filename: string | null;
452
+ id: string;
453
+ size: number;
454
+ }[];
455
+ bcc: string[] | null;
456
+ cc: string[] | null;
457
+ created_at: string;
458
+ from: string;
459
+ id: string;
460
+ message_id: string;
461
+ reply_to: string[] | null;
462
+ to: string[];
463
+ headers: Record<string, string> | null;
464
+ html: string | null;
465
+ object: "email";
466
+ subject: string;
467
+ text: string | null;
468
+ raw?: {
469
+ download_url: string;
470
+ expires_at: string;
471
+ } | null | undefined;
472
+ received_for?: string[] | undefined;
473
+ }>>;
474
+ export declare const RESEND_CONTACT_SUMMARY_WIRE_SCHEMA: z.ZodObject<{
475
+ created_at: z.ZodString;
476
+ email: z.ZodEmail;
477
+ first_name: z.ZodNullable<z.ZodString>;
478
+ id: z.ZodString;
479
+ last_name: z.ZodNullable<z.ZodString>;
480
+ unsubscribed: z.ZodBoolean;
481
+ }, z.core.$strip>;
482
+ export declare const RESEND_CONTACT_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
483
+ created_at: z.ZodString;
484
+ email: z.ZodEmail;
485
+ first_name: z.ZodNullable<z.ZodString>;
486
+ id: z.ZodString;
487
+ last_name: z.ZodNullable<z.ZodString>;
488
+ unsubscribed: z.ZodBoolean;
489
+ }, z.core.$strip>, z.ZodTransform<{
490
+ createdAt: string;
491
+ firstName: string | null;
492
+ lastName: string | null;
493
+ email: string;
494
+ id: string;
495
+ unsubscribed: boolean;
496
+ }, {
497
+ created_at: string;
498
+ email: string;
499
+ first_name: string | null;
500
+ id: string;
501
+ last_name: string | null;
502
+ unsubscribed: boolean;
503
+ }>>;
504
+ export declare const RESEND_CONTACT_WIRE_SCHEMA: z.ZodObject<{
505
+ created_at: z.ZodString;
506
+ email: z.ZodEmail;
507
+ first_name: z.ZodNullable<z.ZodString>;
508
+ id: z.ZodString;
509
+ last_name: z.ZodNullable<z.ZodString>;
510
+ unsubscribed: z.ZodBoolean;
511
+ object: z.ZodLiteral<"contact">;
512
+ properties: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
513
+ type: z.ZodLiteral<"number">;
514
+ value: z.ZodNumber;
515
+ }, z.core.$strip>, z.ZodObject<{
516
+ type: z.ZodLiteral<"string">;
517
+ value: z.ZodString;
518
+ }, z.core.$strip>], "type">>;
519
+ }, z.core.$strip>;
520
+ export declare const RESEND_CONTACT_SCHEMA: z.ZodPipe<z.ZodObject<{
521
+ created_at: z.ZodString;
522
+ email: z.ZodEmail;
523
+ first_name: z.ZodNullable<z.ZodString>;
524
+ id: z.ZodString;
525
+ last_name: z.ZodNullable<z.ZodString>;
526
+ unsubscribed: z.ZodBoolean;
527
+ object: z.ZodLiteral<"contact">;
528
+ properties: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
529
+ type: z.ZodLiteral<"number">;
530
+ value: z.ZodNumber;
531
+ }, z.core.$strip>, z.ZodObject<{
532
+ type: z.ZodLiteral<"string">;
533
+ value: z.ZodString;
534
+ }, z.core.$strip>], "type">>;
535
+ }, z.core.$strip>, z.ZodTransform<{
536
+ createdAt: string;
537
+ firstName: string | null;
538
+ lastName: string | null;
539
+ email: string;
540
+ id: string;
541
+ unsubscribed: boolean;
542
+ object: "contact";
543
+ properties: Record<string, {
544
+ type: "number";
545
+ value: number;
546
+ } | {
547
+ type: "string";
548
+ value: string;
549
+ }>;
550
+ }, {
551
+ created_at: string;
552
+ email: string;
553
+ first_name: string | null;
554
+ id: string;
555
+ last_name: string | null;
556
+ unsubscribed: boolean;
557
+ object: "contact";
558
+ properties: Record<string, {
559
+ type: "number";
560
+ value: number;
561
+ } | {
562
+ type: "string";
563
+ value: string;
564
+ }>;
565
+ }>>;
566
+ export declare const RESEND_SEGMENT_SUMMARY_WIRE_SCHEMA: z.ZodObject<{
567
+ created_at: z.ZodString;
568
+ id: z.ZodString;
569
+ name: z.ZodString;
570
+ }, z.core.$strip>;
571
+ export declare const RESEND_SEGMENT_SUMMARY_SCHEMA: z.ZodPipe<z.ZodObject<{
572
+ created_at: z.ZodString;
573
+ id: z.ZodString;
574
+ name: z.ZodString;
575
+ }, z.core.$strip>, z.ZodTransform<{
576
+ createdAt: string;
577
+ id: string;
578
+ name: string;
579
+ }, {
580
+ created_at: string;
581
+ id: string;
582
+ name: string;
583
+ }>>;
584
+ export declare const RESEND_CONTACT_IMPORT_COUNTS_SCHEMA: z.ZodObject<{
585
+ created: z.ZodNumber;
586
+ failed: z.ZodNumber;
587
+ skipped: z.ZodNumber;
588
+ total: z.ZodNumber;
589
+ updated: z.ZodNumber;
590
+ }, z.core.$strip>;
591
+ export declare const RESEND_CONTACT_IMPORT_WIRE_SCHEMA: z.ZodObject<{
592
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
593
+ counts: z.ZodOptional<z.ZodObject<{
594
+ created: z.ZodNumber;
595
+ failed: z.ZodNumber;
596
+ skipped: z.ZodNumber;
597
+ total: z.ZodNumber;
598
+ updated: z.ZodNumber;
599
+ }, z.core.$strip>>;
600
+ created_at: z.ZodString;
601
+ id: z.ZodString;
602
+ object: z.ZodLiteral<"contact_import">;
603
+ status: z.ZodEnum<{
604
+ completed: "completed";
605
+ failed: "failed";
606
+ in_progress: "in_progress";
607
+ queued: "queued";
608
+ }>;
609
+ }, z.core.$strip>;
610
+ export declare const RESEND_CONTACT_IMPORT_SCHEMA: z.ZodPipe<z.ZodObject<{
611
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
612
+ counts: z.ZodOptional<z.ZodObject<{
613
+ created: z.ZodNumber;
614
+ failed: z.ZodNumber;
615
+ skipped: z.ZodNumber;
616
+ total: z.ZodNumber;
617
+ updated: z.ZodNumber;
618
+ }, z.core.$strip>>;
619
+ created_at: z.ZodString;
620
+ id: z.ZodString;
621
+ object: z.ZodLiteral<"contact_import">;
622
+ status: z.ZodEnum<{
623
+ completed: "completed";
624
+ failed: "failed";
625
+ in_progress: "in_progress";
626
+ queued: "queued";
627
+ }>;
628
+ }, z.core.$strip>, z.ZodTransform<{
629
+ completedAt: string | null | undefined;
630
+ createdAt: string;
631
+ id: string;
632
+ object: "contact_import";
633
+ status: "completed" | "failed" | "in_progress" | "queued";
634
+ counts?: {
635
+ created: number;
636
+ failed: number;
637
+ skipped: number;
638
+ total: number;
639
+ updated: number;
640
+ } | undefined;
641
+ }, {
642
+ created_at: string;
643
+ id: string;
644
+ object: "contact_import";
645
+ status: "completed" | "failed" | "in_progress" | "queued";
646
+ completed_at?: string | null | undefined;
647
+ counts?: {
648
+ created: number;
649
+ failed: number;
650
+ skipped: number;
651
+ total: number;
652
+ updated: number;
653
+ } | undefined;
654
+ }>>;
655
+ export declare const RESEND_CONTACT_TOPIC_SCHEMA: z.ZodObject<{
656
+ description: z.ZodString;
657
+ id: z.ZodString;
658
+ name: z.ZodString;
659
+ subscription: z.ZodEnum<{
660
+ opt_in: "opt_in";
661
+ opt_out: "opt_out";
662
+ }>;
663
+ }, z.core.$strip>;
664
+ export declare const RESEND_CONTACT_SEGMENT_DELETE_WIRE_SCHEMA: z.ZodObject<{
665
+ contact_id: z.ZodString;
666
+ deleted: z.ZodBoolean;
667
+ object: z.ZodLiteral<"contact_segment">;
668
+ segment_id: z.ZodString;
669
+ }, z.core.$strip>;
670
+ export declare const RESEND_CONTACT_SEGMENT_MUTATION_WIRE_SCHEMA: z.ZodObject<{
671
+ contact_id: z.ZodString;
672
+ object: z.ZodLiteral<"contact_segment">;
673
+ segment_id: z.ZodString;
674
+ }, z.core.$strip>;
675
+ export declare const RESEND_CONTACT_SEGMENT_MUTATION_SCHEMA: z.ZodPipe<z.ZodObject<{
676
+ contact_id: z.ZodString;
677
+ object: z.ZodLiteral<"contact_segment">;
678
+ segment_id: z.ZodString;
679
+ }, z.core.$strip>, z.ZodTransform<{
680
+ contactId: string;
681
+ segmentId: string;
682
+ object: "contact_segment";
683
+ }, {
684
+ contact_id: string;
685
+ object: "contact_segment";
686
+ segment_id: string;
687
+ }>>;
688
+ export declare const RESEND_CONTACT_SEGMENT_DELETE_SCHEMA: z.ZodPipe<z.ZodObject<{
689
+ contact_id: z.ZodString;
690
+ deleted: z.ZodBoolean;
691
+ object: z.ZodLiteral<"contact_segment">;
692
+ segment_id: z.ZodString;
693
+ }, z.core.$strip>, z.ZodTransform<{
694
+ contactId: string;
695
+ segmentId: string;
696
+ deleted: boolean;
697
+ object: "contact_segment";
698
+ }, {
699
+ contact_id: string;
700
+ deleted: boolean;
701
+ object: "contact_segment";
702
+ segment_id: string;
703
+ }>>;
704
+ export declare const RESEND_CONTACT_TOPICS_UPDATE_WIRE_SCHEMA: z.ZodObject<{
705
+ contact_id: z.ZodString;
706
+ object: z.ZodLiteral<"contact_topics">;
707
+ topics: z.ZodArray<z.ZodObject<{
708
+ id: z.ZodString;
709
+ subscription: z.ZodEnum<{
710
+ opt_in: "opt_in";
711
+ opt_out: "opt_out";
712
+ }>;
713
+ }, z.core.$strip>>;
714
+ }, z.core.$strip>;
715
+ export declare const RESEND_CONTACT_TOPICS_UPDATE_SCHEMA: z.ZodPipe<z.ZodObject<{
716
+ contact_id: z.ZodString;
717
+ object: z.ZodLiteral<"contact_topics">;
718
+ topics: z.ZodArray<z.ZodObject<{
719
+ id: z.ZodString;
720
+ subscription: z.ZodEnum<{
721
+ opt_in: "opt_in";
722
+ opt_out: "opt_out";
723
+ }>;
724
+ }, z.core.$strip>>;
725
+ }, z.core.$strip>, z.ZodTransform<{
726
+ contactId: string;
727
+ object: "contact_topics";
728
+ topics: {
729
+ id: string;
730
+ subscription: "opt_in" | "opt_out";
731
+ }[];
732
+ }, {
733
+ contact_id: string;
734
+ object: "contact_topics";
735
+ topics: {
736
+ id: string;
737
+ subscription: "opt_in" | "opt_out";
738
+ }[];
739
+ }>>;
740
+ export declare const RESEND_EVENT_SEND_RESPONSE_SCHEMA: z.ZodObject<{
741
+ event: z.ZodString;
742
+ object: z.ZodLiteral<"event">;
743
+ }, z.core.$strip>;
744
+ export declare const RESEND_EVENT_VALUE_TYPE_SCHEMA: z.ZodEnum<{
745
+ string: "string";
746
+ number: "number";
747
+ boolean: "boolean";
748
+ date: "date";
749
+ }>;
750
+ export declare const RESEND_EVENT_DEFINITION_WIRE_SCHEMA: z.ZodObject<{
751
+ created_at: z.ZodString;
752
+ id: z.ZodString;
753
+ name: z.ZodString;
754
+ object: z.ZodOptional<z.ZodLiteral<"event">>;
755
+ schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodEnum<{
756
+ string: "string";
757
+ number: "number";
758
+ boolean: "boolean";
759
+ date: "date";
760
+ }>>>;
761
+ updated_at: z.ZodNullable<z.ZodString>;
762
+ }, z.core.$strip>;
763
+ export declare const RESEND_EVENT_DEFINITION_SCHEMA: z.ZodPipe<z.ZodObject<{
764
+ created_at: z.ZodString;
765
+ id: z.ZodString;
766
+ name: z.ZodString;
767
+ object: z.ZodOptional<z.ZodLiteral<"event">>;
768
+ schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodEnum<{
769
+ string: "string";
770
+ number: "number";
771
+ boolean: "boolean";
772
+ date: "date";
773
+ }>>>;
774
+ updated_at: z.ZodNullable<z.ZodString>;
775
+ }, z.core.$strip>, z.ZodTransform<{
776
+ createdAt: string;
777
+ updatedAt: string | null;
778
+ id: string;
779
+ name: string;
780
+ schema: Record<string, "string" | "number" | "boolean" | "date"> | null;
781
+ object?: "event" | undefined;
782
+ }, {
783
+ created_at: string;
784
+ id: string;
785
+ name: string;
786
+ schema: Record<string, "string" | "number" | "boolean" | "date"> | null;
787
+ updated_at: string | null;
788
+ object?: "event" | undefined;
789
+ }>>;
790
+ /**
791
+ * Creates a Resend list response schema for one provider item schema.
792
+ *
793
+ * @param item - Provider item schema contained in the list.
794
+ */
795
+ export declare function resendListWireSchema<TItem extends z.ZodType>(item: TItem): z.ZodObject<{
796
+ data: z.ZodArray<TItem>;
797
+ has_more: z.ZodBoolean;
798
+ object: z.ZodLiteral<"list">;
799
+ }, z.core.$strip>;
800
+ /**
801
+ * Creates a normalized Resend list response schema.
802
+ *
803
+ * @param item - Normalized item schema contained in the list.
804
+ */
805
+ export declare function resendListSchema<TItem extends z.ZodType>(item: TItem): z.ZodPipe<z.ZodObject<{
806
+ data: z.ZodArray<TItem>;
807
+ has_more: z.ZodBoolean;
808
+ object: z.ZodLiteral<"list">;
809
+ }, z.core.$strip>, z.ZodTransform<{
810
+ hasMore: boolean;
811
+ data: z.core.output<TItem>[];
812
+ object: "list";
813
+ }, {
814
+ data: z.core.output<TItem>[];
815
+ has_more: boolean;
816
+ object: "list";
817
+ }>>;