@automate.ax/integration-contracts 0.120.0 → 0.122.0

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,1044 @@
1
+ import { z } from "zod";
2
+ export declare const GOOGLE_DRIVE_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
3
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
4
+ resourceId: z.ZodString;
5
+ resourceType: z.ZodEnum<{
6
+ file: "file";
7
+ drive: "drive";
8
+ }>;
9
+ }, z.core.$strip>;
10
+ declare const GOOGLE_DRIVE_TRIGGER_TYPES: readonly ["googleDrive.accessProposal.created", "googleDrive.accessProposal.resolved", "googleDrive.approval.cancelled", "googleDrive.approval.completed", "googleDrive.approval.created", "googleDrive.approval.reset", "googleDrive.approval.responded", "googleDrive.approval.reviewersChanged", "googleDrive.comment.created", "googleDrive.comment.deleted", "googleDrive.comment.edited", "googleDrive.comment.reopened", "googleDrive.comment.resolved", "googleDrive.file.contentChanged", "googleDrive.file.created", "googleDrive.file.deleted", "googleDrive.file.moved", "googleDrive.file.renamed", "googleDrive.file.trashed", "googleDrive.file.untrashed", "googleDrive.permission.created", "googleDrive.permission.deleted", "googleDrive.permission.edited", "googleDrive.reply.created", "googleDrive.reply.deleted", "googleDrive.reply.edited"];
11
+ export type GoogleDriveTriggerType = (typeof GOOGLE_DRIVE_TRIGGER_TYPES)[number];
12
+ export declare const GOOGLE_DRIVE_PROVIDER_EVENT_TYPES: {
13
+ readonly "googleDrive.accessProposal.created": "google.workspace.drive.accessproposal.v3.created";
14
+ readonly "googleDrive.accessProposal.resolved": "google.workspace.drive.accessproposal.v3.resolved";
15
+ readonly "googleDrive.approval.cancelled": "google.workspace.drive.approval.v3.cancelled";
16
+ readonly "googleDrive.approval.completed": "google.workspace.drive.approval.v3.completed";
17
+ readonly "googleDrive.approval.created": "google.workspace.drive.approval.v3.created";
18
+ readonly "googleDrive.approval.reset": "google.workspace.drive.approval.v3.reset";
19
+ readonly "googleDrive.approval.responded": "google.workspace.drive.approval.v3.responded";
20
+ readonly "googleDrive.approval.reviewersChanged": "google.workspace.drive.approval.v3.reviewersChanged";
21
+ readonly "googleDrive.comment.created": "google.workspace.drive.comment.v3.created";
22
+ readonly "googleDrive.comment.deleted": "google.workspace.drive.comment.v3.deleted";
23
+ readonly "googleDrive.comment.edited": "google.workspace.drive.comment.v3.edited";
24
+ readonly "googleDrive.comment.reopened": "google.workspace.drive.comment.v3.reopened";
25
+ readonly "googleDrive.comment.resolved": "google.workspace.drive.comment.v3.resolved";
26
+ readonly "googleDrive.file.contentChanged": "google.workspace.drive.file.v3.contentChanged";
27
+ readonly "googleDrive.file.created": "google.workspace.drive.file.v3.created";
28
+ readonly "googleDrive.file.deleted": "google.workspace.drive.file.v3.deleted";
29
+ readonly "googleDrive.file.moved": "google.workspace.drive.file.v3.moved";
30
+ readonly "googleDrive.file.renamed": "google.workspace.drive.file.v3.renamed";
31
+ readonly "googleDrive.file.trashed": "google.workspace.drive.file.v3.trashed";
32
+ readonly "googleDrive.file.untrashed": "google.workspace.drive.file.v3.untrashed";
33
+ readonly "googleDrive.permission.created": "google.workspace.drive.permission.v3.created";
34
+ readonly "googleDrive.permission.deleted": "google.workspace.drive.permission.v3.deleted";
35
+ readonly "googleDrive.permission.edited": "google.workspace.drive.permission.v3.edited";
36
+ readonly "googleDrive.reply.created": "google.workspace.drive.reply.v3.created";
37
+ readonly "googleDrive.reply.deleted": "google.workspace.drive.reply.v3.deleted";
38
+ readonly "googleDrive.reply.edited": "google.workspace.drive.reply.v3.edited";
39
+ };
40
+ export type GoogleDriveProviderEventType = (typeof GOOGLE_DRIVE_PROVIDER_EVENT_TYPES)[GoogleDriveTriggerType];
41
+ export declare const GOOGLE_DRIVE_EVENT_SCHEMA: z.ZodObject<{
42
+ action: z.ZodEnum<{
43
+ cancelled: "cancelled";
44
+ completed: "completed";
45
+ deleted: "deleted";
46
+ moved: "moved";
47
+ created: "created";
48
+ contentChanged: "contentChanged";
49
+ edited: "edited";
50
+ reopened: "reopened";
51
+ renamed: "renamed";
52
+ reset: "reset";
53
+ resolved: "resolved";
54
+ responded: "responded";
55
+ reviewersChanged: "reviewersChanged";
56
+ trashed: "trashed";
57
+ untrashed: "untrashed";
58
+ }>;
59
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
60
+ commentId: z.ZodOptional<z.ZodString>;
61
+ dueAt: z.ZodOptional<z.ZodDate>;
62
+ eventId: z.ZodString;
63
+ fileId: z.ZodString;
64
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
65
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
66
+ mimeType: z.ZodOptional<z.ZodString>;
67
+ occurredAt: z.ZodDate;
68
+ parentId: z.ZodOptional<z.ZodString>;
69
+ previousParentId: z.ZodOptional<z.ZodString>;
70
+ resourceId: z.ZodOptional<z.ZodString>;
71
+ resourceIds: z.ZodArray<z.ZodString>;
72
+ resourceType: z.ZodEnum<{
73
+ file: "file";
74
+ reply: "reply";
75
+ comment: "comment";
76
+ accessProposal: "accessProposal";
77
+ approval: "approval";
78
+ permission: "permission";
79
+ }>;
80
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
81
+ reviewerResponse: z.ZodOptional<z.ZodString>;
82
+ status: z.ZodOptional<z.ZodString>;
83
+ version: z.ZodOptional<z.ZodString>;
84
+ eventType: z.ZodEnum<{
85
+ "googleDrive.accessProposal.created": "googleDrive.accessProposal.created";
86
+ "googleDrive.accessProposal.resolved": "googleDrive.accessProposal.resolved";
87
+ "googleDrive.approval.cancelled": "googleDrive.approval.cancelled";
88
+ "googleDrive.approval.completed": "googleDrive.approval.completed";
89
+ "googleDrive.approval.created": "googleDrive.approval.created";
90
+ "googleDrive.approval.reset": "googleDrive.approval.reset";
91
+ "googleDrive.approval.responded": "googleDrive.approval.responded";
92
+ "googleDrive.approval.reviewersChanged": "googleDrive.approval.reviewersChanged";
93
+ "googleDrive.comment.created": "googleDrive.comment.created";
94
+ "googleDrive.comment.deleted": "googleDrive.comment.deleted";
95
+ "googleDrive.comment.edited": "googleDrive.comment.edited";
96
+ "googleDrive.comment.reopened": "googleDrive.comment.reopened";
97
+ "googleDrive.comment.resolved": "googleDrive.comment.resolved";
98
+ "googleDrive.file.contentChanged": "googleDrive.file.contentChanged";
99
+ "googleDrive.file.created": "googleDrive.file.created";
100
+ "googleDrive.file.deleted": "googleDrive.file.deleted";
101
+ "googleDrive.file.moved": "googleDrive.file.moved";
102
+ "googleDrive.file.renamed": "googleDrive.file.renamed";
103
+ "googleDrive.file.trashed": "googleDrive.file.trashed";
104
+ "googleDrive.file.untrashed": "googleDrive.file.untrashed";
105
+ "googleDrive.permission.created": "googleDrive.permission.created";
106
+ "googleDrive.permission.deleted": "googleDrive.permission.deleted";
107
+ "googleDrive.permission.edited": "googleDrive.permission.edited";
108
+ "googleDrive.reply.created": "googleDrive.reply.created";
109
+ "googleDrive.reply.deleted": "googleDrive.reply.deleted";
110
+ "googleDrive.reply.edited": "googleDrive.reply.edited";
111
+ }>;
112
+ }, z.core.$strip>;
113
+ export declare const googleDriveTriggerContracts: {
114
+ "googleDrive.accessProposal.created": {
115
+ configSchema: z.ZodObject<{
116
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
117
+ resourceId: z.ZodString;
118
+ resourceType: z.ZodEnum<{
119
+ file: "file";
120
+ drive: "drive";
121
+ }>;
122
+ }, z.core.$strip>;
123
+ eventSchema: z.ZodObject<{
124
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
125
+ commentId: z.ZodOptional<z.ZodString>;
126
+ dueAt: z.ZodOptional<z.ZodDate>;
127
+ eventId: z.ZodString;
128
+ fileId: z.ZodString;
129
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
130
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
131
+ mimeType: z.ZodOptional<z.ZodString>;
132
+ occurredAt: z.ZodDate;
133
+ parentId: z.ZodOptional<z.ZodString>;
134
+ previousParentId: z.ZodOptional<z.ZodString>;
135
+ resourceId: z.ZodOptional<z.ZodString>;
136
+ resourceIds: z.ZodArray<z.ZodString>;
137
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
138
+ reviewerResponse: z.ZodOptional<z.ZodString>;
139
+ status: z.ZodOptional<z.ZodString>;
140
+ version: z.ZodOptional<z.ZodString>;
141
+ action: z.ZodLiteral<"created">;
142
+ eventType: z.ZodLiteral<"googleDrive.accessProposal.created">;
143
+ resourceType: z.ZodLiteral<"accessProposal">;
144
+ }, z.core.$strip>;
145
+ };
146
+ "googleDrive.accessProposal.resolved": {
147
+ configSchema: z.ZodObject<{
148
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
149
+ resourceId: z.ZodString;
150
+ resourceType: z.ZodEnum<{
151
+ file: "file";
152
+ drive: "drive";
153
+ }>;
154
+ }, z.core.$strip>;
155
+ eventSchema: z.ZodObject<{
156
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
157
+ commentId: z.ZodOptional<z.ZodString>;
158
+ dueAt: z.ZodOptional<z.ZodDate>;
159
+ eventId: z.ZodString;
160
+ fileId: z.ZodString;
161
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
162
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
163
+ mimeType: z.ZodOptional<z.ZodString>;
164
+ occurredAt: z.ZodDate;
165
+ parentId: z.ZodOptional<z.ZodString>;
166
+ previousParentId: z.ZodOptional<z.ZodString>;
167
+ resourceId: z.ZodOptional<z.ZodString>;
168
+ resourceIds: z.ZodArray<z.ZodString>;
169
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
170
+ reviewerResponse: z.ZodOptional<z.ZodString>;
171
+ status: z.ZodOptional<z.ZodString>;
172
+ version: z.ZodOptional<z.ZodString>;
173
+ action: z.ZodLiteral<"resolved">;
174
+ eventType: z.ZodLiteral<"googleDrive.accessProposal.resolved">;
175
+ resourceType: z.ZodLiteral<"accessProposal">;
176
+ }, z.core.$strip>;
177
+ };
178
+ "googleDrive.approval.cancelled": {
179
+ configSchema: z.ZodObject<{
180
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
181
+ resourceId: z.ZodString;
182
+ resourceType: z.ZodEnum<{
183
+ file: "file";
184
+ drive: "drive";
185
+ }>;
186
+ }, z.core.$strip>;
187
+ eventSchema: z.ZodObject<{
188
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
189
+ commentId: z.ZodOptional<z.ZodString>;
190
+ dueAt: z.ZodOptional<z.ZodDate>;
191
+ eventId: z.ZodString;
192
+ fileId: z.ZodString;
193
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
194
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
195
+ mimeType: z.ZodOptional<z.ZodString>;
196
+ occurredAt: z.ZodDate;
197
+ parentId: z.ZodOptional<z.ZodString>;
198
+ previousParentId: z.ZodOptional<z.ZodString>;
199
+ resourceId: z.ZodOptional<z.ZodString>;
200
+ resourceIds: z.ZodArray<z.ZodString>;
201
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
202
+ reviewerResponse: z.ZodOptional<z.ZodString>;
203
+ status: z.ZodOptional<z.ZodString>;
204
+ version: z.ZodOptional<z.ZodString>;
205
+ action: z.ZodLiteral<"cancelled">;
206
+ eventType: z.ZodLiteral<"googleDrive.approval.cancelled">;
207
+ resourceType: z.ZodLiteral<"approval">;
208
+ }, z.core.$strip>;
209
+ };
210
+ "googleDrive.approval.completed": {
211
+ configSchema: z.ZodObject<{
212
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
213
+ resourceId: z.ZodString;
214
+ resourceType: z.ZodEnum<{
215
+ file: "file";
216
+ drive: "drive";
217
+ }>;
218
+ }, z.core.$strip>;
219
+ eventSchema: z.ZodObject<{
220
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
221
+ commentId: z.ZodOptional<z.ZodString>;
222
+ dueAt: z.ZodOptional<z.ZodDate>;
223
+ eventId: z.ZodString;
224
+ fileId: z.ZodString;
225
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
226
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
227
+ mimeType: z.ZodOptional<z.ZodString>;
228
+ occurredAt: z.ZodDate;
229
+ parentId: z.ZodOptional<z.ZodString>;
230
+ previousParentId: z.ZodOptional<z.ZodString>;
231
+ resourceId: z.ZodOptional<z.ZodString>;
232
+ resourceIds: z.ZodArray<z.ZodString>;
233
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
234
+ reviewerResponse: z.ZodOptional<z.ZodString>;
235
+ status: z.ZodOptional<z.ZodString>;
236
+ version: z.ZodOptional<z.ZodString>;
237
+ action: z.ZodLiteral<"completed">;
238
+ eventType: z.ZodLiteral<"googleDrive.approval.completed">;
239
+ resourceType: z.ZodLiteral<"approval">;
240
+ }, z.core.$strip>;
241
+ };
242
+ "googleDrive.approval.created": {
243
+ configSchema: z.ZodObject<{
244
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
245
+ resourceId: z.ZodString;
246
+ resourceType: z.ZodEnum<{
247
+ file: "file";
248
+ drive: "drive";
249
+ }>;
250
+ }, z.core.$strip>;
251
+ eventSchema: z.ZodObject<{
252
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
253
+ commentId: z.ZodOptional<z.ZodString>;
254
+ dueAt: z.ZodOptional<z.ZodDate>;
255
+ eventId: z.ZodString;
256
+ fileId: z.ZodString;
257
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
258
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
259
+ mimeType: z.ZodOptional<z.ZodString>;
260
+ occurredAt: z.ZodDate;
261
+ parentId: z.ZodOptional<z.ZodString>;
262
+ previousParentId: z.ZodOptional<z.ZodString>;
263
+ resourceId: z.ZodOptional<z.ZodString>;
264
+ resourceIds: z.ZodArray<z.ZodString>;
265
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
266
+ reviewerResponse: z.ZodOptional<z.ZodString>;
267
+ status: z.ZodOptional<z.ZodString>;
268
+ version: z.ZodOptional<z.ZodString>;
269
+ action: z.ZodLiteral<"created">;
270
+ eventType: z.ZodLiteral<"googleDrive.approval.created">;
271
+ resourceType: z.ZodLiteral<"approval">;
272
+ }, z.core.$strip>;
273
+ };
274
+ "googleDrive.approval.reset": {
275
+ configSchema: z.ZodObject<{
276
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
277
+ resourceId: z.ZodString;
278
+ resourceType: z.ZodEnum<{
279
+ file: "file";
280
+ drive: "drive";
281
+ }>;
282
+ }, z.core.$strip>;
283
+ eventSchema: z.ZodObject<{
284
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
285
+ commentId: z.ZodOptional<z.ZodString>;
286
+ dueAt: z.ZodOptional<z.ZodDate>;
287
+ eventId: z.ZodString;
288
+ fileId: z.ZodString;
289
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
290
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
291
+ mimeType: z.ZodOptional<z.ZodString>;
292
+ occurredAt: z.ZodDate;
293
+ parentId: z.ZodOptional<z.ZodString>;
294
+ previousParentId: z.ZodOptional<z.ZodString>;
295
+ resourceId: z.ZodOptional<z.ZodString>;
296
+ resourceIds: z.ZodArray<z.ZodString>;
297
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
298
+ reviewerResponse: z.ZodOptional<z.ZodString>;
299
+ status: z.ZodOptional<z.ZodString>;
300
+ version: z.ZodOptional<z.ZodString>;
301
+ action: z.ZodLiteral<"reset">;
302
+ eventType: z.ZodLiteral<"googleDrive.approval.reset">;
303
+ resourceType: z.ZodLiteral<"approval">;
304
+ }, z.core.$strip>;
305
+ };
306
+ "googleDrive.approval.responded": {
307
+ configSchema: z.ZodObject<{
308
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
309
+ resourceId: z.ZodString;
310
+ resourceType: z.ZodEnum<{
311
+ file: "file";
312
+ drive: "drive";
313
+ }>;
314
+ }, z.core.$strip>;
315
+ eventSchema: z.ZodObject<{
316
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
317
+ commentId: z.ZodOptional<z.ZodString>;
318
+ dueAt: z.ZodOptional<z.ZodDate>;
319
+ eventId: z.ZodString;
320
+ fileId: z.ZodString;
321
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
322
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
323
+ mimeType: z.ZodOptional<z.ZodString>;
324
+ occurredAt: z.ZodDate;
325
+ parentId: z.ZodOptional<z.ZodString>;
326
+ previousParentId: z.ZodOptional<z.ZodString>;
327
+ resourceId: z.ZodOptional<z.ZodString>;
328
+ resourceIds: z.ZodArray<z.ZodString>;
329
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
330
+ reviewerResponse: z.ZodOptional<z.ZodString>;
331
+ status: z.ZodOptional<z.ZodString>;
332
+ version: z.ZodOptional<z.ZodString>;
333
+ action: z.ZodLiteral<"responded">;
334
+ eventType: z.ZodLiteral<"googleDrive.approval.responded">;
335
+ resourceType: z.ZodLiteral<"approval">;
336
+ }, z.core.$strip>;
337
+ };
338
+ "googleDrive.approval.reviewersChanged": {
339
+ configSchema: z.ZodObject<{
340
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
341
+ resourceId: z.ZodString;
342
+ resourceType: z.ZodEnum<{
343
+ file: "file";
344
+ drive: "drive";
345
+ }>;
346
+ }, z.core.$strip>;
347
+ eventSchema: z.ZodObject<{
348
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
349
+ commentId: z.ZodOptional<z.ZodString>;
350
+ dueAt: z.ZodOptional<z.ZodDate>;
351
+ eventId: z.ZodString;
352
+ fileId: z.ZodString;
353
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
354
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
355
+ mimeType: z.ZodOptional<z.ZodString>;
356
+ occurredAt: z.ZodDate;
357
+ parentId: z.ZodOptional<z.ZodString>;
358
+ previousParentId: z.ZodOptional<z.ZodString>;
359
+ resourceId: z.ZodOptional<z.ZodString>;
360
+ resourceIds: z.ZodArray<z.ZodString>;
361
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
362
+ reviewerResponse: z.ZodOptional<z.ZodString>;
363
+ status: z.ZodOptional<z.ZodString>;
364
+ version: z.ZodOptional<z.ZodString>;
365
+ action: z.ZodLiteral<"reviewersChanged">;
366
+ eventType: z.ZodLiteral<"googleDrive.approval.reviewersChanged">;
367
+ resourceType: z.ZodLiteral<"approval">;
368
+ }, z.core.$strip>;
369
+ };
370
+ "googleDrive.comment.created": {
371
+ configSchema: z.ZodObject<{
372
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
373
+ resourceId: z.ZodString;
374
+ resourceType: z.ZodEnum<{
375
+ file: "file";
376
+ drive: "drive";
377
+ }>;
378
+ }, z.core.$strip>;
379
+ eventSchema: z.ZodObject<{
380
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
381
+ commentId: z.ZodOptional<z.ZodString>;
382
+ dueAt: z.ZodOptional<z.ZodDate>;
383
+ eventId: z.ZodString;
384
+ fileId: z.ZodString;
385
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
386
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
387
+ mimeType: z.ZodOptional<z.ZodString>;
388
+ occurredAt: z.ZodDate;
389
+ parentId: z.ZodOptional<z.ZodString>;
390
+ previousParentId: z.ZodOptional<z.ZodString>;
391
+ resourceId: z.ZodOptional<z.ZodString>;
392
+ resourceIds: z.ZodArray<z.ZodString>;
393
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
394
+ reviewerResponse: z.ZodOptional<z.ZodString>;
395
+ status: z.ZodOptional<z.ZodString>;
396
+ version: z.ZodOptional<z.ZodString>;
397
+ action: z.ZodLiteral<"created">;
398
+ eventType: z.ZodLiteral<"googleDrive.comment.created">;
399
+ resourceType: z.ZodLiteral<"comment">;
400
+ }, z.core.$strip>;
401
+ };
402
+ "googleDrive.comment.deleted": {
403
+ configSchema: z.ZodObject<{
404
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
405
+ resourceId: z.ZodString;
406
+ resourceType: z.ZodEnum<{
407
+ file: "file";
408
+ drive: "drive";
409
+ }>;
410
+ }, z.core.$strip>;
411
+ eventSchema: z.ZodObject<{
412
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
413
+ commentId: z.ZodOptional<z.ZodString>;
414
+ dueAt: z.ZodOptional<z.ZodDate>;
415
+ eventId: z.ZodString;
416
+ fileId: z.ZodString;
417
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
418
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
419
+ mimeType: z.ZodOptional<z.ZodString>;
420
+ occurredAt: z.ZodDate;
421
+ parentId: z.ZodOptional<z.ZodString>;
422
+ previousParentId: z.ZodOptional<z.ZodString>;
423
+ resourceId: z.ZodOptional<z.ZodString>;
424
+ resourceIds: z.ZodArray<z.ZodString>;
425
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
426
+ reviewerResponse: z.ZodOptional<z.ZodString>;
427
+ status: z.ZodOptional<z.ZodString>;
428
+ version: z.ZodOptional<z.ZodString>;
429
+ action: z.ZodLiteral<"deleted">;
430
+ eventType: z.ZodLiteral<"googleDrive.comment.deleted">;
431
+ resourceType: z.ZodLiteral<"comment">;
432
+ }, z.core.$strip>;
433
+ };
434
+ "googleDrive.comment.edited": {
435
+ configSchema: z.ZodObject<{
436
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
437
+ resourceId: z.ZodString;
438
+ resourceType: z.ZodEnum<{
439
+ file: "file";
440
+ drive: "drive";
441
+ }>;
442
+ }, z.core.$strip>;
443
+ eventSchema: z.ZodObject<{
444
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
445
+ commentId: z.ZodOptional<z.ZodString>;
446
+ dueAt: z.ZodOptional<z.ZodDate>;
447
+ eventId: z.ZodString;
448
+ fileId: z.ZodString;
449
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
450
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
451
+ mimeType: z.ZodOptional<z.ZodString>;
452
+ occurredAt: z.ZodDate;
453
+ parentId: z.ZodOptional<z.ZodString>;
454
+ previousParentId: z.ZodOptional<z.ZodString>;
455
+ resourceId: z.ZodOptional<z.ZodString>;
456
+ resourceIds: z.ZodArray<z.ZodString>;
457
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
458
+ reviewerResponse: z.ZodOptional<z.ZodString>;
459
+ status: z.ZodOptional<z.ZodString>;
460
+ version: z.ZodOptional<z.ZodString>;
461
+ action: z.ZodLiteral<"edited">;
462
+ eventType: z.ZodLiteral<"googleDrive.comment.edited">;
463
+ resourceType: z.ZodLiteral<"comment">;
464
+ }, z.core.$strip>;
465
+ };
466
+ "googleDrive.comment.reopened": {
467
+ configSchema: z.ZodObject<{
468
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
469
+ resourceId: z.ZodString;
470
+ resourceType: z.ZodEnum<{
471
+ file: "file";
472
+ drive: "drive";
473
+ }>;
474
+ }, z.core.$strip>;
475
+ eventSchema: z.ZodObject<{
476
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
477
+ commentId: z.ZodOptional<z.ZodString>;
478
+ dueAt: z.ZodOptional<z.ZodDate>;
479
+ eventId: z.ZodString;
480
+ fileId: z.ZodString;
481
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
482
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
483
+ mimeType: z.ZodOptional<z.ZodString>;
484
+ occurredAt: z.ZodDate;
485
+ parentId: z.ZodOptional<z.ZodString>;
486
+ previousParentId: z.ZodOptional<z.ZodString>;
487
+ resourceId: z.ZodOptional<z.ZodString>;
488
+ resourceIds: z.ZodArray<z.ZodString>;
489
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
490
+ reviewerResponse: z.ZodOptional<z.ZodString>;
491
+ status: z.ZodOptional<z.ZodString>;
492
+ version: z.ZodOptional<z.ZodString>;
493
+ action: z.ZodLiteral<"reopened">;
494
+ eventType: z.ZodLiteral<"googleDrive.comment.reopened">;
495
+ resourceType: z.ZodLiteral<"comment">;
496
+ }, z.core.$strip>;
497
+ };
498
+ "googleDrive.comment.resolved": {
499
+ configSchema: z.ZodObject<{
500
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
501
+ resourceId: z.ZodString;
502
+ resourceType: z.ZodEnum<{
503
+ file: "file";
504
+ drive: "drive";
505
+ }>;
506
+ }, z.core.$strip>;
507
+ eventSchema: z.ZodObject<{
508
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
509
+ commentId: z.ZodOptional<z.ZodString>;
510
+ dueAt: z.ZodOptional<z.ZodDate>;
511
+ eventId: z.ZodString;
512
+ fileId: z.ZodString;
513
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
514
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
515
+ mimeType: z.ZodOptional<z.ZodString>;
516
+ occurredAt: z.ZodDate;
517
+ parentId: z.ZodOptional<z.ZodString>;
518
+ previousParentId: z.ZodOptional<z.ZodString>;
519
+ resourceId: z.ZodOptional<z.ZodString>;
520
+ resourceIds: z.ZodArray<z.ZodString>;
521
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
522
+ reviewerResponse: z.ZodOptional<z.ZodString>;
523
+ status: z.ZodOptional<z.ZodString>;
524
+ version: z.ZodOptional<z.ZodString>;
525
+ action: z.ZodLiteral<"resolved">;
526
+ eventType: z.ZodLiteral<"googleDrive.comment.resolved">;
527
+ resourceType: z.ZodLiteral<"comment">;
528
+ }, z.core.$strip>;
529
+ };
530
+ "googleDrive.file.contentChanged": {
531
+ configSchema: z.ZodObject<{
532
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
533
+ resourceId: z.ZodString;
534
+ resourceType: z.ZodEnum<{
535
+ file: "file";
536
+ drive: "drive";
537
+ }>;
538
+ }, z.core.$strip>;
539
+ eventSchema: z.ZodObject<{
540
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
541
+ commentId: z.ZodOptional<z.ZodString>;
542
+ dueAt: z.ZodOptional<z.ZodDate>;
543
+ eventId: z.ZodString;
544
+ fileId: z.ZodString;
545
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
546
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
547
+ mimeType: z.ZodOptional<z.ZodString>;
548
+ occurredAt: z.ZodDate;
549
+ parentId: z.ZodOptional<z.ZodString>;
550
+ previousParentId: z.ZodOptional<z.ZodString>;
551
+ resourceId: z.ZodOptional<z.ZodString>;
552
+ resourceIds: z.ZodArray<z.ZodString>;
553
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
554
+ reviewerResponse: z.ZodOptional<z.ZodString>;
555
+ status: z.ZodOptional<z.ZodString>;
556
+ version: z.ZodOptional<z.ZodString>;
557
+ action: z.ZodLiteral<"contentChanged">;
558
+ eventType: z.ZodLiteral<"googleDrive.file.contentChanged">;
559
+ resourceType: z.ZodLiteral<"file">;
560
+ }, z.core.$strip>;
561
+ };
562
+ "googleDrive.file.created": {
563
+ configSchema: z.ZodObject<{
564
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
565
+ resourceId: z.ZodString;
566
+ resourceType: z.ZodEnum<{
567
+ file: "file";
568
+ drive: "drive";
569
+ }>;
570
+ }, z.core.$strip>;
571
+ eventSchema: z.ZodObject<{
572
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
573
+ commentId: z.ZodOptional<z.ZodString>;
574
+ dueAt: z.ZodOptional<z.ZodDate>;
575
+ eventId: z.ZodString;
576
+ fileId: z.ZodString;
577
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
578
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
579
+ mimeType: z.ZodOptional<z.ZodString>;
580
+ occurredAt: z.ZodDate;
581
+ parentId: z.ZodOptional<z.ZodString>;
582
+ previousParentId: z.ZodOptional<z.ZodString>;
583
+ resourceId: z.ZodOptional<z.ZodString>;
584
+ resourceIds: z.ZodArray<z.ZodString>;
585
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
586
+ reviewerResponse: z.ZodOptional<z.ZodString>;
587
+ status: z.ZodOptional<z.ZodString>;
588
+ version: z.ZodOptional<z.ZodString>;
589
+ action: z.ZodLiteral<"created">;
590
+ eventType: z.ZodLiteral<"googleDrive.file.created">;
591
+ resourceType: z.ZodLiteral<"file">;
592
+ }, z.core.$strip>;
593
+ };
594
+ "googleDrive.file.deleted": {
595
+ configSchema: z.ZodObject<{
596
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
597
+ resourceId: z.ZodString;
598
+ resourceType: z.ZodEnum<{
599
+ file: "file";
600
+ drive: "drive";
601
+ }>;
602
+ }, z.core.$strip>;
603
+ eventSchema: z.ZodObject<{
604
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
605
+ commentId: z.ZodOptional<z.ZodString>;
606
+ dueAt: z.ZodOptional<z.ZodDate>;
607
+ eventId: z.ZodString;
608
+ fileId: z.ZodString;
609
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
610
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
611
+ mimeType: z.ZodOptional<z.ZodString>;
612
+ occurredAt: z.ZodDate;
613
+ parentId: z.ZodOptional<z.ZodString>;
614
+ previousParentId: z.ZodOptional<z.ZodString>;
615
+ resourceId: z.ZodOptional<z.ZodString>;
616
+ resourceIds: z.ZodArray<z.ZodString>;
617
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
618
+ reviewerResponse: z.ZodOptional<z.ZodString>;
619
+ status: z.ZodOptional<z.ZodString>;
620
+ version: z.ZodOptional<z.ZodString>;
621
+ action: z.ZodLiteral<"deleted">;
622
+ eventType: z.ZodLiteral<"googleDrive.file.deleted">;
623
+ resourceType: z.ZodLiteral<"file">;
624
+ }, z.core.$strip>;
625
+ };
626
+ "googleDrive.file.moved": {
627
+ configSchema: z.ZodObject<{
628
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
629
+ resourceId: z.ZodString;
630
+ resourceType: z.ZodEnum<{
631
+ file: "file";
632
+ drive: "drive";
633
+ }>;
634
+ }, z.core.$strip>;
635
+ eventSchema: z.ZodObject<{
636
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
637
+ commentId: z.ZodOptional<z.ZodString>;
638
+ dueAt: z.ZodOptional<z.ZodDate>;
639
+ eventId: z.ZodString;
640
+ fileId: z.ZodString;
641
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
642
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
643
+ mimeType: z.ZodOptional<z.ZodString>;
644
+ occurredAt: z.ZodDate;
645
+ parentId: z.ZodOptional<z.ZodString>;
646
+ previousParentId: z.ZodOptional<z.ZodString>;
647
+ resourceId: z.ZodOptional<z.ZodString>;
648
+ resourceIds: z.ZodArray<z.ZodString>;
649
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
650
+ reviewerResponse: z.ZodOptional<z.ZodString>;
651
+ status: z.ZodOptional<z.ZodString>;
652
+ version: z.ZodOptional<z.ZodString>;
653
+ action: z.ZodLiteral<"moved">;
654
+ eventType: z.ZodLiteral<"googleDrive.file.moved">;
655
+ resourceType: z.ZodLiteral<"file">;
656
+ }, z.core.$strip>;
657
+ };
658
+ "googleDrive.file.renamed": {
659
+ configSchema: z.ZodObject<{
660
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
661
+ resourceId: z.ZodString;
662
+ resourceType: z.ZodEnum<{
663
+ file: "file";
664
+ drive: "drive";
665
+ }>;
666
+ }, z.core.$strip>;
667
+ eventSchema: z.ZodObject<{
668
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
669
+ commentId: z.ZodOptional<z.ZodString>;
670
+ dueAt: z.ZodOptional<z.ZodDate>;
671
+ eventId: z.ZodString;
672
+ fileId: z.ZodString;
673
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
674
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
675
+ mimeType: z.ZodOptional<z.ZodString>;
676
+ occurredAt: z.ZodDate;
677
+ parentId: z.ZodOptional<z.ZodString>;
678
+ previousParentId: z.ZodOptional<z.ZodString>;
679
+ resourceId: z.ZodOptional<z.ZodString>;
680
+ resourceIds: z.ZodArray<z.ZodString>;
681
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
682
+ reviewerResponse: z.ZodOptional<z.ZodString>;
683
+ status: z.ZodOptional<z.ZodString>;
684
+ version: z.ZodOptional<z.ZodString>;
685
+ action: z.ZodLiteral<"renamed">;
686
+ eventType: z.ZodLiteral<"googleDrive.file.renamed">;
687
+ resourceType: z.ZodLiteral<"file">;
688
+ }, z.core.$strip>;
689
+ };
690
+ "googleDrive.file.trashed": {
691
+ configSchema: z.ZodObject<{
692
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
693
+ resourceId: z.ZodString;
694
+ resourceType: z.ZodEnum<{
695
+ file: "file";
696
+ drive: "drive";
697
+ }>;
698
+ }, z.core.$strip>;
699
+ eventSchema: z.ZodObject<{
700
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
701
+ commentId: z.ZodOptional<z.ZodString>;
702
+ dueAt: z.ZodOptional<z.ZodDate>;
703
+ eventId: z.ZodString;
704
+ fileId: z.ZodString;
705
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
706
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
707
+ mimeType: z.ZodOptional<z.ZodString>;
708
+ occurredAt: z.ZodDate;
709
+ parentId: z.ZodOptional<z.ZodString>;
710
+ previousParentId: z.ZodOptional<z.ZodString>;
711
+ resourceId: z.ZodOptional<z.ZodString>;
712
+ resourceIds: z.ZodArray<z.ZodString>;
713
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
714
+ reviewerResponse: z.ZodOptional<z.ZodString>;
715
+ status: z.ZodOptional<z.ZodString>;
716
+ version: z.ZodOptional<z.ZodString>;
717
+ action: z.ZodLiteral<"trashed">;
718
+ eventType: z.ZodLiteral<"googleDrive.file.trashed">;
719
+ resourceType: z.ZodLiteral<"file">;
720
+ }, z.core.$strip>;
721
+ };
722
+ "googleDrive.file.untrashed": {
723
+ configSchema: z.ZodObject<{
724
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
725
+ resourceId: z.ZodString;
726
+ resourceType: z.ZodEnum<{
727
+ file: "file";
728
+ drive: "drive";
729
+ }>;
730
+ }, z.core.$strip>;
731
+ eventSchema: z.ZodObject<{
732
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
733
+ commentId: z.ZodOptional<z.ZodString>;
734
+ dueAt: z.ZodOptional<z.ZodDate>;
735
+ eventId: z.ZodString;
736
+ fileId: z.ZodString;
737
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
738
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
739
+ mimeType: z.ZodOptional<z.ZodString>;
740
+ occurredAt: z.ZodDate;
741
+ parentId: z.ZodOptional<z.ZodString>;
742
+ previousParentId: z.ZodOptional<z.ZodString>;
743
+ resourceId: z.ZodOptional<z.ZodString>;
744
+ resourceIds: z.ZodArray<z.ZodString>;
745
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
746
+ reviewerResponse: z.ZodOptional<z.ZodString>;
747
+ status: z.ZodOptional<z.ZodString>;
748
+ version: z.ZodOptional<z.ZodString>;
749
+ action: z.ZodLiteral<"untrashed">;
750
+ eventType: z.ZodLiteral<"googleDrive.file.untrashed">;
751
+ resourceType: z.ZodLiteral<"file">;
752
+ }, z.core.$strip>;
753
+ };
754
+ "googleDrive.permission.created": {
755
+ configSchema: z.ZodObject<{
756
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
757
+ resourceId: z.ZodString;
758
+ resourceType: z.ZodEnum<{
759
+ file: "file";
760
+ drive: "drive";
761
+ }>;
762
+ }, z.core.$strip>;
763
+ eventSchema: z.ZodObject<{
764
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
765
+ commentId: z.ZodOptional<z.ZodString>;
766
+ dueAt: z.ZodOptional<z.ZodDate>;
767
+ eventId: z.ZodString;
768
+ fileId: z.ZodString;
769
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
770
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
771
+ mimeType: z.ZodOptional<z.ZodString>;
772
+ occurredAt: z.ZodDate;
773
+ parentId: z.ZodOptional<z.ZodString>;
774
+ previousParentId: z.ZodOptional<z.ZodString>;
775
+ resourceId: z.ZodOptional<z.ZodString>;
776
+ resourceIds: z.ZodArray<z.ZodString>;
777
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
778
+ reviewerResponse: z.ZodOptional<z.ZodString>;
779
+ status: z.ZodOptional<z.ZodString>;
780
+ version: z.ZodOptional<z.ZodString>;
781
+ action: z.ZodLiteral<"created">;
782
+ eventType: z.ZodLiteral<"googleDrive.permission.created">;
783
+ resourceType: z.ZodLiteral<"permission">;
784
+ }, z.core.$strip>;
785
+ };
786
+ "googleDrive.permission.deleted": {
787
+ configSchema: z.ZodObject<{
788
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
789
+ resourceId: z.ZodString;
790
+ resourceType: z.ZodEnum<{
791
+ file: "file";
792
+ drive: "drive";
793
+ }>;
794
+ }, z.core.$strip>;
795
+ eventSchema: z.ZodObject<{
796
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
797
+ commentId: z.ZodOptional<z.ZodString>;
798
+ dueAt: z.ZodOptional<z.ZodDate>;
799
+ eventId: z.ZodString;
800
+ fileId: z.ZodString;
801
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
802
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
803
+ mimeType: z.ZodOptional<z.ZodString>;
804
+ occurredAt: z.ZodDate;
805
+ parentId: z.ZodOptional<z.ZodString>;
806
+ previousParentId: z.ZodOptional<z.ZodString>;
807
+ resourceId: z.ZodOptional<z.ZodString>;
808
+ resourceIds: z.ZodArray<z.ZodString>;
809
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
810
+ reviewerResponse: z.ZodOptional<z.ZodString>;
811
+ status: z.ZodOptional<z.ZodString>;
812
+ version: z.ZodOptional<z.ZodString>;
813
+ action: z.ZodLiteral<"deleted">;
814
+ eventType: z.ZodLiteral<"googleDrive.permission.deleted">;
815
+ resourceType: z.ZodLiteral<"permission">;
816
+ }, z.core.$strip>;
817
+ };
818
+ "googleDrive.permission.edited": {
819
+ configSchema: z.ZodObject<{
820
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
821
+ resourceId: z.ZodString;
822
+ resourceType: z.ZodEnum<{
823
+ file: "file";
824
+ drive: "drive";
825
+ }>;
826
+ }, z.core.$strip>;
827
+ eventSchema: z.ZodObject<{
828
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
829
+ commentId: z.ZodOptional<z.ZodString>;
830
+ dueAt: z.ZodOptional<z.ZodDate>;
831
+ eventId: z.ZodString;
832
+ fileId: z.ZodString;
833
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
834
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
835
+ mimeType: z.ZodOptional<z.ZodString>;
836
+ occurredAt: z.ZodDate;
837
+ parentId: z.ZodOptional<z.ZodString>;
838
+ previousParentId: z.ZodOptional<z.ZodString>;
839
+ resourceId: z.ZodOptional<z.ZodString>;
840
+ resourceIds: z.ZodArray<z.ZodString>;
841
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
842
+ reviewerResponse: z.ZodOptional<z.ZodString>;
843
+ status: z.ZodOptional<z.ZodString>;
844
+ version: z.ZodOptional<z.ZodString>;
845
+ action: z.ZodLiteral<"edited">;
846
+ eventType: z.ZodLiteral<"googleDrive.permission.edited">;
847
+ resourceType: z.ZodLiteral<"permission">;
848
+ }, z.core.$strip>;
849
+ };
850
+ "googleDrive.reply.created": {
851
+ configSchema: z.ZodObject<{
852
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
853
+ resourceId: z.ZodString;
854
+ resourceType: z.ZodEnum<{
855
+ file: "file";
856
+ drive: "drive";
857
+ }>;
858
+ }, z.core.$strip>;
859
+ eventSchema: z.ZodObject<{
860
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
861
+ commentId: z.ZodOptional<z.ZodString>;
862
+ dueAt: z.ZodOptional<z.ZodDate>;
863
+ eventId: z.ZodString;
864
+ fileId: z.ZodString;
865
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
866
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
867
+ mimeType: z.ZodOptional<z.ZodString>;
868
+ occurredAt: z.ZodDate;
869
+ parentId: z.ZodOptional<z.ZodString>;
870
+ previousParentId: z.ZodOptional<z.ZodString>;
871
+ resourceId: z.ZodOptional<z.ZodString>;
872
+ resourceIds: z.ZodArray<z.ZodString>;
873
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
874
+ reviewerResponse: z.ZodOptional<z.ZodString>;
875
+ status: z.ZodOptional<z.ZodString>;
876
+ version: z.ZodOptional<z.ZodString>;
877
+ action: z.ZodLiteral<"created">;
878
+ eventType: z.ZodLiteral<"googleDrive.reply.created">;
879
+ resourceType: z.ZodLiteral<"reply">;
880
+ }, z.core.$strip>;
881
+ };
882
+ "googleDrive.reply.deleted": {
883
+ configSchema: z.ZodObject<{
884
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
885
+ resourceId: z.ZodString;
886
+ resourceType: z.ZodEnum<{
887
+ file: "file";
888
+ drive: "drive";
889
+ }>;
890
+ }, z.core.$strip>;
891
+ eventSchema: z.ZodObject<{
892
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
893
+ commentId: z.ZodOptional<z.ZodString>;
894
+ dueAt: z.ZodOptional<z.ZodDate>;
895
+ eventId: z.ZodString;
896
+ fileId: z.ZodString;
897
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
898
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
899
+ mimeType: z.ZodOptional<z.ZodString>;
900
+ occurredAt: z.ZodDate;
901
+ parentId: z.ZodOptional<z.ZodString>;
902
+ previousParentId: z.ZodOptional<z.ZodString>;
903
+ resourceId: z.ZodOptional<z.ZodString>;
904
+ resourceIds: z.ZodArray<z.ZodString>;
905
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
906
+ reviewerResponse: z.ZodOptional<z.ZodString>;
907
+ status: z.ZodOptional<z.ZodString>;
908
+ version: z.ZodOptional<z.ZodString>;
909
+ action: z.ZodLiteral<"deleted">;
910
+ eventType: z.ZodLiteral<"googleDrive.reply.deleted">;
911
+ resourceType: z.ZodLiteral<"reply">;
912
+ }, z.core.$strip>;
913
+ };
914
+ "googleDrive.reply.edited": {
915
+ configSchema: z.ZodObject<{
916
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
917
+ resourceId: z.ZodString;
918
+ resourceType: z.ZodEnum<{
919
+ file: "file";
920
+ drive: "drive";
921
+ }>;
922
+ }, z.core.$strip>;
923
+ eventSchema: z.ZodObject<{
924
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
925
+ commentId: z.ZodOptional<z.ZodString>;
926
+ dueAt: z.ZodOptional<z.ZodDate>;
927
+ eventId: z.ZodString;
928
+ fileId: z.ZodString;
929
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
930
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
931
+ mimeType: z.ZodOptional<z.ZodString>;
932
+ occurredAt: z.ZodDate;
933
+ parentId: z.ZodOptional<z.ZodString>;
934
+ previousParentId: z.ZodOptional<z.ZodString>;
935
+ resourceId: z.ZodOptional<z.ZodString>;
936
+ resourceIds: z.ZodArray<z.ZodString>;
937
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
938
+ reviewerResponse: z.ZodOptional<z.ZodString>;
939
+ status: z.ZodOptional<z.ZodString>;
940
+ version: z.ZodOptional<z.ZodString>;
941
+ action: z.ZodLiteral<"edited">;
942
+ eventType: z.ZodLiteral<"googleDrive.reply.edited">;
943
+ resourceType: z.ZodLiteral<"reply">;
944
+ }, z.core.$strip>;
945
+ };
946
+ "googleDrive.event": {
947
+ configSchema: z.ZodObject<{
948
+ includeDescendants: z.ZodOptional<z.ZodBoolean>;
949
+ resourceId: z.ZodString;
950
+ resourceType: z.ZodEnum<{
951
+ file: "file";
952
+ drive: "drive";
953
+ }>;
954
+ }, z.core.$strip>;
955
+ eventSchema: z.ZodObject<{
956
+ action: z.ZodEnum<{
957
+ cancelled: "cancelled";
958
+ completed: "completed";
959
+ deleted: "deleted";
960
+ moved: "moved";
961
+ created: "created";
962
+ contentChanged: "contentChanged";
963
+ edited: "edited";
964
+ reopened: "reopened";
965
+ renamed: "renamed";
966
+ reset: "reset";
967
+ resolved: "resolved";
968
+ responded: "responded";
969
+ reviewersChanged: "reviewersChanged";
970
+ trashed: "trashed";
971
+ untrashed: "untrashed";
972
+ }>;
973
+ assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
974
+ commentId: z.ZodOptional<z.ZodString>;
975
+ dueAt: z.ZodOptional<z.ZodDate>;
976
+ eventId: z.ZodString;
977
+ fileId: z.ZodString;
978
+ initiatorEmailAddress: z.ZodOptional<z.ZodEmail>;
979
+ mentionedEmailAddresses: z.ZodArray<z.ZodEmail>;
980
+ mimeType: z.ZodOptional<z.ZodString>;
981
+ occurredAt: z.ZodDate;
982
+ parentId: z.ZodOptional<z.ZodString>;
983
+ previousParentId: z.ZodOptional<z.ZodString>;
984
+ resourceId: z.ZodOptional<z.ZodString>;
985
+ resourceIds: z.ZodArray<z.ZodString>;
986
+ resourceType: z.ZodEnum<{
987
+ file: "file";
988
+ reply: "reply";
989
+ comment: "comment";
990
+ accessProposal: "accessProposal";
991
+ approval: "approval";
992
+ permission: "permission";
993
+ }>;
994
+ reviewerEmailAddresses: z.ZodArray<z.ZodEmail>;
995
+ reviewerResponse: z.ZodOptional<z.ZodString>;
996
+ status: z.ZodOptional<z.ZodString>;
997
+ version: z.ZodOptional<z.ZodString>;
998
+ eventType: z.ZodEnum<{
999
+ "googleDrive.accessProposal.created": "googleDrive.accessProposal.created";
1000
+ "googleDrive.accessProposal.resolved": "googleDrive.accessProposal.resolved";
1001
+ "googleDrive.approval.cancelled": "googleDrive.approval.cancelled";
1002
+ "googleDrive.approval.completed": "googleDrive.approval.completed";
1003
+ "googleDrive.approval.created": "googleDrive.approval.created";
1004
+ "googleDrive.approval.reset": "googleDrive.approval.reset";
1005
+ "googleDrive.approval.responded": "googleDrive.approval.responded";
1006
+ "googleDrive.approval.reviewersChanged": "googleDrive.approval.reviewersChanged";
1007
+ "googleDrive.comment.created": "googleDrive.comment.created";
1008
+ "googleDrive.comment.deleted": "googleDrive.comment.deleted";
1009
+ "googleDrive.comment.edited": "googleDrive.comment.edited";
1010
+ "googleDrive.comment.reopened": "googleDrive.comment.reopened";
1011
+ "googleDrive.comment.resolved": "googleDrive.comment.resolved";
1012
+ "googleDrive.file.contentChanged": "googleDrive.file.contentChanged";
1013
+ "googleDrive.file.created": "googleDrive.file.created";
1014
+ "googleDrive.file.deleted": "googleDrive.file.deleted";
1015
+ "googleDrive.file.moved": "googleDrive.file.moved";
1016
+ "googleDrive.file.renamed": "googleDrive.file.renamed";
1017
+ "googleDrive.file.trashed": "googleDrive.file.trashed";
1018
+ "googleDrive.file.untrashed": "googleDrive.file.untrashed";
1019
+ "googleDrive.permission.created": "googleDrive.permission.created";
1020
+ "googleDrive.permission.deleted": "googleDrive.permission.deleted";
1021
+ "googleDrive.permission.edited": "googleDrive.permission.edited";
1022
+ "googleDrive.reply.created": "googleDrive.reply.created";
1023
+ "googleDrive.reply.deleted": "googleDrive.reply.deleted";
1024
+ "googleDrive.reply.edited": "googleDrive.reply.edited";
1025
+ }>;
1026
+ }, z.core.$strip>;
1027
+ };
1028
+ };
1029
+ /**
1030
+ * Resolves an internal semantic event type from a provider CloudEvent type.
1031
+ *
1032
+ * @param providerEventType - Provider CloudEvent type.
1033
+ */
1034
+ export declare function toGoogleDriveTriggerType(providerEventType: string): GoogleDriveTriggerType | undefined;
1035
+ /**
1036
+ * Splits one internal event type into its resource and action discriminants.
1037
+ *
1038
+ * @param eventType - Stable internal semantic event type.
1039
+ */
1040
+ export declare function parseGoogleDriveTriggerType(eventType: GoogleDriveTriggerType): {
1041
+ action: "cancelled" | "completed" | "deleted" | "moved" | "created" | "contentChanged" | "edited" | "reopened" | "renamed" | "reset" | "resolved" | "responded" | "reviewersChanged" | "trashed" | "untrashed";
1042
+ resourceType: "file" | "reply" | "comment" | "accessProposal" | "approval" | "permission";
1043
+ };
1044
+ export {};