@automate.ax/integration-contracts 0.118.0 → 0.119.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.
@@ -2,6 +2,461 @@ import * as z from "zod";
2
2
  export * from "./graph.js";
3
3
  export * from "./schemas.js";
4
4
  export declare const OUTLOOK_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
5
+ export declare const OUTLOOK_MESSAGE_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
6
+ folder: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ export declare const OUTLOOK_MESSAGE_CREATED_EVENT_SCHEMA: z.ZodObject<{
9
+ changeType: z.ZodLiteral<"created">;
10
+ message: z.ZodObject<{
11
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
12
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
13
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
14
+ flag: z.ZodOptional<z.ZodObject<{
15
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
+ dateTime: z.ZodString;
17
+ timeZone: z.ZodString;
18
+ }, z.core.$strip>>>, z.ZodTransform<{
19
+ dateTime: string;
20
+ timeZone: string;
21
+ } | undefined, {
22
+ dateTime: string;
23
+ timeZone: string;
24
+ } | null | undefined>>;
25
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ dateTime: z.ZodString;
27
+ timeZone: z.ZodString;
28
+ }, z.core.$strip>>>, z.ZodTransform<{
29
+ dateTime: string;
30
+ timeZone: string;
31
+ } | undefined, {
32
+ dateTime: string;
33
+ timeZone: string;
34
+ } | null | undefined>>;
35
+ status: z.ZodEnum<{
36
+ complete: "complete";
37
+ notFlagged: "notFlagged";
38
+ flagged: "flagged";
39
+ }>;
40
+ }, z.core.$strip>>;
41
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
+ address: z.ZodString;
43
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
44
+ }, z.core.$strip>>>, z.ZodTransform<{
45
+ address: string;
46
+ name: string | undefined;
47
+ } | undefined, {
48
+ address: string;
49
+ name: string | undefined;
50
+ } | null | undefined>>;
51
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
52
+ messageId: z.ZodString;
53
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
54
+ importance: z.ZodPrefault<z.ZodEnum<{
55
+ high: "high";
56
+ normal: "normal";
57
+ low: "low";
58
+ }>>;
59
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
60
+ focused: "focused";
61
+ other: "other";
62
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
63
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
64
+ isRead: z.ZodPrefault<z.ZodBoolean>;
65
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
66
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
67
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
68
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
69
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
70
+ address: z.ZodString;
71
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
72
+ }, z.core.$strip>>>;
73
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
74
+ address: z.ZodString;
75
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
76
+ }, z.core.$strip>>>, z.ZodTransform<{
77
+ address: string;
78
+ name: string | undefined;
79
+ } | undefined, {
80
+ address: string;
81
+ name: string | undefined;
82
+ } | null | undefined>>;
83
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
84
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
85
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
86
+ address: z.ZodString;
87
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
88
+ }, z.core.$strip>>>;
89
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
90
+ address: z.ZodString;
91
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
92
+ }, z.core.$strip>>>;
93
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
94
+ address: z.ZodString;
95
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
96
+ }, z.core.$strip>>>;
97
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
98
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
99
+ content: z.ZodString;
100
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
101
+ text: "text";
102
+ html: "html";
103
+ }>, z.ZodEnum<{
104
+ Text: "Text";
105
+ HTML: "HTML";
106
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
107
+ }, z.core.$strip>>>, z.ZodTransform<{
108
+ content: string;
109
+ contentType: "text" | "html";
110
+ } | undefined, {
111
+ content: string;
112
+ contentType: "text" | "html";
113
+ } | null | undefined>>;
114
+ etag: z.ZodOptional<z.ZodString>;
115
+ }, z.core.$strip>;
116
+ folderId: z.ZodOptional<z.ZodString>;
117
+ messageId: z.ZodString;
118
+ }, z.core.$strip>;
119
+ export declare const OUTLOOK_MESSAGE_UPDATED_EVENT_SCHEMA: z.ZodObject<{
120
+ changeType: z.ZodLiteral<"updated">;
121
+ message: z.ZodObject<{
122
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
123
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
124
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
125
+ flag: z.ZodOptional<z.ZodObject<{
126
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
127
+ dateTime: z.ZodString;
128
+ timeZone: z.ZodString;
129
+ }, z.core.$strip>>>, z.ZodTransform<{
130
+ dateTime: string;
131
+ timeZone: string;
132
+ } | undefined, {
133
+ dateTime: string;
134
+ timeZone: string;
135
+ } | null | undefined>>;
136
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
137
+ dateTime: z.ZodString;
138
+ timeZone: z.ZodString;
139
+ }, z.core.$strip>>>, z.ZodTransform<{
140
+ dateTime: string;
141
+ timeZone: string;
142
+ } | undefined, {
143
+ dateTime: string;
144
+ timeZone: string;
145
+ } | null | undefined>>;
146
+ status: z.ZodEnum<{
147
+ complete: "complete";
148
+ notFlagged: "notFlagged";
149
+ flagged: "flagged";
150
+ }>;
151
+ }, z.core.$strip>>;
152
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
153
+ address: z.ZodString;
154
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
155
+ }, z.core.$strip>>>, z.ZodTransform<{
156
+ address: string;
157
+ name: string | undefined;
158
+ } | undefined, {
159
+ address: string;
160
+ name: string | undefined;
161
+ } | null | undefined>>;
162
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
163
+ messageId: z.ZodString;
164
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
165
+ importance: z.ZodPrefault<z.ZodEnum<{
166
+ high: "high";
167
+ normal: "normal";
168
+ low: "low";
169
+ }>>;
170
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
171
+ focused: "focused";
172
+ other: "other";
173
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
174
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
175
+ isRead: z.ZodPrefault<z.ZodBoolean>;
176
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
177
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
178
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
179
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
180
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
181
+ address: z.ZodString;
182
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
183
+ }, z.core.$strip>>>;
184
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
185
+ address: z.ZodString;
186
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
187
+ }, z.core.$strip>>>, z.ZodTransform<{
188
+ address: string;
189
+ name: string | undefined;
190
+ } | undefined, {
191
+ address: string;
192
+ name: string | undefined;
193
+ } | null | undefined>>;
194
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
195
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
196
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
197
+ address: z.ZodString;
198
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
199
+ }, z.core.$strip>>>;
200
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
201
+ address: z.ZodString;
202
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
203
+ }, z.core.$strip>>>;
204
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
205
+ address: z.ZodString;
206
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
207
+ }, z.core.$strip>>>;
208
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
209
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
210
+ content: z.ZodString;
211
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
212
+ text: "text";
213
+ html: "html";
214
+ }>, z.ZodEnum<{
215
+ Text: "Text";
216
+ HTML: "HTML";
217
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
218
+ }, z.core.$strip>>>, z.ZodTransform<{
219
+ content: string;
220
+ contentType: "text" | "html";
221
+ } | undefined, {
222
+ content: string;
223
+ contentType: "text" | "html";
224
+ } | null | undefined>>;
225
+ etag: z.ZodOptional<z.ZodString>;
226
+ }, z.core.$strip>;
227
+ folderId: z.ZodOptional<z.ZodString>;
228
+ messageId: z.ZodString;
229
+ }, z.core.$strip>;
230
+ export declare const OUTLOOK_MESSAGE_DELETED_EVENT_SCHEMA: z.ZodObject<{
231
+ changeType: z.ZodLiteral<"deleted">;
232
+ folderId: z.ZodOptional<z.ZodString>;
233
+ messageId: z.ZodString;
234
+ }, z.core.$strip>;
235
+ export declare const OUTLOOK_MESSAGE_CHANGE_EVENT_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
236
+ changeType: z.ZodLiteral<"created">;
237
+ message: z.ZodObject<{
238
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
239
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
240
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
241
+ flag: z.ZodOptional<z.ZodObject<{
242
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
243
+ dateTime: z.ZodString;
244
+ timeZone: z.ZodString;
245
+ }, z.core.$strip>>>, z.ZodTransform<{
246
+ dateTime: string;
247
+ timeZone: string;
248
+ } | undefined, {
249
+ dateTime: string;
250
+ timeZone: string;
251
+ } | null | undefined>>;
252
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
253
+ dateTime: z.ZodString;
254
+ timeZone: z.ZodString;
255
+ }, z.core.$strip>>>, z.ZodTransform<{
256
+ dateTime: string;
257
+ timeZone: string;
258
+ } | undefined, {
259
+ dateTime: string;
260
+ timeZone: string;
261
+ } | null | undefined>>;
262
+ status: z.ZodEnum<{
263
+ complete: "complete";
264
+ notFlagged: "notFlagged";
265
+ flagged: "flagged";
266
+ }>;
267
+ }, z.core.$strip>>;
268
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
269
+ address: z.ZodString;
270
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
271
+ }, z.core.$strip>>>, z.ZodTransform<{
272
+ address: string;
273
+ name: string | undefined;
274
+ } | undefined, {
275
+ address: string;
276
+ name: string | undefined;
277
+ } | null | undefined>>;
278
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
279
+ messageId: z.ZodString;
280
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
281
+ importance: z.ZodPrefault<z.ZodEnum<{
282
+ high: "high";
283
+ normal: "normal";
284
+ low: "low";
285
+ }>>;
286
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
287
+ focused: "focused";
288
+ other: "other";
289
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
290
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
291
+ isRead: z.ZodPrefault<z.ZodBoolean>;
292
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
293
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
294
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
295
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
296
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
297
+ address: z.ZodString;
298
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
299
+ }, z.core.$strip>>>;
300
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
301
+ address: z.ZodString;
302
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
303
+ }, z.core.$strip>>>, z.ZodTransform<{
304
+ address: string;
305
+ name: string | undefined;
306
+ } | undefined, {
307
+ address: string;
308
+ name: string | undefined;
309
+ } | null | undefined>>;
310
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
311
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
312
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
313
+ address: z.ZodString;
314
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
315
+ }, z.core.$strip>>>;
316
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
317
+ address: z.ZodString;
318
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
319
+ }, z.core.$strip>>>;
320
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
321
+ address: z.ZodString;
322
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
323
+ }, z.core.$strip>>>;
324
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
325
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
326
+ content: z.ZodString;
327
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
328
+ text: "text";
329
+ html: "html";
330
+ }>, z.ZodEnum<{
331
+ Text: "Text";
332
+ HTML: "HTML";
333
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
334
+ }, z.core.$strip>>>, z.ZodTransform<{
335
+ content: string;
336
+ contentType: "text" | "html";
337
+ } | undefined, {
338
+ content: string;
339
+ contentType: "text" | "html";
340
+ } | null | undefined>>;
341
+ etag: z.ZodOptional<z.ZodString>;
342
+ }, z.core.$strip>;
343
+ folderId: z.ZodOptional<z.ZodString>;
344
+ messageId: z.ZodString;
345
+ }, z.core.$strip>, z.ZodObject<{
346
+ changeType: z.ZodLiteral<"updated">;
347
+ message: z.ZodObject<{
348
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
349
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
350
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
351
+ flag: z.ZodOptional<z.ZodObject<{
352
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
353
+ dateTime: z.ZodString;
354
+ timeZone: z.ZodString;
355
+ }, z.core.$strip>>>, z.ZodTransform<{
356
+ dateTime: string;
357
+ timeZone: string;
358
+ } | undefined, {
359
+ dateTime: string;
360
+ timeZone: string;
361
+ } | null | undefined>>;
362
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
363
+ dateTime: z.ZodString;
364
+ timeZone: z.ZodString;
365
+ }, z.core.$strip>>>, z.ZodTransform<{
366
+ dateTime: string;
367
+ timeZone: string;
368
+ } | undefined, {
369
+ dateTime: string;
370
+ timeZone: string;
371
+ } | null | undefined>>;
372
+ status: z.ZodEnum<{
373
+ complete: "complete";
374
+ notFlagged: "notFlagged";
375
+ flagged: "flagged";
376
+ }>;
377
+ }, z.core.$strip>>;
378
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
379
+ address: z.ZodString;
380
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
381
+ }, z.core.$strip>>>, z.ZodTransform<{
382
+ address: string;
383
+ name: string | undefined;
384
+ } | undefined, {
385
+ address: string;
386
+ name: string | undefined;
387
+ } | null | undefined>>;
388
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
389
+ messageId: z.ZodString;
390
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
391
+ importance: z.ZodPrefault<z.ZodEnum<{
392
+ high: "high";
393
+ normal: "normal";
394
+ low: "low";
395
+ }>>;
396
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
397
+ focused: "focused";
398
+ other: "other";
399
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
400
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
401
+ isRead: z.ZodPrefault<z.ZodBoolean>;
402
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
403
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
404
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
405
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
406
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
407
+ address: z.ZodString;
408
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
409
+ }, z.core.$strip>>>;
410
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
411
+ address: z.ZodString;
412
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
413
+ }, z.core.$strip>>>, z.ZodTransform<{
414
+ address: string;
415
+ name: string | undefined;
416
+ } | undefined, {
417
+ address: string;
418
+ name: string | undefined;
419
+ } | null | undefined>>;
420
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
421
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
422
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
423
+ address: z.ZodString;
424
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
425
+ }, z.core.$strip>>>;
426
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
427
+ address: z.ZodString;
428
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
429
+ }, z.core.$strip>>>;
430
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
431
+ address: z.ZodString;
432
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
433
+ }, z.core.$strip>>>;
434
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
435
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
436
+ content: z.ZodString;
437
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
438
+ text: "text";
439
+ html: "html";
440
+ }>, z.ZodEnum<{
441
+ Text: "Text";
442
+ HTML: "HTML";
443
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
444
+ }, z.core.$strip>>>, z.ZodTransform<{
445
+ content: string;
446
+ contentType: "text" | "html";
447
+ } | undefined, {
448
+ content: string;
449
+ contentType: "text" | "html";
450
+ } | null | undefined>>;
451
+ etag: z.ZodOptional<z.ZodString>;
452
+ }, z.core.$strip>;
453
+ folderId: z.ZodOptional<z.ZodString>;
454
+ messageId: z.ZodString;
455
+ }, z.core.$strip>, z.ZodObject<{
456
+ changeType: z.ZodLiteral<"deleted">;
457
+ folderId: z.ZodOptional<z.ZodString>;
458
+ messageId: z.ZodString;
459
+ }, z.core.$strip>], "changeType">;
5
460
  export declare const outlookTriggerContracts: {
6
461
  readonly "outlook.email.received": {
7
462
  readonly configSchema: z.ZodObject<{}, z.core.$strip>;
@@ -112,4 +567,476 @@ export declare const outlookTriggerContracts: {
112
567
  etag: z.ZodOptional<z.ZodString>;
113
568
  }, z.core.$strip>;
114
569
  };
570
+ readonly "outlook.message.changed": {
571
+ readonly configSchema: z.ZodObject<{
572
+ folder: z.ZodOptional<z.ZodString>;
573
+ }, z.core.$strip>;
574
+ readonly eventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
575
+ changeType: z.ZodLiteral<"created">;
576
+ message: z.ZodObject<{
577
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
578
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
579
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
580
+ flag: z.ZodOptional<z.ZodObject<{
581
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
582
+ dateTime: z.ZodString;
583
+ timeZone: z.ZodString;
584
+ }, z.core.$strip>>>, z.ZodTransform<{
585
+ dateTime: string;
586
+ timeZone: string;
587
+ } | undefined, {
588
+ dateTime: string;
589
+ timeZone: string;
590
+ } | null | undefined>>;
591
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
592
+ dateTime: z.ZodString;
593
+ timeZone: z.ZodString;
594
+ }, z.core.$strip>>>, z.ZodTransform<{
595
+ dateTime: string;
596
+ timeZone: string;
597
+ } | undefined, {
598
+ dateTime: string;
599
+ timeZone: string;
600
+ } | null | undefined>>;
601
+ status: z.ZodEnum<{
602
+ complete: "complete";
603
+ notFlagged: "notFlagged";
604
+ flagged: "flagged";
605
+ }>;
606
+ }, z.core.$strip>>;
607
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
608
+ address: z.ZodString;
609
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
610
+ }, z.core.$strip>>>, z.ZodTransform<{
611
+ address: string;
612
+ name: string | undefined;
613
+ } | undefined, {
614
+ address: string;
615
+ name: string | undefined;
616
+ } | null | undefined>>;
617
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
618
+ messageId: z.ZodString;
619
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
620
+ importance: z.ZodPrefault<z.ZodEnum<{
621
+ high: "high";
622
+ normal: "normal";
623
+ low: "low";
624
+ }>>;
625
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
626
+ focused: "focused";
627
+ other: "other";
628
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
629
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
630
+ isRead: z.ZodPrefault<z.ZodBoolean>;
631
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
632
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
633
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
634
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
635
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
636
+ address: z.ZodString;
637
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
638
+ }, z.core.$strip>>>;
639
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
640
+ address: z.ZodString;
641
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
642
+ }, z.core.$strip>>>, z.ZodTransform<{
643
+ address: string;
644
+ name: string | undefined;
645
+ } | undefined, {
646
+ address: string;
647
+ name: string | undefined;
648
+ } | null | undefined>>;
649
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
650
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
651
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
652
+ address: z.ZodString;
653
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
654
+ }, z.core.$strip>>>;
655
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
656
+ address: z.ZodString;
657
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
658
+ }, z.core.$strip>>>;
659
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
660
+ address: z.ZodString;
661
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
662
+ }, z.core.$strip>>>;
663
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
664
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
665
+ content: z.ZodString;
666
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
667
+ text: "text";
668
+ html: "html";
669
+ }>, z.ZodEnum<{
670
+ Text: "Text";
671
+ HTML: "HTML";
672
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
673
+ }, z.core.$strip>>>, z.ZodTransform<{
674
+ content: string;
675
+ contentType: "text" | "html";
676
+ } | undefined, {
677
+ content: string;
678
+ contentType: "text" | "html";
679
+ } | null | undefined>>;
680
+ etag: z.ZodOptional<z.ZodString>;
681
+ }, z.core.$strip>;
682
+ folderId: z.ZodOptional<z.ZodString>;
683
+ messageId: z.ZodString;
684
+ }, z.core.$strip>, z.ZodObject<{
685
+ changeType: z.ZodLiteral<"updated">;
686
+ message: z.ZodObject<{
687
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
688
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
689
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
690
+ flag: z.ZodOptional<z.ZodObject<{
691
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
692
+ dateTime: z.ZodString;
693
+ timeZone: z.ZodString;
694
+ }, z.core.$strip>>>, z.ZodTransform<{
695
+ dateTime: string;
696
+ timeZone: string;
697
+ } | undefined, {
698
+ dateTime: string;
699
+ timeZone: string;
700
+ } | null | undefined>>;
701
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
702
+ dateTime: z.ZodString;
703
+ timeZone: z.ZodString;
704
+ }, z.core.$strip>>>, z.ZodTransform<{
705
+ dateTime: string;
706
+ timeZone: string;
707
+ } | undefined, {
708
+ dateTime: string;
709
+ timeZone: string;
710
+ } | null | undefined>>;
711
+ status: z.ZodEnum<{
712
+ complete: "complete";
713
+ notFlagged: "notFlagged";
714
+ flagged: "flagged";
715
+ }>;
716
+ }, z.core.$strip>>;
717
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
718
+ address: z.ZodString;
719
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
720
+ }, z.core.$strip>>>, z.ZodTransform<{
721
+ address: string;
722
+ name: string | undefined;
723
+ } | undefined, {
724
+ address: string;
725
+ name: string | undefined;
726
+ } | null | undefined>>;
727
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
728
+ messageId: z.ZodString;
729
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
730
+ importance: z.ZodPrefault<z.ZodEnum<{
731
+ high: "high";
732
+ normal: "normal";
733
+ low: "low";
734
+ }>>;
735
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
736
+ focused: "focused";
737
+ other: "other";
738
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
739
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
740
+ isRead: z.ZodPrefault<z.ZodBoolean>;
741
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
742
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
743
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
744
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
745
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
746
+ address: z.ZodString;
747
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
748
+ }, z.core.$strip>>>;
749
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
750
+ address: z.ZodString;
751
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
752
+ }, z.core.$strip>>>, z.ZodTransform<{
753
+ address: string;
754
+ name: string | undefined;
755
+ } | undefined, {
756
+ address: string;
757
+ name: string | undefined;
758
+ } | null | undefined>>;
759
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
760
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
761
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
762
+ address: z.ZodString;
763
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
764
+ }, z.core.$strip>>>;
765
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
766
+ address: z.ZodString;
767
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
768
+ }, z.core.$strip>>>;
769
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
770
+ address: z.ZodString;
771
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
772
+ }, z.core.$strip>>>;
773
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
774
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
775
+ content: z.ZodString;
776
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
777
+ text: "text";
778
+ html: "html";
779
+ }>, z.ZodEnum<{
780
+ Text: "Text";
781
+ HTML: "HTML";
782
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
783
+ }, z.core.$strip>>>, z.ZodTransform<{
784
+ content: string;
785
+ contentType: "text" | "html";
786
+ } | undefined, {
787
+ content: string;
788
+ contentType: "text" | "html";
789
+ } | null | undefined>>;
790
+ etag: z.ZodOptional<z.ZodString>;
791
+ }, z.core.$strip>;
792
+ folderId: z.ZodOptional<z.ZodString>;
793
+ messageId: z.ZodString;
794
+ }, z.core.$strip>, z.ZodObject<{
795
+ changeType: z.ZodLiteral<"deleted">;
796
+ folderId: z.ZodOptional<z.ZodString>;
797
+ messageId: z.ZodString;
798
+ }, z.core.$strip>], "changeType">;
799
+ };
800
+ readonly "outlook.message.created": {
801
+ readonly configSchema: z.ZodObject<{
802
+ folder: z.ZodOptional<z.ZodString>;
803
+ }, z.core.$strip>;
804
+ readonly eventSchema: z.ZodObject<{
805
+ changeType: z.ZodLiteral<"created">;
806
+ message: z.ZodObject<{
807
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
808
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
809
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
810
+ flag: z.ZodOptional<z.ZodObject<{
811
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
812
+ dateTime: z.ZodString;
813
+ timeZone: z.ZodString;
814
+ }, z.core.$strip>>>, z.ZodTransform<{
815
+ dateTime: string;
816
+ timeZone: string;
817
+ } | undefined, {
818
+ dateTime: string;
819
+ timeZone: string;
820
+ } | null | undefined>>;
821
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
822
+ dateTime: z.ZodString;
823
+ timeZone: z.ZodString;
824
+ }, z.core.$strip>>>, z.ZodTransform<{
825
+ dateTime: string;
826
+ timeZone: string;
827
+ } | undefined, {
828
+ dateTime: string;
829
+ timeZone: string;
830
+ } | null | undefined>>;
831
+ status: z.ZodEnum<{
832
+ complete: "complete";
833
+ notFlagged: "notFlagged";
834
+ flagged: "flagged";
835
+ }>;
836
+ }, z.core.$strip>>;
837
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
838
+ address: z.ZodString;
839
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
840
+ }, z.core.$strip>>>, z.ZodTransform<{
841
+ address: string;
842
+ name: string | undefined;
843
+ } | undefined, {
844
+ address: string;
845
+ name: string | undefined;
846
+ } | null | undefined>>;
847
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
848
+ messageId: z.ZodString;
849
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
850
+ importance: z.ZodPrefault<z.ZodEnum<{
851
+ high: "high";
852
+ normal: "normal";
853
+ low: "low";
854
+ }>>;
855
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
856
+ focused: "focused";
857
+ other: "other";
858
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
859
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
860
+ isRead: z.ZodPrefault<z.ZodBoolean>;
861
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
862
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
863
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
864
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
865
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
866
+ address: z.ZodString;
867
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
868
+ }, z.core.$strip>>>;
869
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
870
+ address: z.ZodString;
871
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
872
+ }, z.core.$strip>>>, z.ZodTransform<{
873
+ address: string;
874
+ name: string | undefined;
875
+ } | undefined, {
876
+ address: string;
877
+ name: string | undefined;
878
+ } | null | undefined>>;
879
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
880
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
881
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
882
+ address: z.ZodString;
883
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
884
+ }, z.core.$strip>>>;
885
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
886
+ address: z.ZodString;
887
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
888
+ }, z.core.$strip>>>;
889
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
890
+ address: z.ZodString;
891
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
892
+ }, z.core.$strip>>>;
893
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
894
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
895
+ content: z.ZodString;
896
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
897
+ text: "text";
898
+ html: "html";
899
+ }>, z.ZodEnum<{
900
+ Text: "Text";
901
+ HTML: "HTML";
902
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
903
+ }, z.core.$strip>>>, z.ZodTransform<{
904
+ content: string;
905
+ contentType: "text" | "html";
906
+ } | undefined, {
907
+ content: string;
908
+ contentType: "text" | "html";
909
+ } | null | undefined>>;
910
+ etag: z.ZodOptional<z.ZodString>;
911
+ }, z.core.$strip>;
912
+ folderId: z.ZodOptional<z.ZodString>;
913
+ messageId: z.ZodString;
914
+ }, z.core.$strip>;
915
+ };
916
+ readonly "outlook.message.updated": {
917
+ readonly configSchema: z.ZodObject<{
918
+ folder: z.ZodOptional<z.ZodString>;
919
+ }, z.core.$strip>;
920
+ readonly eventSchema: z.ZodObject<{
921
+ changeType: z.ZodLiteral<"updated">;
922
+ message: z.ZodObject<{
923
+ categories: z.ZodPrefault<z.ZodArray<z.ZodString>>;
924
+ conversationId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
925
+ createdAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
926
+ flag: z.ZodOptional<z.ZodObject<{
927
+ completedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
928
+ dateTime: z.ZodString;
929
+ timeZone: z.ZodString;
930
+ }, z.core.$strip>>>, z.ZodTransform<{
931
+ dateTime: string;
932
+ timeZone: string;
933
+ } | undefined, {
934
+ dateTime: string;
935
+ timeZone: string;
936
+ } | null | undefined>>;
937
+ dueAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
938
+ dateTime: z.ZodString;
939
+ timeZone: z.ZodString;
940
+ }, z.core.$strip>>>, z.ZodTransform<{
941
+ dateTime: string;
942
+ timeZone: string;
943
+ } | undefined, {
944
+ dateTime: string;
945
+ timeZone: string;
946
+ } | null | undefined>>;
947
+ status: z.ZodEnum<{
948
+ complete: "complete";
949
+ notFlagged: "notFlagged";
950
+ flagged: "flagged";
951
+ }>;
952
+ }, z.core.$strip>>;
953
+ from: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
954
+ address: z.ZodString;
955
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
956
+ }, z.core.$strip>>>, z.ZodTransform<{
957
+ address: string;
958
+ name: string | undefined;
959
+ } | undefined, {
960
+ address: string;
961
+ name: string | undefined;
962
+ } | null | undefined>>;
963
+ hasAttachments: z.ZodPrefault<z.ZodBoolean>;
964
+ messageId: z.ZodString;
965
+ internetMessageId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
966
+ importance: z.ZodPrefault<z.ZodEnum<{
967
+ high: "high";
968
+ normal: "normal";
969
+ low: "low";
970
+ }>>;
971
+ inferenceClassification: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
972
+ focused: "focused";
973
+ other: "other";
974
+ }>>>, z.ZodTransform<"focused" | "other" | undefined, "focused" | "other" | null | undefined>>;
975
+ isDraft: z.ZodPrefault<z.ZodBoolean>;
976
+ isRead: z.ZodPrefault<z.ZodBoolean>;
977
+ modifiedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
978
+ parentFolderId: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
979
+ preview: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
980
+ receivedAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
981
+ replyTo: z.ZodPrefault<z.ZodArray<z.ZodObject<{
982
+ address: z.ZodString;
983
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
984
+ }, z.core.$strip>>>;
985
+ sender: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
986
+ address: z.ZodString;
987
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
988
+ }, z.core.$strip>>>, z.ZodTransform<{
989
+ address: string;
990
+ name: string | undefined;
991
+ } | undefined, {
992
+ address: string;
993
+ name: string | undefined;
994
+ } | null | undefined>>;
995
+ sentAt: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodISODateTime, z.ZodTransform<Date, string>>]>>>, z.ZodTransform<Date | undefined, Date | null | undefined>>;
996
+ subject: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string, string | null | undefined>>;
997
+ to: z.ZodPrefault<z.ZodArray<z.ZodObject<{
998
+ address: z.ZodString;
999
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1000
+ }, z.core.$strip>>>;
1001
+ cc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
1002
+ address: z.ZodString;
1003
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1004
+ }, z.core.$strip>>>;
1005
+ bcc: z.ZodPrefault<z.ZodArray<z.ZodObject<{
1006
+ address: z.ZodString;
1007
+ name: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1008
+ }, z.core.$strip>>>;
1009
+ webLink: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodString>>, z.ZodTransform<string | undefined, string | null | undefined>>;
1010
+ body: z.ZodPipe<z.ZodOptional<z.ZodNullable<z.ZodObject<{
1011
+ content: z.ZodString;
1012
+ contentType: z.ZodPipe<z.ZodUnion<[z.ZodEnum<{
1013
+ text: "text";
1014
+ html: "html";
1015
+ }>, z.ZodEnum<{
1016
+ Text: "Text";
1017
+ HTML: "HTML";
1018
+ }>]>, z.ZodTransform<"text" | "html", "text" | "html" | "Text" | "HTML">>;
1019
+ }, z.core.$strip>>>, z.ZodTransform<{
1020
+ content: string;
1021
+ contentType: "text" | "html";
1022
+ } | undefined, {
1023
+ content: string;
1024
+ contentType: "text" | "html";
1025
+ } | null | undefined>>;
1026
+ etag: z.ZodOptional<z.ZodString>;
1027
+ }, z.core.$strip>;
1028
+ folderId: z.ZodOptional<z.ZodString>;
1029
+ messageId: z.ZodString;
1030
+ }, z.core.$strip>;
1031
+ };
1032
+ readonly "outlook.message.deleted": {
1033
+ readonly configSchema: z.ZodObject<{
1034
+ folder: z.ZodOptional<z.ZodString>;
1035
+ }, z.core.$strip>;
1036
+ readonly eventSchema: z.ZodObject<{
1037
+ changeType: z.ZodLiteral<"deleted">;
1038
+ folderId: z.ZodOptional<z.ZodString>;
1039
+ messageId: z.ZodString;
1040
+ }, z.core.$strip>;
1041
+ };
115
1042
  };