terse-types 0.0.20 → 0.0.22

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.
@@ -1,4054 +0,0 @@
1
- import { z } from "zod";
2
- import { IntegrationType } from "./Integrations.js";
3
- import { SlackAttachments, SlackBlocks, SlackChannelType, SlackFiles } from "./SlackTypes.js";
4
- export declare const slackMessageTriggerSchema: z.ZodObject<{
5
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
6
- channelId: z.ZodString;
7
- channelName: z.ZodNullable<z.ZodString>;
8
- userId: z.ZodString;
9
- userName: z.ZodNullable<z.ZodString>;
10
- text: z.ZodString;
11
- timestamp: z.ZodString;
12
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- threadTimestamp: z.ZodNullable<z.ZodString>;
14
- teamId: z.ZodString;
15
- permalink: z.ZodNullable<z.ZodString>;
16
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
17
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
18
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
19
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
20
- eventType: z.ZodLiteral<"message">;
21
- }, z.core.$strip>;
22
- type SlackMessageTriggerSchemaShape = z.infer<typeof slackMessageTriggerSchema>;
23
- export type SlackMessageTrigger = Omit<SlackMessageTriggerSchemaShape, "blocks" | "attachments" | "files"> & {
24
- blocks: SlackBlocks | null;
25
- attachments: SlackAttachments | null;
26
- files: SlackFiles | null;
27
- };
28
- export declare const slackAppMentionTriggerSchema: z.ZodObject<{
29
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
30
- channelId: z.ZodString;
31
- channelName: z.ZodNullable<z.ZodString>;
32
- userId: z.ZodString;
33
- userName: z.ZodNullable<z.ZodString>;
34
- text: z.ZodString;
35
- timestamp: z.ZodString;
36
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- threadTimestamp: z.ZodNullable<z.ZodString>;
38
- teamId: z.ZodString;
39
- permalink: z.ZodNullable<z.ZodString>;
40
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
41
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
42
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
43
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
44
- eventType: z.ZodLiteral<"app_mention">;
45
- }, z.core.$strip>;
46
- type SlackAppMentionTriggerSchemaShape = z.infer<typeof slackAppMentionTriggerSchema>;
47
- export type SlackAppMentionTrigger = Omit<SlackAppMentionTriggerSchemaShape, "blocks" | "attachments" | "files"> & {
48
- blocks: SlackBlocks | null;
49
- attachments: SlackAttachments | null;
50
- files: SlackFiles | null;
51
- };
52
- export declare const slackReactionAddedTriggerSchema: z.ZodObject<{
53
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
54
- channelId: z.ZodString;
55
- channelName: z.ZodNullable<z.ZodString>;
56
- userId: z.ZodString;
57
- userName: z.ZodNullable<z.ZodString>;
58
- text: z.ZodString;
59
- timestamp: z.ZodString;
60
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
- threadTimestamp: z.ZodNullable<z.ZodString>;
62
- teamId: z.ZodString;
63
- permalink: z.ZodNullable<z.ZodString>;
64
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
65
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
66
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
67
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
68
- eventType: z.ZodLiteral<"reaction_added">;
69
- reaction: z.ZodString;
70
- itemType: z.ZodNullable<z.ZodString>;
71
- itemUserId: z.ZodNullable<z.ZodString>;
72
- itemChannelId: z.ZodNullable<z.ZodString>;
73
- itemTimestamp: z.ZodNullable<z.ZodString>;
74
- }, z.core.$strip>;
75
- type SlackReactionAddedTriggerSchemaShape = z.infer<typeof slackReactionAddedTriggerSchema>;
76
- export type SlackReactionAddedTrigger = Omit<SlackReactionAddedTriggerSchemaShape, "blocks" | "attachments" | "files"> & {
77
- blocks: SlackBlocks | null;
78
- attachments: SlackAttachments | null;
79
- files: SlackFiles | null;
80
- };
81
- export declare const slackTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
82
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
83
- channelId: z.ZodString;
84
- channelName: z.ZodNullable<z.ZodString>;
85
- userId: z.ZodString;
86
- userName: z.ZodNullable<z.ZodString>;
87
- text: z.ZodString;
88
- timestamp: z.ZodString;
89
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
- threadTimestamp: z.ZodNullable<z.ZodString>;
91
- teamId: z.ZodString;
92
- permalink: z.ZodNullable<z.ZodString>;
93
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
94
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
95
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
96
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
97
- eventType: z.ZodLiteral<"message">;
98
- }, z.core.$strip>, z.ZodObject<{
99
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
100
- channelId: z.ZodString;
101
- channelName: z.ZodNullable<z.ZodString>;
102
- userId: z.ZodString;
103
- userName: z.ZodNullable<z.ZodString>;
104
- text: z.ZodString;
105
- timestamp: z.ZodString;
106
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
107
- threadTimestamp: z.ZodNullable<z.ZodString>;
108
- teamId: z.ZodString;
109
- permalink: z.ZodNullable<z.ZodString>;
110
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
111
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
112
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
113
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
114
- eventType: z.ZodLiteral<"app_mention">;
115
- }, z.core.$strip>, z.ZodObject<{
116
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
117
- channelId: z.ZodString;
118
- channelName: z.ZodNullable<z.ZodString>;
119
- userId: z.ZodString;
120
- userName: z.ZodNullable<z.ZodString>;
121
- text: z.ZodString;
122
- timestamp: z.ZodString;
123
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
- threadTimestamp: z.ZodNullable<z.ZodString>;
125
- teamId: z.ZodString;
126
- permalink: z.ZodNullable<z.ZodString>;
127
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
128
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
129
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
130
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
131
- eventType: z.ZodLiteral<"reaction_added">;
132
- reaction: z.ZodString;
133
- itemType: z.ZodNullable<z.ZodString>;
134
- itemUserId: z.ZodNullable<z.ZodString>;
135
- itemChannelId: z.ZodNullable<z.ZodString>;
136
- itemTimestamp: z.ZodNullable<z.ZodString>;
137
- }, z.core.$strip>], "eventType">;
138
- export type SlackTrigger = SlackMessageTrigger | SlackAppMentionTrigger | SlackReactionAddedTrigger;
139
- export declare const fileDiffSchema: z.ZodObject<{
140
- filename: z.ZodString;
141
- diff: z.ZodString;
142
- }, z.core.$strip>;
143
- export declare const commitSchema: z.ZodObject<{
144
- sha: z.ZodString;
145
- message: z.ZodOptional<z.ZodString>;
146
- name: z.ZodString;
147
- fileDiffs: z.ZodArray<z.ZodObject<{
148
- filename: z.ZodString;
149
- diff: z.ZodString;
150
- }, z.core.$strip>>;
151
- }, z.core.$strip>;
152
- export declare const pullRequestUserSchema: z.ZodObject<{
153
- login: z.ZodString;
154
- email: z.ZodOptional<z.ZodString>;
155
- }, z.core.$strip>;
156
- export declare const pullRequestRefSchema: z.ZodObject<{
157
- ref: z.ZodString;
158
- sha: z.ZodString;
159
- }, z.core.$strip>;
160
- export declare const pullRequestSchema: z.ZodObject<{
161
- id: z.ZodString;
162
- number: z.ZodNumber;
163
- title: z.ZodString;
164
- body: z.ZodOptional<z.ZodString>;
165
- state: z.ZodEnum<{
166
- open: "open";
167
- closed: "closed";
168
- }>;
169
- merged: z.ZodBoolean;
170
- head: z.ZodObject<{
171
- ref: z.ZodString;
172
- sha: z.ZodString;
173
- }, z.core.$strip>;
174
- base: z.ZodObject<{
175
- ref: z.ZodString;
176
- sha: z.ZodString;
177
- }, z.core.$strip>;
178
- user: z.ZodObject<{
179
- login: z.ZodString;
180
- email: z.ZodOptional<z.ZodString>;
181
- }, z.core.$strip>;
182
- author: z.ZodOptional<z.ZodObject<{
183
- login: z.ZodString;
184
- email: z.ZodOptional<z.ZodString>;
185
- }, z.core.$strip>>;
186
- url: z.ZodOptional<z.ZodString>;
187
- }, z.core.$strip>;
188
- export declare const githubRepositorySchema: z.ZodObject<{
189
- id: z.ZodNumber;
190
- name: z.ZodString;
191
- owner: z.ZodString;
192
- defaultBranch: z.ZodString;
193
- }, z.core.$strip>;
194
- export declare const senderSchema: z.ZodObject<{
195
- login: z.ZodString;
196
- email: z.ZodOptional<z.ZodString>;
197
- }, z.core.$strip>;
198
- export declare const GithubPushTriggerSchema: z.ZodObject<{
199
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
200
- username: z.ZodString;
201
- installationId: z.ZodNumber;
202
- repositoryName: z.ZodString;
203
- repository: z.ZodObject<{
204
- id: z.ZodNumber;
205
- name: z.ZodString;
206
- owner: z.ZodString;
207
- defaultBranch: z.ZodString;
208
- }, z.core.$strip>;
209
- sender: z.ZodObject<{
210
- login: z.ZodString;
211
- email: z.ZodOptional<z.ZodString>;
212
- }, z.core.$strip>;
213
- eventType: z.ZodLiteral<"push">;
214
- branch: z.ZodString;
215
- commits: z.ZodArray<z.ZodObject<{
216
- sha: z.ZodString;
217
- message: z.ZodOptional<z.ZodString>;
218
- name: z.ZodString;
219
- fileDiffs: z.ZodArray<z.ZodObject<{
220
- filename: z.ZodString;
221
- diff: z.ZodString;
222
- }, z.core.$strip>>;
223
- }, z.core.$strip>>;
224
- pullRequest: z.ZodOptional<z.ZodUndefined>;
225
- }, z.core.$strip>;
226
- export type GithubPushTrigger = z.infer<typeof GithubPushTriggerSchema>;
227
- export declare const GithubPROpenedTriggerSchema: z.ZodObject<{
228
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
229
- username: z.ZodString;
230
- installationId: z.ZodNumber;
231
- repositoryName: z.ZodString;
232
- repository: z.ZodObject<{
233
- id: z.ZodNumber;
234
- name: z.ZodString;
235
- owner: z.ZodString;
236
- defaultBranch: z.ZodString;
237
- }, z.core.$strip>;
238
- sender: z.ZodObject<{
239
- login: z.ZodString;
240
- email: z.ZodOptional<z.ZodString>;
241
- }, z.core.$strip>;
242
- pullRequest: z.ZodObject<{
243
- id: z.ZodString;
244
- number: z.ZodNumber;
245
- title: z.ZodString;
246
- body: z.ZodOptional<z.ZodString>;
247
- state: z.ZodEnum<{
248
- open: "open";
249
- closed: "closed";
250
- }>;
251
- merged: z.ZodBoolean;
252
- head: z.ZodObject<{
253
- ref: z.ZodString;
254
- sha: z.ZodString;
255
- }, z.core.$strip>;
256
- base: z.ZodObject<{
257
- ref: z.ZodString;
258
- sha: z.ZodString;
259
- }, z.core.$strip>;
260
- user: z.ZodObject<{
261
- login: z.ZodString;
262
- email: z.ZodOptional<z.ZodString>;
263
- }, z.core.$strip>;
264
- author: z.ZodOptional<z.ZodObject<{
265
- login: z.ZodString;
266
- email: z.ZodOptional<z.ZodString>;
267
- }, z.core.$strip>>;
268
- url: z.ZodOptional<z.ZodString>;
269
- }, z.core.$strip>;
270
- branch: z.ZodOptional<z.ZodString>;
271
- commits: z.ZodArray<z.ZodObject<{
272
- sha: z.ZodString;
273
- message: z.ZodOptional<z.ZodString>;
274
- name: z.ZodString;
275
- fileDiffs: z.ZodArray<z.ZodObject<{
276
- filename: z.ZodString;
277
- diff: z.ZodString;
278
- }, z.core.$strip>>;
279
- }, z.core.$strip>>;
280
- eventType: z.ZodLiteral<"pull_request.opened">;
281
- }, z.core.$strip>;
282
- export type GithubPROpenedTrigger = z.infer<typeof GithubPRMergedTriggerSchema>;
283
- export declare const GithubPRSynchronizedTriggerSchema: z.ZodObject<{
284
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
285
- username: z.ZodString;
286
- installationId: z.ZodNumber;
287
- repositoryName: z.ZodString;
288
- repository: z.ZodObject<{
289
- id: z.ZodNumber;
290
- name: z.ZodString;
291
- owner: z.ZodString;
292
- defaultBranch: z.ZodString;
293
- }, z.core.$strip>;
294
- sender: z.ZodObject<{
295
- login: z.ZodString;
296
- email: z.ZodOptional<z.ZodString>;
297
- }, z.core.$strip>;
298
- pullRequest: z.ZodObject<{
299
- id: z.ZodString;
300
- number: z.ZodNumber;
301
- title: z.ZodString;
302
- body: z.ZodOptional<z.ZodString>;
303
- state: z.ZodEnum<{
304
- open: "open";
305
- closed: "closed";
306
- }>;
307
- merged: z.ZodBoolean;
308
- head: z.ZodObject<{
309
- ref: z.ZodString;
310
- sha: z.ZodString;
311
- }, z.core.$strip>;
312
- base: z.ZodObject<{
313
- ref: z.ZodString;
314
- sha: z.ZodString;
315
- }, z.core.$strip>;
316
- user: z.ZodObject<{
317
- login: z.ZodString;
318
- email: z.ZodOptional<z.ZodString>;
319
- }, z.core.$strip>;
320
- author: z.ZodOptional<z.ZodObject<{
321
- login: z.ZodString;
322
- email: z.ZodOptional<z.ZodString>;
323
- }, z.core.$strip>>;
324
- url: z.ZodOptional<z.ZodString>;
325
- }, z.core.$strip>;
326
- branch: z.ZodOptional<z.ZodString>;
327
- commits: z.ZodArray<z.ZodObject<{
328
- sha: z.ZodString;
329
- message: z.ZodOptional<z.ZodString>;
330
- name: z.ZodString;
331
- fileDiffs: z.ZodArray<z.ZodObject<{
332
- filename: z.ZodString;
333
- diff: z.ZodString;
334
- }, z.core.$strip>>;
335
- }, z.core.$strip>>;
336
- eventType: z.ZodLiteral<"pull_request.synchronize">;
337
- }, z.core.$strip>;
338
- export type GithubPRSynchronizedTrigger = z.infer<typeof GithubPRSynchronizedTriggerSchema>;
339
- export declare const GithubPRClosedTriggerSchema: z.ZodObject<{
340
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
341
- username: z.ZodString;
342
- installationId: z.ZodNumber;
343
- repositoryName: z.ZodString;
344
- repository: z.ZodObject<{
345
- id: z.ZodNumber;
346
- name: z.ZodString;
347
- owner: z.ZodString;
348
- defaultBranch: z.ZodString;
349
- }, z.core.$strip>;
350
- sender: z.ZodObject<{
351
- login: z.ZodString;
352
- email: z.ZodOptional<z.ZodString>;
353
- }, z.core.$strip>;
354
- pullRequest: z.ZodObject<{
355
- id: z.ZodString;
356
- number: z.ZodNumber;
357
- title: z.ZodString;
358
- body: z.ZodOptional<z.ZodString>;
359
- state: z.ZodEnum<{
360
- open: "open";
361
- closed: "closed";
362
- }>;
363
- merged: z.ZodBoolean;
364
- head: z.ZodObject<{
365
- ref: z.ZodString;
366
- sha: z.ZodString;
367
- }, z.core.$strip>;
368
- base: z.ZodObject<{
369
- ref: z.ZodString;
370
- sha: z.ZodString;
371
- }, z.core.$strip>;
372
- user: z.ZodObject<{
373
- login: z.ZodString;
374
- email: z.ZodOptional<z.ZodString>;
375
- }, z.core.$strip>;
376
- author: z.ZodOptional<z.ZodObject<{
377
- login: z.ZodString;
378
- email: z.ZodOptional<z.ZodString>;
379
- }, z.core.$strip>>;
380
- url: z.ZodOptional<z.ZodString>;
381
- }, z.core.$strip>;
382
- branch: z.ZodOptional<z.ZodString>;
383
- commits: z.ZodArray<z.ZodObject<{
384
- sha: z.ZodString;
385
- message: z.ZodOptional<z.ZodString>;
386
- name: z.ZodString;
387
- fileDiffs: z.ZodArray<z.ZodObject<{
388
- filename: z.ZodString;
389
- diff: z.ZodString;
390
- }, z.core.$strip>>;
391
- }, z.core.$strip>>;
392
- eventType: z.ZodLiteral<"pull_request.closed">;
393
- }, z.core.$strip>;
394
- export type GithubPRClosedTrigger = z.infer<typeof GithubPRClosedTriggerSchema>;
395
- export declare const GithubPRMergedTriggerSchema: z.ZodObject<{
396
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
397
- username: z.ZodString;
398
- installationId: z.ZodNumber;
399
- repositoryName: z.ZodString;
400
- repository: z.ZodObject<{
401
- id: z.ZodNumber;
402
- name: z.ZodString;
403
- owner: z.ZodString;
404
- defaultBranch: z.ZodString;
405
- }, z.core.$strip>;
406
- sender: z.ZodObject<{
407
- login: z.ZodString;
408
- email: z.ZodOptional<z.ZodString>;
409
- }, z.core.$strip>;
410
- pullRequest: z.ZodObject<{
411
- id: z.ZodString;
412
- number: z.ZodNumber;
413
- title: z.ZodString;
414
- body: z.ZodOptional<z.ZodString>;
415
- state: z.ZodEnum<{
416
- open: "open";
417
- closed: "closed";
418
- }>;
419
- merged: z.ZodBoolean;
420
- head: z.ZodObject<{
421
- ref: z.ZodString;
422
- sha: z.ZodString;
423
- }, z.core.$strip>;
424
- base: z.ZodObject<{
425
- ref: z.ZodString;
426
- sha: z.ZodString;
427
- }, z.core.$strip>;
428
- user: z.ZodObject<{
429
- login: z.ZodString;
430
- email: z.ZodOptional<z.ZodString>;
431
- }, z.core.$strip>;
432
- author: z.ZodOptional<z.ZodObject<{
433
- login: z.ZodString;
434
- email: z.ZodOptional<z.ZodString>;
435
- }, z.core.$strip>>;
436
- url: z.ZodOptional<z.ZodString>;
437
- }, z.core.$strip>;
438
- branch: z.ZodOptional<z.ZodString>;
439
- commits: z.ZodArray<z.ZodObject<{
440
- sha: z.ZodString;
441
- message: z.ZodOptional<z.ZodString>;
442
- name: z.ZodString;
443
- fileDiffs: z.ZodArray<z.ZodObject<{
444
- filename: z.ZodString;
445
- diff: z.ZodString;
446
- }, z.core.$strip>>;
447
- }, z.core.$strip>>;
448
- eventType: z.ZodLiteral<"pull_request.merged">;
449
- }, z.core.$strip>;
450
- export type GithubPRMergedTrigger = z.infer<typeof GithubPRMergedTriggerSchema>;
451
- export declare const GithubPRTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
452
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
453
- username: z.ZodString;
454
- installationId: z.ZodNumber;
455
- repositoryName: z.ZodString;
456
- repository: z.ZodObject<{
457
- id: z.ZodNumber;
458
- name: z.ZodString;
459
- owner: z.ZodString;
460
- defaultBranch: z.ZodString;
461
- }, z.core.$strip>;
462
- sender: z.ZodObject<{
463
- login: z.ZodString;
464
- email: z.ZodOptional<z.ZodString>;
465
- }, z.core.$strip>;
466
- pullRequest: z.ZodObject<{
467
- id: z.ZodString;
468
- number: z.ZodNumber;
469
- title: z.ZodString;
470
- body: z.ZodOptional<z.ZodString>;
471
- state: z.ZodEnum<{
472
- open: "open";
473
- closed: "closed";
474
- }>;
475
- merged: z.ZodBoolean;
476
- head: z.ZodObject<{
477
- ref: z.ZodString;
478
- sha: z.ZodString;
479
- }, z.core.$strip>;
480
- base: z.ZodObject<{
481
- ref: z.ZodString;
482
- sha: z.ZodString;
483
- }, z.core.$strip>;
484
- user: z.ZodObject<{
485
- login: z.ZodString;
486
- email: z.ZodOptional<z.ZodString>;
487
- }, z.core.$strip>;
488
- author: z.ZodOptional<z.ZodObject<{
489
- login: z.ZodString;
490
- email: z.ZodOptional<z.ZodString>;
491
- }, z.core.$strip>>;
492
- url: z.ZodOptional<z.ZodString>;
493
- }, z.core.$strip>;
494
- branch: z.ZodOptional<z.ZodString>;
495
- commits: z.ZodArray<z.ZodObject<{
496
- sha: z.ZodString;
497
- message: z.ZodOptional<z.ZodString>;
498
- name: z.ZodString;
499
- fileDiffs: z.ZodArray<z.ZodObject<{
500
- filename: z.ZodString;
501
- diff: z.ZodString;
502
- }, z.core.$strip>>;
503
- }, z.core.$strip>>;
504
- eventType: z.ZodLiteral<"pull_request.opened">;
505
- }, z.core.$strip>, z.ZodObject<{
506
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
507
- username: z.ZodString;
508
- installationId: z.ZodNumber;
509
- repositoryName: z.ZodString;
510
- repository: z.ZodObject<{
511
- id: z.ZodNumber;
512
- name: z.ZodString;
513
- owner: z.ZodString;
514
- defaultBranch: z.ZodString;
515
- }, z.core.$strip>;
516
- sender: z.ZodObject<{
517
- login: z.ZodString;
518
- email: z.ZodOptional<z.ZodString>;
519
- }, z.core.$strip>;
520
- pullRequest: z.ZodObject<{
521
- id: z.ZodString;
522
- number: z.ZodNumber;
523
- title: z.ZodString;
524
- body: z.ZodOptional<z.ZodString>;
525
- state: z.ZodEnum<{
526
- open: "open";
527
- closed: "closed";
528
- }>;
529
- merged: z.ZodBoolean;
530
- head: z.ZodObject<{
531
- ref: z.ZodString;
532
- sha: z.ZodString;
533
- }, z.core.$strip>;
534
- base: z.ZodObject<{
535
- ref: z.ZodString;
536
- sha: z.ZodString;
537
- }, z.core.$strip>;
538
- user: z.ZodObject<{
539
- login: z.ZodString;
540
- email: z.ZodOptional<z.ZodString>;
541
- }, z.core.$strip>;
542
- author: z.ZodOptional<z.ZodObject<{
543
- login: z.ZodString;
544
- email: z.ZodOptional<z.ZodString>;
545
- }, z.core.$strip>>;
546
- url: z.ZodOptional<z.ZodString>;
547
- }, z.core.$strip>;
548
- branch: z.ZodOptional<z.ZodString>;
549
- commits: z.ZodArray<z.ZodObject<{
550
- sha: z.ZodString;
551
- message: z.ZodOptional<z.ZodString>;
552
- name: z.ZodString;
553
- fileDiffs: z.ZodArray<z.ZodObject<{
554
- filename: z.ZodString;
555
- diff: z.ZodString;
556
- }, z.core.$strip>>;
557
- }, z.core.$strip>>;
558
- eventType: z.ZodLiteral<"pull_request.synchronize">;
559
- }, z.core.$strip>, z.ZodObject<{
560
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
561
- username: z.ZodString;
562
- installationId: z.ZodNumber;
563
- repositoryName: z.ZodString;
564
- repository: z.ZodObject<{
565
- id: z.ZodNumber;
566
- name: z.ZodString;
567
- owner: z.ZodString;
568
- defaultBranch: z.ZodString;
569
- }, z.core.$strip>;
570
- sender: z.ZodObject<{
571
- login: z.ZodString;
572
- email: z.ZodOptional<z.ZodString>;
573
- }, z.core.$strip>;
574
- pullRequest: z.ZodObject<{
575
- id: z.ZodString;
576
- number: z.ZodNumber;
577
- title: z.ZodString;
578
- body: z.ZodOptional<z.ZodString>;
579
- state: z.ZodEnum<{
580
- open: "open";
581
- closed: "closed";
582
- }>;
583
- merged: z.ZodBoolean;
584
- head: z.ZodObject<{
585
- ref: z.ZodString;
586
- sha: z.ZodString;
587
- }, z.core.$strip>;
588
- base: z.ZodObject<{
589
- ref: z.ZodString;
590
- sha: z.ZodString;
591
- }, z.core.$strip>;
592
- user: z.ZodObject<{
593
- login: z.ZodString;
594
- email: z.ZodOptional<z.ZodString>;
595
- }, z.core.$strip>;
596
- author: z.ZodOptional<z.ZodObject<{
597
- login: z.ZodString;
598
- email: z.ZodOptional<z.ZodString>;
599
- }, z.core.$strip>>;
600
- url: z.ZodOptional<z.ZodString>;
601
- }, z.core.$strip>;
602
- branch: z.ZodOptional<z.ZodString>;
603
- commits: z.ZodArray<z.ZodObject<{
604
- sha: z.ZodString;
605
- message: z.ZodOptional<z.ZodString>;
606
- name: z.ZodString;
607
- fileDiffs: z.ZodArray<z.ZodObject<{
608
- filename: z.ZodString;
609
- diff: z.ZodString;
610
- }, z.core.$strip>>;
611
- }, z.core.$strip>>;
612
- eventType: z.ZodLiteral<"pull_request.closed">;
613
- }, z.core.$strip>, z.ZodObject<{
614
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
615
- username: z.ZodString;
616
- installationId: z.ZodNumber;
617
- repositoryName: z.ZodString;
618
- repository: z.ZodObject<{
619
- id: z.ZodNumber;
620
- name: z.ZodString;
621
- owner: z.ZodString;
622
- defaultBranch: z.ZodString;
623
- }, z.core.$strip>;
624
- sender: z.ZodObject<{
625
- login: z.ZodString;
626
- email: z.ZodOptional<z.ZodString>;
627
- }, z.core.$strip>;
628
- pullRequest: z.ZodObject<{
629
- id: z.ZodString;
630
- number: z.ZodNumber;
631
- title: z.ZodString;
632
- body: z.ZodOptional<z.ZodString>;
633
- state: z.ZodEnum<{
634
- open: "open";
635
- closed: "closed";
636
- }>;
637
- merged: z.ZodBoolean;
638
- head: z.ZodObject<{
639
- ref: z.ZodString;
640
- sha: z.ZodString;
641
- }, z.core.$strip>;
642
- base: z.ZodObject<{
643
- ref: z.ZodString;
644
- sha: z.ZodString;
645
- }, z.core.$strip>;
646
- user: z.ZodObject<{
647
- login: z.ZodString;
648
- email: z.ZodOptional<z.ZodString>;
649
- }, z.core.$strip>;
650
- author: z.ZodOptional<z.ZodObject<{
651
- login: z.ZodString;
652
- email: z.ZodOptional<z.ZodString>;
653
- }, z.core.$strip>>;
654
- url: z.ZodOptional<z.ZodString>;
655
- }, z.core.$strip>;
656
- branch: z.ZodOptional<z.ZodString>;
657
- commits: z.ZodArray<z.ZodObject<{
658
- sha: z.ZodString;
659
- message: z.ZodOptional<z.ZodString>;
660
- name: z.ZodString;
661
- fileDiffs: z.ZodArray<z.ZodObject<{
662
- filename: z.ZodString;
663
- diff: z.ZodString;
664
- }, z.core.$strip>>;
665
- }, z.core.$strip>>;
666
- eventType: z.ZodLiteral<"pull_request.merged">;
667
- }, z.core.$strip>], "eventType">;
668
- export type GithubPRTrigger = z.infer<typeof GithubPRTriggerSchema>;
669
- export declare const GithubTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
670
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
671
- username: z.ZodString;
672
- installationId: z.ZodNumber;
673
- repositoryName: z.ZodString;
674
- repository: z.ZodObject<{
675
- id: z.ZodNumber;
676
- name: z.ZodString;
677
- owner: z.ZodString;
678
- defaultBranch: z.ZodString;
679
- }, z.core.$strip>;
680
- sender: z.ZodObject<{
681
- login: z.ZodString;
682
- email: z.ZodOptional<z.ZodString>;
683
- }, z.core.$strip>;
684
- eventType: z.ZodLiteral<"push">;
685
- branch: z.ZodString;
686
- commits: z.ZodArray<z.ZodObject<{
687
- sha: z.ZodString;
688
- message: z.ZodOptional<z.ZodString>;
689
- name: z.ZodString;
690
- fileDiffs: z.ZodArray<z.ZodObject<{
691
- filename: z.ZodString;
692
- diff: z.ZodString;
693
- }, z.core.$strip>>;
694
- }, z.core.$strip>>;
695
- pullRequest: z.ZodOptional<z.ZodUndefined>;
696
- }, z.core.$strip>, z.ZodObject<{
697
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
698
- username: z.ZodString;
699
- installationId: z.ZodNumber;
700
- repositoryName: z.ZodString;
701
- repository: z.ZodObject<{
702
- id: z.ZodNumber;
703
- name: z.ZodString;
704
- owner: z.ZodString;
705
- defaultBranch: z.ZodString;
706
- }, z.core.$strip>;
707
- sender: z.ZodObject<{
708
- login: z.ZodString;
709
- email: z.ZodOptional<z.ZodString>;
710
- }, z.core.$strip>;
711
- pullRequest: z.ZodObject<{
712
- id: z.ZodString;
713
- number: z.ZodNumber;
714
- title: z.ZodString;
715
- body: z.ZodOptional<z.ZodString>;
716
- state: z.ZodEnum<{
717
- open: "open";
718
- closed: "closed";
719
- }>;
720
- merged: z.ZodBoolean;
721
- head: z.ZodObject<{
722
- ref: z.ZodString;
723
- sha: z.ZodString;
724
- }, z.core.$strip>;
725
- base: z.ZodObject<{
726
- ref: z.ZodString;
727
- sha: z.ZodString;
728
- }, z.core.$strip>;
729
- user: z.ZodObject<{
730
- login: z.ZodString;
731
- email: z.ZodOptional<z.ZodString>;
732
- }, z.core.$strip>;
733
- author: z.ZodOptional<z.ZodObject<{
734
- login: z.ZodString;
735
- email: z.ZodOptional<z.ZodString>;
736
- }, z.core.$strip>>;
737
- url: z.ZodOptional<z.ZodString>;
738
- }, z.core.$strip>;
739
- branch: z.ZodOptional<z.ZodString>;
740
- commits: z.ZodArray<z.ZodObject<{
741
- sha: z.ZodString;
742
- message: z.ZodOptional<z.ZodString>;
743
- name: z.ZodString;
744
- fileDiffs: z.ZodArray<z.ZodObject<{
745
- filename: z.ZodString;
746
- diff: z.ZodString;
747
- }, z.core.$strip>>;
748
- }, z.core.$strip>>;
749
- eventType: z.ZodLiteral<"pull_request.opened">;
750
- }, z.core.$strip>, z.ZodObject<{
751
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
752
- username: z.ZodString;
753
- installationId: z.ZodNumber;
754
- repositoryName: z.ZodString;
755
- repository: z.ZodObject<{
756
- id: z.ZodNumber;
757
- name: z.ZodString;
758
- owner: z.ZodString;
759
- defaultBranch: z.ZodString;
760
- }, z.core.$strip>;
761
- sender: z.ZodObject<{
762
- login: z.ZodString;
763
- email: z.ZodOptional<z.ZodString>;
764
- }, z.core.$strip>;
765
- pullRequest: z.ZodObject<{
766
- id: z.ZodString;
767
- number: z.ZodNumber;
768
- title: z.ZodString;
769
- body: z.ZodOptional<z.ZodString>;
770
- state: z.ZodEnum<{
771
- open: "open";
772
- closed: "closed";
773
- }>;
774
- merged: z.ZodBoolean;
775
- head: z.ZodObject<{
776
- ref: z.ZodString;
777
- sha: z.ZodString;
778
- }, z.core.$strip>;
779
- base: z.ZodObject<{
780
- ref: z.ZodString;
781
- sha: z.ZodString;
782
- }, z.core.$strip>;
783
- user: z.ZodObject<{
784
- login: z.ZodString;
785
- email: z.ZodOptional<z.ZodString>;
786
- }, z.core.$strip>;
787
- author: z.ZodOptional<z.ZodObject<{
788
- login: z.ZodString;
789
- email: z.ZodOptional<z.ZodString>;
790
- }, z.core.$strip>>;
791
- url: z.ZodOptional<z.ZodString>;
792
- }, z.core.$strip>;
793
- branch: z.ZodOptional<z.ZodString>;
794
- commits: z.ZodArray<z.ZodObject<{
795
- sha: z.ZodString;
796
- message: z.ZodOptional<z.ZodString>;
797
- name: z.ZodString;
798
- fileDiffs: z.ZodArray<z.ZodObject<{
799
- filename: z.ZodString;
800
- diff: z.ZodString;
801
- }, z.core.$strip>>;
802
- }, z.core.$strip>>;
803
- eventType: z.ZodLiteral<"pull_request.synchronize">;
804
- }, z.core.$strip>, z.ZodObject<{
805
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
806
- username: z.ZodString;
807
- installationId: z.ZodNumber;
808
- repositoryName: z.ZodString;
809
- repository: z.ZodObject<{
810
- id: z.ZodNumber;
811
- name: z.ZodString;
812
- owner: z.ZodString;
813
- defaultBranch: z.ZodString;
814
- }, z.core.$strip>;
815
- sender: z.ZodObject<{
816
- login: z.ZodString;
817
- email: z.ZodOptional<z.ZodString>;
818
- }, z.core.$strip>;
819
- pullRequest: z.ZodObject<{
820
- id: z.ZodString;
821
- number: z.ZodNumber;
822
- title: z.ZodString;
823
- body: z.ZodOptional<z.ZodString>;
824
- state: z.ZodEnum<{
825
- open: "open";
826
- closed: "closed";
827
- }>;
828
- merged: z.ZodBoolean;
829
- head: z.ZodObject<{
830
- ref: z.ZodString;
831
- sha: z.ZodString;
832
- }, z.core.$strip>;
833
- base: z.ZodObject<{
834
- ref: z.ZodString;
835
- sha: z.ZodString;
836
- }, z.core.$strip>;
837
- user: z.ZodObject<{
838
- login: z.ZodString;
839
- email: z.ZodOptional<z.ZodString>;
840
- }, z.core.$strip>;
841
- author: z.ZodOptional<z.ZodObject<{
842
- login: z.ZodString;
843
- email: z.ZodOptional<z.ZodString>;
844
- }, z.core.$strip>>;
845
- url: z.ZodOptional<z.ZodString>;
846
- }, z.core.$strip>;
847
- branch: z.ZodOptional<z.ZodString>;
848
- commits: z.ZodArray<z.ZodObject<{
849
- sha: z.ZodString;
850
- message: z.ZodOptional<z.ZodString>;
851
- name: z.ZodString;
852
- fileDiffs: z.ZodArray<z.ZodObject<{
853
- filename: z.ZodString;
854
- diff: z.ZodString;
855
- }, z.core.$strip>>;
856
- }, z.core.$strip>>;
857
- eventType: z.ZodLiteral<"pull_request.closed">;
858
- }, z.core.$strip>, z.ZodObject<{
859
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
860
- username: z.ZodString;
861
- installationId: z.ZodNumber;
862
- repositoryName: z.ZodString;
863
- repository: z.ZodObject<{
864
- id: z.ZodNumber;
865
- name: z.ZodString;
866
- owner: z.ZodString;
867
- defaultBranch: z.ZodString;
868
- }, z.core.$strip>;
869
- sender: z.ZodObject<{
870
- login: z.ZodString;
871
- email: z.ZodOptional<z.ZodString>;
872
- }, z.core.$strip>;
873
- pullRequest: z.ZodObject<{
874
- id: z.ZodString;
875
- number: z.ZodNumber;
876
- title: z.ZodString;
877
- body: z.ZodOptional<z.ZodString>;
878
- state: z.ZodEnum<{
879
- open: "open";
880
- closed: "closed";
881
- }>;
882
- merged: z.ZodBoolean;
883
- head: z.ZodObject<{
884
- ref: z.ZodString;
885
- sha: z.ZodString;
886
- }, z.core.$strip>;
887
- base: z.ZodObject<{
888
- ref: z.ZodString;
889
- sha: z.ZodString;
890
- }, z.core.$strip>;
891
- user: z.ZodObject<{
892
- login: z.ZodString;
893
- email: z.ZodOptional<z.ZodString>;
894
- }, z.core.$strip>;
895
- author: z.ZodOptional<z.ZodObject<{
896
- login: z.ZodString;
897
- email: z.ZodOptional<z.ZodString>;
898
- }, z.core.$strip>>;
899
- url: z.ZodOptional<z.ZodString>;
900
- }, z.core.$strip>;
901
- branch: z.ZodOptional<z.ZodString>;
902
- commits: z.ZodArray<z.ZodObject<{
903
- sha: z.ZodString;
904
- message: z.ZodOptional<z.ZodString>;
905
- name: z.ZodString;
906
- fileDiffs: z.ZodArray<z.ZodObject<{
907
- filename: z.ZodString;
908
- diff: z.ZodString;
909
- }, z.core.$strip>>;
910
- }, z.core.$strip>>;
911
- eventType: z.ZodLiteral<"pull_request.merged">;
912
- }, z.core.$strip>], "eventType">;
913
- export type GithubTrigger = z.infer<typeof GithubTriggerSchema>;
914
- export declare const GmailParsedAttachmentSchema: z.ZodObject<{
915
- attachmentId: z.ZodString;
916
- filename: z.ZodString;
917
- mimeType: z.ZodString;
918
- contentId: z.ZodOptional<z.ZodString>;
919
- isInline: z.ZodBoolean;
920
- }, z.core.$strip>;
921
- export type GmailParsedAttachment = z.infer<typeof GmailParsedAttachmentSchema>;
922
- declare const gmailMessagePayloadSchema: z.ZodObject<{
923
- id: z.ZodString;
924
- threadId: z.ZodString;
925
- subject: z.ZodString;
926
- from: z.ZodString;
927
- to: z.ZodString;
928
- date: z.ZodString;
929
- internalDate: z.ZodString;
930
- messageId: z.ZodString;
931
- body: z.ZodString;
932
- snippet: z.ZodString;
933
- labelIds: z.ZodArray<z.ZodString>;
934
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
935
- attachmentId: z.ZodString;
936
- filename: z.ZodString;
937
- mimeType: z.ZodString;
938
- contentId: z.ZodOptional<z.ZodString>;
939
- isInline: z.ZodBoolean;
940
- }, z.core.$strip>>>;
941
- }, z.core.$strip>;
942
- export type GmailMessagePayload = z.infer<typeof gmailMessagePayloadSchema>;
943
- export declare const LinearWebhookActionSchema: z.ZodEnum<{
944
- create: "create";
945
- update: "update";
946
- remove: "remove";
947
- }>;
948
- export declare const LinearWebhookTypeSchema: z.ZodUnion<readonly [z.ZodLiteral<"Issue">, z.ZodLiteral<"Comment">, z.ZodLiteral<"Project">, z.ZodString]>;
949
- export declare const LinearWebhookActorSchema: z.ZodObject<{
950
- id: z.ZodString;
951
- name: z.ZodString;
952
- email: z.ZodString;
953
- url: z.ZodString;
954
- type: z.ZodString;
955
- }, z.core.$strip>;
956
- export declare const LinearWebhookStateSchema: z.ZodObject<{
957
- id: z.ZodString;
958
- color: z.ZodString;
959
- name: z.ZodString;
960
- type: z.ZodString;
961
- }, z.core.$strip>;
962
- export declare const LinearWebhookTeamSchema: z.ZodObject<{
963
- id: z.ZodString;
964
- key: z.ZodString;
965
- name: z.ZodString;
966
- }, z.core.$strip>;
967
- export declare const LinearWebhookAssigneeSchema: z.ZodObject<{
968
- id: z.ZodString;
969
- name: z.ZodString;
970
- }, z.core.$strip>;
971
- export declare const LinearWebhookDataSchema: z.ZodObject<{
972
- id: z.ZodString;
973
- createdAt: z.ZodString;
974
- updatedAt: z.ZodString;
975
- number: z.ZodNumber;
976
- title: z.ZodString;
977
- priority: z.ZodNumber;
978
- sortOrder: z.ZodNumber;
979
- prioritySortOrder: z.ZodNumber;
980
- slaType: z.ZodString;
981
- addedToTeamAt: z.ZodString;
982
- trashed: z.ZodBoolean;
983
- labelIds: z.ZodArray<z.ZodString>;
984
- teamId: z.ZodString;
985
- previousIdentifiers: z.ZodArray<z.ZodString>;
986
- stateId: z.ZodString;
987
- reactionData: z.ZodArray<z.ZodAny>;
988
- priorityLabel: z.ZodString;
989
- botActor: z.ZodOptional<z.ZodString>;
990
- identifier: z.ZodString;
991
- url: z.ZodString;
992
- subscriberIds: z.ZodArray<z.ZodString>;
993
- state: z.ZodObject<{
994
- id: z.ZodString;
995
- color: z.ZodString;
996
- name: z.ZodString;
997
- type: z.ZodString;
998
- }, z.core.$strip>;
999
- team: z.ZodObject<{
1000
- id: z.ZodString;
1001
- key: z.ZodString;
1002
- name: z.ZodString;
1003
- }, z.core.$strip>;
1004
- labels: z.ZodArray<z.ZodAny>;
1005
- description: z.ZodOptional<z.ZodString>;
1006
- descriptionData: z.ZodOptional<z.ZodString>;
1007
- assignee: z.ZodOptional<z.ZodObject<{
1008
- id: z.ZodString;
1009
- name: z.ZodString;
1010
- }, z.core.$strip>>;
1011
- }, z.core.$strip>;
1012
- export declare const LinearWebhookCommentDataSchema: z.ZodObject<{
1013
- id: z.ZodString;
1014
- body: z.ZodOptional<z.ZodString>;
1015
- issueId: z.ZodOptional<z.ZodString>;
1016
- }, z.core.$loose>;
1017
- export declare const linearWebhookPayloadSchema: z.ZodObject<{
1018
- action: z.ZodEnum<{
1019
- create: "create";
1020
- update: "update";
1021
- remove: "remove";
1022
- }>;
1023
- actor: z.ZodObject<{
1024
- id: z.ZodString;
1025
- name: z.ZodString;
1026
- email: z.ZodString;
1027
- url: z.ZodString;
1028
- type: z.ZodString;
1029
- }, z.core.$strip>;
1030
- createdAt: z.ZodString;
1031
- data: z.ZodObject<{
1032
- id: z.ZodString;
1033
- createdAt: z.ZodString;
1034
- updatedAt: z.ZodString;
1035
- number: z.ZodNumber;
1036
- title: z.ZodString;
1037
- priority: z.ZodNumber;
1038
- sortOrder: z.ZodNumber;
1039
- prioritySortOrder: z.ZodNumber;
1040
- slaType: z.ZodString;
1041
- addedToTeamAt: z.ZodString;
1042
- trashed: z.ZodBoolean;
1043
- labelIds: z.ZodArray<z.ZodString>;
1044
- teamId: z.ZodString;
1045
- previousIdentifiers: z.ZodArray<z.ZodString>;
1046
- stateId: z.ZodString;
1047
- reactionData: z.ZodArray<z.ZodAny>;
1048
- priorityLabel: z.ZodString;
1049
- botActor: z.ZodOptional<z.ZodString>;
1050
- identifier: z.ZodString;
1051
- url: z.ZodString;
1052
- subscriberIds: z.ZodArray<z.ZodString>;
1053
- state: z.ZodObject<{
1054
- id: z.ZodString;
1055
- color: z.ZodString;
1056
- name: z.ZodString;
1057
- type: z.ZodString;
1058
- }, z.core.$strip>;
1059
- team: z.ZodObject<{
1060
- id: z.ZodString;
1061
- key: z.ZodString;
1062
- name: z.ZodString;
1063
- }, z.core.$strip>;
1064
- labels: z.ZodArray<z.ZodAny>;
1065
- description: z.ZodOptional<z.ZodString>;
1066
- descriptionData: z.ZodOptional<z.ZodString>;
1067
- assignee: z.ZodOptional<z.ZodObject<{
1068
- id: z.ZodString;
1069
- name: z.ZodString;
1070
- }, z.core.$strip>>;
1071
- }, z.core.$strip>;
1072
- type: z.ZodUnion<readonly [z.ZodLiteral<"Issue">, z.ZodLiteral<"Comment">, z.ZodLiteral<"Project">, z.ZodString]>;
1073
- url: z.ZodOptional<z.ZodString>;
1074
- organizationId: z.ZodString;
1075
- webhookTimestamp: z.ZodNumber;
1076
- webhookId: z.ZodString;
1077
- }, z.core.$strip>;
1078
- export type LinearWebhookPayload = z.infer<typeof linearWebhookPayloadSchema>;
1079
- export declare const WorkOSWebhookDataSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
1080
- export declare const workOSWebhookPayloadSchema: z.ZodObject<{
1081
- id: z.ZodString;
1082
- event: z.ZodString;
1083
- data: z.ZodRecord<z.ZodString, z.ZodAny>;
1084
- created_at: z.ZodString;
1085
- }, z.core.$strip>;
1086
- export type WorkOSWebhookPayload = z.infer<typeof workOSWebhookPayloadSchema>;
1087
- export declare const webhookTriggerTypeSchema: z.ZodLiteral<"webhook">;
1088
- export type WebhookTriggerType = z.infer<typeof webhookTriggerTypeSchema>;
1089
- export declare const cronTriggerTypeSchema: z.ZodLiteral<"cron">;
1090
- export type CronTriggerType = z.infer<typeof cronTriggerTypeSchema>;
1091
- export declare const manualSampleTriggerTypeSchema: z.ZodLiteral<"manual_sample">;
1092
- export type ManualSampleTriggerType = z.infer<typeof manualSampleTriggerTypeSchema>;
1093
- export declare const TriggerTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
1094
- readonly MESSAGE: "message";
1095
- readonly APP_MENTION: "app_mention";
1096
- readonly REACTION_ADDED: "reaction_added";
1097
- }>, z.ZodEnum<{
1098
- readonly PUSH: "push";
1099
- readonly PR_OPENED: "pull_request.opened";
1100
- readonly PR_MERGED: "pull_request.merged";
1101
- readonly PR_CLOSED: "pull_request.closed";
1102
- readonly PR_SYNCHRONIZE: "pull_request.synchronize";
1103
- }>, z.ZodEnum<{
1104
- readonly ISSUE_CREATED: "issue.created";
1105
- readonly ISSUE_UPDATED: "issue.updated";
1106
- readonly COMMENT_CREATED: "comment.created";
1107
- }>, z.ZodEnum<{
1108
- readonly EMAIL_RECEIVED: "email.received";
1109
- }>, z.ZodEnum<{
1110
- readonly USER_CREATED: "user.created";
1111
- readonly USER_UPDATED: "user.updated";
1112
- readonly USER_DELETED: "user.deleted";
1113
- readonly ORGANIZATION_CREATED: "organization.created";
1114
- readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
1115
- readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
1116
- readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
1117
- readonly INVITATION_CREATED: "invitation.created";
1118
- readonly INVITATION_ACCEPTED: "invitation.accepted";
1119
- readonly INVITATION_RESENT: "invitation.resent";
1120
- readonly INVITATION_REVOKED: "invitation.revoked";
1121
- }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"manual_sample">]>;
1122
- export type TriggerType = z.infer<typeof TriggerTypeSchema>;
1123
- export declare const baseTriggerSchema: z.ZodObject<{
1124
- integrationType: z.ZodEnum<typeof IntegrationType>;
1125
- eventType: z.ZodUnion<readonly [z.ZodEnum<{
1126
- readonly MESSAGE: "message";
1127
- readonly APP_MENTION: "app_mention";
1128
- readonly REACTION_ADDED: "reaction_added";
1129
- }>, z.ZodEnum<{
1130
- readonly PUSH: "push";
1131
- readonly PR_OPENED: "pull_request.opened";
1132
- readonly PR_MERGED: "pull_request.merged";
1133
- readonly PR_CLOSED: "pull_request.closed";
1134
- readonly PR_SYNCHRONIZE: "pull_request.synchronize";
1135
- }>, z.ZodEnum<{
1136
- readonly ISSUE_CREATED: "issue.created";
1137
- readonly ISSUE_UPDATED: "issue.updated";
1138
- readonly COMMENT_CREATED: "comment.created";
1139
- }>, z.ZodEnum<{
1140
- readonly EMAIL_RECEIVED: "email.received";
1141
- }>, z.ZodEnum<{
1142
- readonly USER_CREATED: "user.created";
1143
- readonly USER_UPDATED: "user.updated";
1144
- readonly USER_DELETED: "user.deleted";
1145
- readonly ORGANIZATION_CREATED: "organization.created";
1146
- readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
1147
- readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
1148
- readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
1149
- readonly INVITATION_CREATED: "invitation.created";
1150
- readonly INVITATION_ACCEPTED: "invitation.accepted";
1151
- readonly INVITATION_RESENT: "invitation.resent";
1152
- readonly INVITATION_REVOKED: "invitation.revoked";
1153
- }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"manual_sample">]>;
1154
- }, z.core.$strip>;
1155
- export type BaseTrigger = z.infer<typeof baseTriggerSchema>;
1156
- export declare const gmailTriggerSchema: z.ZodObject<{
1157
- integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
1158
- eventType: z.ZodEnum<{
1159
- readonly EMAIL_RECEIVED: "email.received";
1160
- }>;
1161
- id: z.ZodString;
1162
- threadId: z.ZodString;
1163
- subject: z.ZodString;
1164
- from: z.ZodString;
1165
- to: z.ZodString;
1166
- date: z.ZodString;
1167
- internalDate: z.ZodString;
1168
- messageId: z.ZodString;
1169
- body: z.ZodString;
1170
- snippet: z.ZodString;
1171
- labelIds: z.ZodArray<z.ZodString>;
1172
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1173
- attachmentId: z.ZodString;
1174
- filename: z.ZodString;
1175
- mimeType: z.ZodString;
1176
- contentId: z.ZodOptional<z.ZodString>;
1177
- isInline: z.ZodBoolean;
1178
- }, z.core.$strip>>>;
1179
- }, z.core.$strip>;
1180
- export type GmailTrigger = z.infer<typeof gmailTriggerSchema>;
1181
- export declare const linearIssueCreatedTriggerSchema: z.ZodObject<{
1182
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
1183
- actor: z.ZodObject<{
1184
- id: z.ZodString;
1185
- name: z.ZodString;
1186
- email: z.ZodString;
1187
- url: z.ZodString;
1188
- type: z.ZodString;
1189
- }, z.core.$strip>;
1190
- createdAt: z.ZodString;
1191
- url: z.ZodOptional<z.ZodString>;
1192
- organizationId: z.ZodString;
1193
- webhookTimestamp: z.ZodNumber;
1194
- webhookId: z.ZodString;
1195
- eventType: z.ZodLiteral<"issue.created">;
1196
- action: z.ZodLiteral<"create">;
1197
- type: z.ZodLiteral<"Issue">;
1198
- data: z.ZodObject<{
1199
- id: z.ZodString;
1200
- createdAt: z.ZodString;
1201
- updatedAt: z.ZodString;
1202
- number: z.ZodNumber;
1203
- title: z.ZodString;
1204
- priority: z.ZodNumber;
1205
- sortOrder: z.ZodNumber;
1206
- prioritySortOrder: z.ZodNumber;
1207
- slaType: z.ZodString;
1208
- addedToTeamAt: z.ZodString;
1209
- trashed: z.ZodBoolean;
1210
- labelIds: z.ZodArray<z.ZodString>;
1211
- teamId: z.ZodString;
1212
- previousIdentifiers: z.ZodArray<z.ZodString>;
1213
- stateId: z.ZodString;
1214
- reactionData: z.ZodArray<z.ZodAny>;
1215
- priorityLabel: z.ZodString;
1216
- botActor: z.ZodOptional<z.ZodString>;
1217
- identifier: z.ZodString;
1218
- url: z.ZodString;
1219
- subscriberIds: z.ZodArray<z.ZodString>;
1220
- state: z.ZodObject<{
1221
- id: z.ZodString;
1222
- color: z.ZodString;
1223
- name: z.ZodString;
1224
- type: z.ZodString;
1225
- }, z.core.$strip>;
1226
- team: z.ZodObject<{
1227
- id: z.ZodString;
1228
- key: z.ZodString;
1229
- name: z.ZodString;
1230
- }, z.core.$strip>;
1231
- labels: z.ZodArray<z.ZodAny>;
1232
- description: z.ZodOptional<z.ZodString>;
1233
- descriptionData: z.ZodOptional<z.ZodString>;
1234
- assignee: z.ZodOptional<z.ZodObject<{
1235
- id: z.ZodString;
1236
- name: z.ZodString;
1237
- }, z.core.$strip>>;
1238
- }, z.core.$strip>;
1239
- }, z.core.$strip>;
1240
- export type LinearIssueCreatedTrigger = z.infer<typeof linearIssueCreatedTriggerSchema>;
1241
- export declare const linearIssueUpdatedTriggerSchema: z.ZodObject<{
1242
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
1243
- actor: z.ZodObject<{
1244
- id: z.ZodString;
1245
- name: z.ZodString;
1246
- email: z.ZodString;
1247
- url: z.ZodString;
1248
- type: z.ZodString;
1249
- }, z.core.$strip>;
1250
- createdAt: z.ZodString;
1251
- url: z.ZodOptional<z.ZodString>;
1252
- organizationId: z.ZodString;
1253
- webhookTimestamp: z.ZodNumber;
1254
- webhookId: z.ZodString;
1255
- eventType: z.ZodLiteral<"issue.updated">;
1256
- action: z.ZodLiteral<"update">;
1257
- type: z.ZodLiteral<"Issue">;
1258
- data: z.ZodObject<{
1259
- id: z.ZodString;
1260
- createdAt: z.ZodString;
1261
- updatedAt: z.ZodString;
1262
- number: z.ZodNumber;
1263
- title: z.ZodString;
1264
- priority: z.ZodNumber;
1265
- sortOrder: z.ZodNumber;
1266
- prioritySortOrder: z.ZodNumber;
1267
- slaType: z.ZodString;
1268
- addedToTeamAt: z.ZodString;
1269
- trashed: z.ZodBoolean;
1270
- labelIds: z.ZodArray<z.ZodString>;
1271
- teamId: z.ZodString;
1272
- previousIdentifiers: z.ZodArray<z.ZodString>;
1273
- stateId: z.ZodString;
1274
- reactionData: z.ZodArray<z.ZodAny>;
1275
- priorityLabel: z.ZodString;
1276
- botActor: z.ZodOptional<z.ZodString>;
1277
- identifier: z.ZodString;
1278
- url: z.ZodString;
1279
- subscriberIds: z.ZodArray<z.ZodString>;
1280
- state: z.ZodObject<{
1281
- id: z.ZodString;
1282
- color: z.ZodString;
1283
- name: z.ZodString;
1284
- type: z.ZodString;
1285
- }, z.core.$strip>;
1286
- team: z.ZodObject<{
1287
- id: z.ZodString;
1288
- key: z.ZodString;
1289
- name: z.ZodString;
1290
- }, z.core.$strip>;
1291
- labels: z.ZodArray<z.ZodAny>;
1292
- description: z.ZodOptional<z.ZodString>;
1293
- descriptionData: z.ZodOptional<z.ZodString>;
1294
- assignee: z.ZodOptional<z.ZodObject<{
1295
- id: z.ZodString;
1296
- name: z.ZodString;
1297
- }, z.core.$strip>>;
1298
- }, z.core.$strip>;
1299
- }, z.core.$strip>;
1300
- export type LinearIssueUpdatedTrigger = z.infer<typeof linearIssueUpdatedTriggerSchema>;
1301
- export declare const linearCommentCreatedTriggerSchema: z.ZodObject<{
1302
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
1303
- actor: z.ZodObject<{
1304
- id: z.ZodString;
1305
- name: z.ZodString;
1306
- email: z.ZodString;
1307
- url: z.ZodString;
1308
- type: z.ZodString;
1309
- }, z.core.$strip>;
1310
- createdAt: z.ZodString;
1311
- url: z.ZodOptional<z.ZodString>;
1312
- organizationId: z.ZodString;
1313
- webhookTimestamp: z.ZodNumber;
1314
- webhookId: z.ZodString;
1315
- eventType: z.ZodLiteral<"comment.created">;
1316
- action: z.ZodLiteral<"create">;
1317
- type: z.ZodLiteral<"Comment">;
1318
- data: z.ZodObject<{
1319
- id: z.ZodString;
1320
- body: z.ZodOptional<z.ZodString>;
1321
- issueId: z.ZodOptional<z.ZodString>;
1322
- }, z.core.$loose>;
1323
- }, z.core.$strip>;
1324
- export type LinearCommentCreatedTrigger = z.infer<typeof linearCommentCreatedTriggerSchema>;
1325
- export declare const linearTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1326
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
1327
- actor: z.ZodObject<{
1328
- id: z.ZodString;
1329
- name: z.ZodString;
1330
- email: z.ZodString;
1331
- url: z.ZodString;
1332
- type: z.ZodString;
1333
- }, z.core.$strip>;
1334
- createdAt: z.ZodString;
1335
- url: z.ZodOptional<z.ZodString>;
1336
- organizationId: z.ZodString;
1337
- webhookTimestamp: z.ZodNumber;
1338
- webhookId: z.ZodString;
1339
- eventType: z.ZodLiteral<"issue.created">;
1340
- action: z.ZodLiteral<"create">;
1341
- type: z.ZodLiteral<"Issue">;
1342
- data: z.ZodObject<{
1343
- id: z.ZodString;
1344
- createdAt: z.ZodString;
1345
- updatedAt: z.ZodString;
1346
- number: z.ZodNumber;
1347
- title: z.ZodString;
1348
- priority: z.ZodNumber;
1349
- sortOrder: z.ZodNumber;
1350
- prioritySortOrder: z.ZodNumber;
1351
- slaType: z.ZodString;
1352
- addedToTeamAt: z.ZodString;
1353
- trashed: z.ZodBoolean;
1354
- labelIds: z.ZodArray<z.ZodString>;
1355
- teamId: z.ZodString;
1356
- previousIdentifiers: z.ZodArray<z.ZodString>;
1357
- stateId: z.ZodString;
1358
- reactionData: z.ZodArray<z.ZodAny>;
1359
- priorityLabel: z.ZodString;
1360
- botActor: z.ZodOptional<z.ZodString>;
1361
- identifier: z.ZodString;
1362
- url: z.ZodString;
1363
- subscriberIds: z.ZodArray<z.ZodString>;
1364
- state: z.ZodObject<{
1365
- id: z.ZodString;
1366
- color: z.ZodString;
1367
- name: z.ZodString;
1368
- type: z.ZodString;
1369
- }, z.core.$strip>;
1370
- team: z.ZodObject<{
1371
- id: z.ZodString;
1372
- key: z.ZodString;
1373
- name: z.ZodString;
1374
- }, z.core.$strip>;
1375
- labels: z.ZodArray<z.ZodAny>;
1376
- description: z.ZodOptional<z.ZodString>;
1377
- descriptionData: z.ZodOptional<z.ZodString>;
1378
- assignee: z.ZodOptional<z.ZodObject<{
1379
- id: z.ZodString;
1380
- name: z.ZodString;
1381
- }, z.core.$strip>>;
1382
- }, z.core.$strip>;
1383
- }, z.core.$strip>, z.ZodObject<{
1384
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
1385
- actor: z.ZodObject<{
1386
- id: z.ZodString;
1387
- name: z.ZodString;
1388
- email: z.ZodString;
1389
- url: z.ZodString;
1390
- type: z.ZodString;
1391
- }, z.core.$strip>;
1392
- createdAt: z.ZodString;
1393
- url: z.ZodOptional<z.ZodString>;
1394
- organizationId: z.ZodString;
1395
- webhookTimestamp: z.ZodNumber;
1396
- webhookId: z.ZodString;
1397
- eventType: z.ZodLiteral<"issue.updated">;
1398
- action: z.ZodLiteral<"update">;
1399
- type: z.ZodLiteral<"Issue">;
1400
- data: z.ZodObject<{
1401
- id: z.ZodString;
1402
- createdAt: z.ZodString;
1403
- updatedAt: z.ZodString;
1404
- number: z.ZodNumber;
1405
- title: z.ZodString;
1406
- priority: z.ZodNumber;
1407
- sortOrder: z.ZodNumber;
1408
- prioritySortOrder: z.ZodNumber;
1409
- slaType: z.ZodString;
1410
- addedToTeamAt: z.ZodString;
1411
- trashed: z.ZodBoolean;
1412
- labelIds: z.ZodArray<z.ZodString>;
1413
- teamId: z.ZodString;
1414
- previousIdentifiers: z.ZodArray<z.ZodString>;
1415
- stateId: z.ZodString;
1416
- reactionData: z.ZodArray<z.ZodAny>;
1417
- priorityLabel: z.ZodString;
1418
- botActor: z.ZodOptional<z.ZodString>;
1419
- identifier: z.ZodString;
1420
- url: z.ZodString;
1421
- subscriberIds: z.ZodArray<z.ZodString>;
1422
- state: z.ZodObject<{
1423
- id: z.ZodString;
1424
- color: z.ZodString;
1425
- name: z.ZodString;
1426
- type: z.ZodString;
1427
- }, z.core.$strip>;
1428
- team: z.ZodObject<{
1429
- id: z.ZodString;
1430
- key: z.ZodString;
1431
- name: z.ZodString;
1432
- }, z.core.$strip>;
1433
- labels: z.ZodArray<z.ZodAny>;
1434
- description: z.ZodOptional<z.ZodString>;
1435
- descriptionData: z.ZodOptional<z.ZodString>;
1436
- assignee: z.ZodOptional<z.ZodObject<{
1437
- id: z.ZodString;
1438
- name: z.ZodString;
1439
- }, z.core.$strip>>;
1440
- }, z.core.$strip>;
1441
- }, z.core.$strip>, z.ZodObject<{
1442
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
1443
- actor: z.ZodObject<{
1444
- id: z.ZodString;
1445
- name: z.ZodString;
1446
- email: z.ZodString;
1447
- url: z.ZodString;
1448
- type: z.ZodString;
1449
- }, z.core.$strip>;
1450
- createdAt: z.ZodString;
1451
- url: z.ZodOptional<z.ZodString>;
1452
- organizationId: z.ZodString;
1453
- webhookTimestamp: z.ZodNumber;
1454
- webhookId: z.ZodString;
1455
- eventType: z.ZodLiteral<"comment.created">;
1456
- action: z.ZodLiteral<"create">;
1457
- type: z.ZodLiteral<"Comment">;
1458
- data: z.ZodObject<{
1459
- id: z.ZodString;
1460
- body: z.ZodOptional<z.ZodString>;
1461
- issueId: z.ZodOptional<z.ZodString>;
1462
- }, z.core.$loose>;
1463
- }, z.core.$strip>], "eventType">;
1464
- export type LinearTrigger = z.infer<typeof linearTriggerSchema>;
1465
- export declare const workOSTriggerUserSchema: z.ZodObject<{
1466
- id: z.ZodString;
1467
- email: z.ZodString;
1468
- firstName: z.ZodOptional<z.ZodString>;
1469
- lastName: z.ZodOptional<z.ZodString>;
1470
- emailVerified: z.ZodBoolean;
1471
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1472
- }, z.core.$strip>;
1473
- export type WorkOSTriggerUser = z.infer<typeof workOSTriggerUserSchema>;
1474
- export declare const workOSTriggerMembershipSchema: z.ZodObject<{
1475
- id: z.ZodString;
1476
- userId: z.ZodString;
1477
- organizationId: z.ZodString;
1478
- role: z.ZodObject<{
1479
- slug: z.ZodString;
1480
- }, z.core.$strip>;
1481
- status: z.ZodString;
1482
- }, z.core.$strip>;
1483
- export type WorkOSTriggerMembership = z.infer<typeof workOSTriggerMembershipSchema>;
1484
- export declare const workOSTriggerInvitationSchema: z.ZodObject<{
1485
- id: z.ZodString;
1486
- email: z.ZodString;
1487
- organizationId: z.ZodString;
1488
- inviterEmail: z.ZodOptional<z.ZodString>;
1489
- state: z.ZodString;
1490
- acceptedAt: z.ZodOptional<z.ZodString>;
1491
- }, z.core.$strip>;
1492
- export type WorkOSTriggerInvitation = z.infer<typeof workOSTriggerInvitationSchema>;
1493
- export declare const workOSTriggerOrganizationSchema: z.ZodObject<{
1494
- id: z.ZodString;
1495
- name: z.ZodString;
1496
- }, z.core.$strip>;
1497
- export type WorkOSTriggerOrganization = z.infer<typeof workOSTriggerOrganizationSchema>;
1498
- export declare const workOSUserCreatedTriggerSchema: z.ZodObject<{
1499
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1500
- eventId: z.ZodString;
1501
- createdAt: z.ZodString;
1502
- eventType: z.ZodLiteral<"user.created">;
1503
- user: z.ZodObject<{
1504
- id: z.ZodString;
1505
- email: z.ZodString;
1506
- firstName: z.ZodOptional<z.ZodString>;
1507
- lastName: z.ZodOptional<z.ZodString>;
1508
- emailVerified: z.ZodBoolean;
1509
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1510
- }, z.core.$strip>;
1511
- }, z.core.$strip>;
1512
- export type WorkOSUserCreatedTrigger = z.infer<typeof workOSUserCreatedTriggerSchema>;
1513
- export declare const workOSUserUpdatedTriggerSchema: z.ZodObject<{
1514
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1515
- eventId: z.ZodString;
1516
- createdAt: z.ZodString;
1517
- eventType: z.ZodLiteral<"user.updated">;
1518
- user: z.ZodObject<{
1519
- id: z.ZodString;
1520
- email: z.ZodString;
1521
- firstName: z.ZodOptional<z.ZodString>;
1522
- lastName: z.ZodOptional<z.ZodString>;
1523
- emailVerified: z.ZodBoolean;
1524
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1525
- }, z.core.$strip>;
1526
- }, z.core.$strip>;
1527
- export type WorkOSUserUpdatedTrigger = z.infer<typeof workOSUserUpdatedTriggerSchema>;
1528
- export declare const workOSUserDeletedTriggerSchema: z.ZodObject<{
1529
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1530
- eventId: z.ZodString;
1531
- createdAt: z.ZodString;
1532
- eventType: z.ZodLiteral<"user.deleted">;
1533
- user: z.ZodObject<{
1534
- id: z.ZodString;
1535
- email: z.ZodString;
1536
- firstName: z.ZodOptional<z.ZodString>;
1537
- lastName: z.ZodOptional<z.ZodString>;
1538
- emailVerified: z.ZodBoolean;
1539
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1540
- }, z.core.$strip>;
1541
- }, z.core.$strip>;
1542
- export type WorkOSUserDeletedTrigger = z.infer<typeof workOSUserDeletedTriggerSchema>;
1543
- export declare const workOSUserTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1544
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1545
- eventId: z.ZodString;
1546
- createdAt: z.ZodString;
1547
- eventType: z.ZodLiteral<"user.created">;
1548
- user: z.ZodObject<{
1549
- id: z.ZodString;
1550
- email: z.ZodString;
1551
- firstName: z.ZodOptional<z.ZodString>;
1552
- lastName: z.ZodOptional<z.ZodString>;
1553
- emailVerified: z.ZodBoolean;
1554
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1555
- }, z.core.$strip>;
1556
- }, z.core.$strip>, z.ZodObject<{
1557
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1558
- eventId: z.ZodString;
1559
- createdAt: z.ZodString;
1560
- eventType: z.ZodLiteral<"user.updated">;
1561
- user: z.ZodObject<{
1562
- id: z.ZodString;
1563
- email: z.ZodString;
1564
- firstName: z.ZodOptional<z.ZodString>;
1565
- lastName: z.ZodOptional<z.ZodString>;
1566
- emailVerified: z.ZodBoolean;
1567
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1568
- }, z.core.$strip>;
1569
- }, z.core.$strip>, z.ZodObject<{
1570
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1571
- eventId: z.ZodString;
1572
- createdAt: z.ZodString;
1573
- eventType: z.ZodLiteral<"user.deleted">;
1574
- user: z.ZodObject<{
1575
- id: z.ZodString;
1576
- email: z.ZodString;
1577
- firstName: z.ZodOptional<z.ZodString>;
1578
- lastName: z.ZodOptional<z.ZodString>;
1579
- emailVerified: z.ZodBoolean;
1580
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1581
- }, z.core.$strip>;
1582
- }, z.core.$strip>], "eventType">;
1583
- export type WorkOSUserTrigger = z.infer<typeof workOSUserTriggerSchema>;
1584
- export declare const workOSOrganizationMembershipCreatedTriggerSchema: z.ZodObject<{
1585
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1586
- eventId: z.ZodString;
1587
- createdAt: z.ZodString;
1588
- eventType: z.ZodLiteral<"organization_membership.created">;
1589
- membership: z.ZodObject<{
1590
- id: z.ZodString;
1591
- userId: z.ZodString;
1592
- organizationId: z.ZodString;
1593
- role: z.ZodObject<{
1594
- slug: z.ZodString;
1595
- }, z.core.$strip>;
1596
- status: z.ZodString;
1597
- }, z.core.$strip>;
1598
- }, z.core.$strip>;
1599
- export type WorkOSOrganizationMembershipCreatedTrigger = z.infer<typeof workOSOrganizationMembershipCreatedTriggerSchema>;
1600
- export declare const workOSOrganizationMembershipUpdatedTriggerSchema: z.ZodObject<{
1601
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1602
- eventId: z.ZodString;
1603
- createdAt: z.ZodString;
1604
- eventType: z.ZodLiteral<"organization_membership.updated">;
1605
- membership: z.ZodObject<{
1606
- id: z.ZodString;
1607
- userId: z.ZodString;
1608
- organizationId: z.ZodString;
1609
- role: z.ZodObject<{
1610
- slug: z.ZodString;
1611
- }, z.core.$strip>;
1612
- status: z.ZodString;
1613
- }, z.core.$strip>;
1614
- }, z.core.$strip>;
1615
- export type WorkOSOrganizationMembershipUpdatedTrigger = z.infer<typeof workOSOrganizationMembershipUpdatedTriggerSchema>;
1616
- export declare const workOSOrganizationMembershipDeletedTriggerSchema: z.ZodObject<{
1617
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1618
- eventId: z.ZodString;
1619
- createdAt: z.ZodString;
1620
- eventType: z.ZodLiteral<"organization_membership.deleted">;
1621
- membership: z.ZodObject<{
1622
- id: z.ZodString;
1623
- userId: z.ZodString;
1624
- organizationId: z.ZodString;
1625
- role: z.ZodObject<{
1626
- slug: z.ZodString;
1627
- }, z.core.$strip>;
1628
- status: z.ZodString;
1629
- }, z.core.$strip>;
1630
- }, z.core.$strip>;
1631
- export type WorkOSOrganizationMembershipDeletedTrigger = z.infer<typeof workOSOrganizationMembershipDeletedTriggerSchema>;
1632
- export declare const workOSMembershipTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1633
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1634
- eventId: z.ZodString;
1635
- createdAt: z.ZodString;
1636
- eventType: z.ZodLiteral<"organization_membership.created">;
1637
- membership: z.ZodObject<{
1638
- id: z.ZodString;
1639
- userId: z.ZodString;
1640
- organizationId: z.ZodString;
1641
- role: z.ZodObject<{
1642
- slug: z.ZodString;
1643
- }, z.core.$strip>;
1644
- status: z.ZodString;
1645
- }, z.core.$strip>;
1646
- }, z.core.$strip>, z.ZodObject<{
1647
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1648
- eventId: z.ZodString;
1649
- createdAt: z.ZodString;
1650
- eventType: z.ZodLiteral<"organization_membership.updated">;
1651
- membership: z.ZodObject<{
1652
- id: z.ZodString;
1653
- userId: z.ZodString;
1654
- organizationId: z.ZodString;
1655
- role: z.ZodObject<{
1656
- slug: z.ZodString;
1657
- }, z.core.$strip>;
1658
- status: z.ZodString;
1659
- }, z.core.$strip>;
1660
- }, z.core.$strip>, z.ZodObject<{
1661
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1662
- eventId: z.ZodString;
1663
- createdAt: z.ZodString;
1664
- eventType: z.ZodLiteral<"organization_membership.deleted">;
1665
- membership: z.ZodObject<{
1666
- id: z.ZodString;
1667
- userId: z.ZodString;
1668
- organizationId: z.ZodString;
1669
- role: z.ZodObject<{
1670
- slug: z.ZodString;
1671
- }, z.core.$strip>;
1672
- status: z.ZodString;
1673
- }, z.core.$strip>;
1674
- }, z.core.$strip>], "eventType">;
1675
- export type WorkOSMembershipTrigger = z.infer<typeof workOSMembershipTriggerSchema>;
1676
- export declare const workOSInvitationCreatedTriggerSchema: z.ZodObject<{
1677
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1678
- eventId: z.ZodString;
1679
- createdAt: z.ZodString;
1680
- eventType: z.ZodLiteral<"invitation.created">;
1681
- invitation: z.ZodObject<{
1682
- id: z.ZodString;
1683
- email: z.ZodString;
1684
- organizationId: z.ZodString;
1685
- inviterEmail: z.ZodOptional<z.ZodString>;
1686
- state: z.ZodString;
1687
- acceptedAt: z.ZodOptional<z.ZodString>;
1688
- }, z.core.$strip>;
1689
- user: z.ZodOptional<z.ZodObject<{
1690
- id: z.ZodString;
1691
- email: z.ZodString;
1692
- firstName: z.ZodOptional<z.ZodString>;
1693
- lastName: z.ZodOptional<z.ZodString>;
1694
- emailVerified: z.ZodBoolean;
1695
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1696
- }, z.core.$strip>>;
1697
- }, z.core.$strip>;
1698
- export type WorkOSInvitationCreatedTrigger = z.infer<typeof workOSInvitationCreatedTriggerSchema>;
1699
- export declare const workOSInvitationAcceptedTriggerSchema: z.ZodObject<{
1700
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1701
- eventId: z.ZodString;
1702
- createdAt: z.ZodString;
1703
- eventType: z.ZodLiteral<"invitation.accepted">;
1704
- invitation: z.ZodObject<{
1705
- id: z.ZodString;
1706
- email: z.ZodString;
1707
- organizationId: z.ZodString;
1708
- inviterEmail: z.ZodOptional<z.ZodString>;
1709
- state: z.ZodString;
1710
- acceptedAt: z.ZodOptional<z.ZodString>;
1711
- }, z.core.$strip>;
1712
- user: z.ZodOptional<z.ZodObject<{
1713
- id: z.ZodString;
1714
- email: z.ZodString;
1715
- firstName: z.ZodOptional<z.ZodString>;
1716
- lastName: z.ZodOptional<z.ZodString>;
1717
- emailVerified: z.ZodBoolean;
1718
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1719
- }, z.core.$strip>>;
1720
- }, z.core.$strip>;
1721
- export type WorkOSInvitationAcceptedTrigger = z.infer<typeof workOSInvitationAcceptedTriggerSchema>;
1722
- export declare const workOSInvitationResentTriggerSchema: z.ZodObject<{
1723
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1724
- eventId: z.ZodString;
1725
- createdAt: z.ZodString;
1726
- eventType: z.ZodLiteral<"invitation.resent">;
1727
- invitation: z.ZodObject<{
1728
- id: z.ZodString;
1729
- email: z.ZodString;
1730
- organizationId: z.ZodString;
1731
- inviterEmail: z.ZodOptional<z.ZodString>;
1732
- state: z.ZodString;
1733
- acceptedAt: z.ZodOptional<z.ZodString>;
1734
- }, z.core.$strip>;
1735
- user: z.ZodOptional<z.ZodObject<{
1736
- id: z.ZodString;
1737
- email: z.ZodString;
1738
- firstName: z.ZodOptional<z.ZodString>;
1739
- lastName: z.ZodOptional<z.ZodString>;
1740
- emailVerified: z.ZodBoolean;
1741
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1742
- }, z.core.$strip>>;
1743
- }, z.core.$strip>;
1744
- export type WorkOSInvitationResentTrigger = z.infer<typeof workOSInvitationResentTriggerSchema>;
1745
- export declare const workOSInvitationRevokedTriggerSchema: z.ZodObject<{
1746
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1747
- eventId: z.ZodString;
1748
- createdAt: z.ZodString;
1749
- eventType: z.ZodLiteral<"invitation.revoked">;
1750
- invitation: z.ZodObject<{
1751
- id: z.ZodString;
1752
- email: z.ZodString;
1753
- organizationId: z.ZodString;
1754
- inviterEmail: z.ZodOptional<z.ZodString>;
1755
- state: z.ZodString;
1756
- acceptedAt: z.ZodOptional<z.ZodString>;
1757
- }, z.core.$strip>;
1758
- user: z.ZodOptional<z.ZodObject<{
1759
- id: z.ZodString;
1760
- email: z.ZodString;
1761
- firstName: z.ZodOptional<z.ZodString>;
1762
- lastName: z.ZodOptional<z.ZodString>;
1763
- emailVerified: z.ZodBoolean;
1764
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1765
- }, z.core.$strip>>;
1766
- }, z.core.$strip>;
1767
- export type WorkOSInvitationRevokedTrigger = z.infer<typeof workOSInvitationRevokedTriggerSchema>;
1768
- export declare const workOSInvitationTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1769
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1770
- eventId: z.ZodString;
1771
- createdAt: z.ZodString;
1772
- eventType: z.ZodLiteral<"invitation.created">;
1773
- invitation: z.ZodObject<{
1774
- id: z.ZodString;
1775
- email: z.ZodString;
1776
- organizationId: z.ZodString;
1777
- inviterEmail: z.ZodOptional<z.ZodString>;
1778
- state: z.ZodString;
1779
- acceptedAt: z.ZodOptional<z.ZodString>;
1780
- }, z.core.$strip>;
1781
- user: z.ZodOptional<z.ZodObject<{
1782
- id: z.ZodString;
1783
- email: z.ZodString;
1784
- firstName: z.ZodOptional<z.ZodString>;
1785
- lastName: z.ZodOptional<z.ZodString>;
1786
- emailVerified: z.ZodBoolean;
1787
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1788
- }, z.core.$strip>>;
1789
- }, z.core.$strip>, z.ZodObject<{
1790
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1791
- eventId: z.ZodString;
1792
- createdAt: z.ZodString;
1793
- eventType: z.ZodLiteral<"invitation.accepted">;
1794
- invitation: z.ZodObject<{
1795
- id: z.ZodString;
1796
- email: z.ZodString;
1797
- organizationId: z.ZodString;
1798
- inviterEmail: z.ZodOptional<z.ZodString>;
1799
- state: z.ZodString;
1800
- acceptedAt: z.ZodOptional<z.ZodString>;
1801
- }, z.core.$strip>;
1802
- user: z.ZodOptional<z.ZodObject<{
1803
- id: z.ZodString;
1804
- email: z.ZodString;
1805
- firstName: z.ZodOptional<z.ZodString>;
1806
- lastName: z.ZodOptional<z.ZodString>;
1807
- emailVerified: z.ZodBoolean;
1808
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1809
- }, z.core.$strip>>;
1810
- }, z.core.$strip>, z.ZodObject<{
1811
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1812
- eventId: z.ZodString;
1813
- createdAt: z.ZodString;
1814
- eventType: z.ZodLiteral<"invitation.resent">;
1815
- invitation: z.ZodObject<{
1816
- id: z.ZodString;
1817
- email: z.ZodString;
1818
- organizationId: z.ZodString;
1819
- inviterEmail: z.ZodOptional<z.ZodString>;
1820
- state: z.ZodString;
1821
- acceptedAt: z.ZodOptional<z.ZodString>;
1822
- }, z.core.$strip>;
1823
- user: z.ZodOptional<z.ZodObject<{
1824
- id: z.ZodString;
1825
- email: z.ZodString;
1826
- firstName: z.ZodOptional<z.ZodString>;
1827
- lastName: z.ZodOptional<z.ZodString>;
1828
- emailVerified: z.ZodBoolean;
1829
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1830
- }, z.core.$strip>>;
1831
- }, z.core.$strip>, z.ZodObject<{
1832
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1833
- eventId: z.ZodString;
1834
- createdAt: z.ZodString;
1835
- eventType: z.ZodLiteral<"invitation.revoked">;
1836
- invitation: z.ZodObject<{
1837
- id: z.ZodString;
1838
- email: z.ZodString;
1839
- organizationId: z.ZodString;
1840
- inviterEmail: z.ZodOptional<z.ZodString>;
1841
- state: z.ZodString;
1842
- acceptedAt: z.ZodOptional<z.ZodString>;
1843
- }, z.core.$strip>;
1844
- user: z.ZodOptional<z.ZodObject<{
1845
- id: z.ZodString;
1846
- email: z.ZodString;
1847
- firstName: z.ZodOptional<z.ZodString>;
1848
- lastName: z.ZodOptional<z.ZodString>;
1849
- emailVerified: z.ZodBoolean;
1850
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1851
- }, z.core.$strip>>;
1852
- }, z.core.$strip>], "eventType">;
1853
- export type WorkOSInvitationTrigger = z.infer<typeof workOSInvitationTriggerSchema>;
1854
- export declare const workOSOrganizationTriggerSchema: z.ZodObject<{
1855
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1856
- eventId: z.ZodString;
1857
- createdAt: z.ZodString;
1858
- eventType: z.ZodLiteral<"organization.created">;
1859
- organization: z.ZodObject<{
1860
- id: z.ZodString;
1861
- name: z.ZodString;
1862
- }, z.core.$strip>;
1863
- }, z.core.$strip>;
1864
- export type WorkOSOrganizationTrigger = z.infer<typeof workOSOrganizationTriggerSchema>;
1865
- export declare const workOSTriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1866
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1867
- eventId: z.ZodString;
1868
- createdAt: z.ZodString;
1869
- eventType: z.ZodLiteral<"user.created">;
1870
- user: z.ZodObject<{
1871
- id: z.ZodString;
1872
- email: z.ZodString;
1873
- firstName: z.ZodOptional<z.ZodString>;
1874
- lastName: z.ZodOptional<z.ZodString>;
1875
- emailVerified: z.ZodBoolean;
1876
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1877
- }, z.core.$strip>;
1878
- }, z.core.$strip>, z.ZodObject<{
1879
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1880
- eventId: z.ZodString;
1881
- createdAt: z.ZodString;
1882
- eventType: z.ZodLiteral<"user.updated">;
1883
- user: z.ZodObject<{
1884
- id: z.ZodString;
1885
- email: z.ZodString;
1886
- firstName: z.ZodOptional<z.ZodString>;
1887
- lastName: z.ZodOptional<z.ZodString>;
1888
- emailVerified: z.ZodBoolean;
1889
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1890
- }, z.core.$strip>;
1891
- }, z.core.$strip>, z.ZodObject<{
1892
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1893
- eventId: z.ZodString;
1894
- createdAt: z.ZodString;
1895
- eventType: z.ZodLiteral<"user.deleted">;
1896
- user: z.ZodObject<{
1897
- id: z.ZodString;
1898
- email: z.ZodString;
1899
- firstName: z.ZodOptional<z.ZodString>;
1900
- lastName: z.ZodOptional<z.ZodString>;
1901
- emailVerified: z.ZodBoolean;
1902
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1903
- }, z.core.$strip>;
1904
- }, z.core.$strip>, z.ZodObject<{
1905
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1906
- eventId: z.ZodString;
1907
- createdAt: z.ZodString;
1908
- eventType: z.ZodLiteral<"organization_membership.created">;
1909
- membership: z.ZodObject<{
1910
- id: z.ZodString;
1911
- userId: z.ZodString;
1912
- organizationId: z.ZodString;
1913
- role: z.ZodObject<{
1914
- slug: z.ZodString;
1915
- }, z.core.$strip>;
1916
- status: z.ZodString;
1917
- }, z.core.$strip>;
1918
- }, z.core.$strip>, z.ZodObject<{
1919
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1920
- eventId: z.ZodString;
1921
- createdAt: z.ZodString;
1922
- eventType: z.ZodLiteral<"organization_membership.updated">;
1923
- membership: z.ZodObject<{
1924
- id: z.ZodString;
1925
- userId: z.ZodString;
1926
- organizationId: z.ZodString;
1927
- role: z.ZodObject<{
1928
- slug: z.ZodString;
1929
- }, z.core.$strip>;
1930
- status: z.ZodString;
1931
- }, z.core.$strip>;
1932
- }, z.core.$strip>, z.ZodObject<{
1933
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1934
- eventId: z.ZodString;
1935
- createdAt: z.ZodString;
1936
- eventType: z.ZodLiteral<"organization_membership.deleted">;
1937
- membership: z.ZodObject<{
1938
- id: z.ZodString;
1939
- userId: z.ZodString;
1940
- organizationId: z.ZodString;
1941
- role: z.ZodObject<{
1942
- slug: z.ZodString;
1943
- }, z.core.$strip>;
1944
- status: z.ZodString;
1945
- }, z.core.$strip>;
1946
- }, z.core.$strip>, z.ZodObject<{
1947
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1948
- eventId: z.ZodString;
1949
- createdAt: z.ZodString;
1950
- eventType: z.ZodLiteral<"invitation.created">;
1951
- invitation: z.ZodObject<{
1952
- id: z.ZodString;
1953
- email: z.ZodString;
1954
- organizationId: z.ZodString;
1955
- inviterEmail: z.ZodOptional<z.ZodString>;
1956
- state: z.ZodString;
1957
- acceptedAt: z.ZodOptional<z.ZodString>;
1958
- }, z.core.$strip>;
1959
- user: z.ZodOptional<z.ZodObject<{
1960
- id: z.ZodString;
1961
- email: z.ZodString;
1962
- firstName: z.ZodOptional<z.ZodString>;
1963
- lastName: z.ZodOptional<z.ZodString>;
1964
- emailVerified: z.ZodBoolean;
1965
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1966
- }, z.core.$strip>>;
1967
- }, z.core.$strip>, z.ZodObject<{
1968
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1969
- eventId: z.ZodString;
1970
- createdAt: z.ZodString;
1971
- eventType: z.ZodLiteral<"invitation.accepted">;
1972
- invitation: z.ZodObject<{
1973
- id: z.ZodString;
1974
- email: z.ZodString;
1975
- organizationId: z.ZodString;
1976
- inviterEmail: z.ZodOptional<z.ZodString>;
1977
- state: z.ZodString;
1978
- acceptedAt: z.ZodOptional<z.ZodString>;
1979
- }, z.core.$strip>;
1980
- user: z.ZodOptional<z.ZodObject<{
1981
- id: z.ZodString;
1982
- email: z.ZodString;
1983
- firstName: z.ZodOptional<z.ZodString>;
1984
- lastName: z.ZodOptional<z.ZodString>;
1985
- emailVerified: z.ZodBoolean;
1986
- profilePictureUrl: z.ZodOptional<z.ZodString>;
1987
- }, z.core.$strip>>;
1988
- }, z.core.$strip>, z.ZodObject<{
1989
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
1990
- eventId: z.ZodString;
1991
- createdAt: z.ZodString;
1992
- eventType: z.ZodLiteral<"invitation.resent">;
1993
- invitation: z.ZodObject<{
1994
- id: z.ZodString;
1995
- email: z.ZodString;
1996
- organizationId: z.ZodString;
1997
- inviterEmail: z.ZodOptional<z.ZodString>;
1998
- state: z.ZodString;
1999
- acceptedAt: z.ZodOptional<z.ZodString>;
2000
- }, z.core.$strip>;
2001
- user: z.ZodOptional<z.ZodObject<{
2002
- id: z.ZodString;
2003
- email: z.ZodString;
2004
- firstName: z.ZodOptional<z.ZodString>;
2005
- lastName: z.ZodOptional<z.ZodString>;
2006
- emailVerified: z.ZodBoolean;
2007
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2008
- }, z.core.$strip>>;
2009
- }, z.core.$strip>, z.ZodObject<{
2010
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2011
- eventId: z.ZodString;
2012
- createdAt: z.ZodString;
2013
- eventType: z.ZodLiteral<"invitation.revoked">;
2014
- invitation: z.ZodObject<{
2015
- id: z.ZodString;
2016
- email: z.ZodString;
2017
- organizationId: z.ZodString;
2018
- inviterEmail: z.ZodOptional<z.ZodString>;
2019
- state: z.ZodString;
2020
- acceptedAt: z.ZodOptional<z.ZodString>;
2021
- }, z.core.$strip>;
2022
- user: z.ZodOptional<z.ZodObject<{
2023
- id: z.ZodString;
2024
- email: z.ZodString;
2025
- firstName: z.ZodOptional<z.ZodString>;
2026
- lastName: z.ZodOptional<z.ZodString>;
2027
- emailVerified: z.ZodBoolean;
2028
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2029
- }, z.core.$strip>>;
2030
- }, z.core.$strip>, z.ZodObject<{
2031
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2032
- eventId: z.ZodString;
2033
- createdAt: z.ZodString;
2034
- eventType: z.ZodLiteral<"organization.created">;
2035
- organization: z.ZodObject<{
2036
- id: z.ZodString;
2037
- name: z.ZodString;
2038
- }, z.core.$strip>;
2039
- }, z.core.$strip>], "eventType">;
2040
- export type WorkOSTrigger = z.infer<typeof workOSTriggerSchema>;
2041
- export declare const webhookTriggerSchema: z.ZodObject<{
2042
- integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
2043
- eventType: z.ZodLiteral<"webhook">;
2044
- body: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2045
- headers: z.ZodRecord<z.ZodString, z.ZodString>;
2046
- method: z.ZodString;
2047
- }, z.core.$strip>;
2048
- export type WebhookTrigger = z.infer<typeof webhookTriggerSchema>;
2049
- export declare const cronTriggerSchema: z.ZodObject<{
2050
- integrationType: z.ZodLiteral<IntegrationType.CRON_JOB>;
2051
- eventType: z.ZodLiteral<"cron">;
2052
- inputId: z.ZodString;
2053
- isManualTrigger: z.ZodOptional<z.ZodBoolean>;
2054
- manualContext: z.ZodOptional<z.ZodString>;
2055
- }, z.core.$strip>;
2056
- export type CronTrigger = z.infer<typeof cronTriggerSchema>;
2057
- export declare const manualSampleTriggerSchema: z.ZodObject<{
2058
- integrationType: z.ZodEnum<typeof IntegrationType>;
2059
- eventType: z.ZodLiteral<"manual_sample">;
2060
- }, z.core.$strip>;
2061
- export type ManualSampleTrigger = z.infer<typeof manualSampleTriggerSchema>;
2062
- export declare const TriggerSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
2063
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
2064
- channelId: z.ZodString;
2065
- channelName: z.ZodNullable<z.ZodString>;
2066
- userId: z.ZodString;
2067
- userName: z.ZodNullable<z.ZodString>;
2068
- text: z.ZodString;
2069
- timestamp: z.ZodString;
2070
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2071
- threadTimestamp: z.ZodNullable<z.ZodString>;
2072
- teamId: z.ZodString;
2073
- permalink: z.ZodNullable<z.ZodString>;
2074
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
2075
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2076
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2077
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2078
- eventType: z.ZodLiteral<"message">;
2079
- }, z.core.$strip>, z.ZodObject<{
2080
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
2081
- channelId: z.ZodString;
2082
- channelName: z.ZodNullable<z.ZodString>;
2083
- userId: z.ZodString;
2084
- userName: z.ZodNullable<z.ZodString>;
2085
- text: z.ZodString;
2086
- timestamp: z.ZodString;
2087
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2088
- threadTimestamp: z.ZodNullable<z.ZodString>;
2089
- teamId: z.ZodString;
2090
- permalink: z.ZodNullable<z.ZodString>;
2091
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
2092
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2093
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2094
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2095
- eventType: z.ZodLiteral<"app_mention">;
2096
- }, z.core.$strip>, z.ZodObject<{
2097
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
2098
- channelId: z.ZodString;
2099
- channelName: z.ZodNullable<z.ZodString>;
2100
- userId: z.ZodString;
2101
- userName: z.ZodNullable<z.ZodString>;
2102
- text: z.ZodString;
2103
- timestamp: z.ZodString;
2104
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
- threadTimestamp: z.ZodNullable<z.ZodString>;
2106
- teamId: z.ZodString;
2107
- permalink: z.ZodNullable<z.ZodString>;
2108
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
2109
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2110
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2111
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2112
- eventType: z.ZodLiteral<"reaction_added">;
2113
- reaction: z.ZodString;
2114
- itemType: z.ZodNullable<z.ZodString>;
2115
- itemUserId: z.ZodNullable<z.ZodString>;
2116
- itemChannelId: z.ZodNullable<z.ZodString>;
2117
- itemTimestamp: z.ZodNullable<z.ZodString>;
2118
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
2119
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2120
- username: z.ZodString;
2121
- installationId: z.ZodNumber;
2122
- repositoryName: z.ZodString;
2123
- repository: z.ZodObject<{
2124
- id: z.ZodNumber;
2125
- name: z.ZodString;
2126
- owner: z.ZodString;
2127
- defaultBranch: z.ZodString;
2128
- }, z.core.$strip>;
2129
- sender: z.ZodObject<{
2130
- login: z.ZodString;
2131
- email: z.ZodOptional<z.ZodString>;
2132
- }, z.core.$strip>;
2133
- eventType: z.ZodLiteral<"push">;
2134
- branch: z.ZodString;
2135
- commits: z.ZodArray<z.ZodObject<{
2136
- sha: z.ZodString;
2137
- message: z.ZodOptional<z.ZodString>;
2138
- name: z.ZodString;
2139
- fileDiffs: z.ZodArray<z.ZodObject<{
2140
- filename: z.ZodString;
2141
- diff: z.ZodString;
2142
- }, z.core.$strip>>;
2143
- }, z.core.$strip>>;
2144
- pullRequest: z.ZodOptional<z.ZodUndefined>;
2145
- }, z.core.$strip>, z.ZodObject<{
2146
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2147
- username: z.ZodString;
2148
- installationId: z.ZodNumber;
2149
- repositoryName: z.ZodString;
2150
- repository: z.ZodObject<{
2151
- id: z.ZodNumber;
2152
- name: z.ZodString;
2153
- owner: z.ZodString;
2154
- defaultBranch: z.ZodString;
2155
- }, z.core.$strip>;
2156
- sender: z.ZodObject<{
2157
- login: z.ZodString;
2158
- email: z.ZodOptional<z.ZodString>;
2159
- }, z.core.$strip>;
2160
- pullRequest: z.ZodObject<{
2161
- id: z.ZodString;
2162
- number: z.ZodNumber;
2163
- title: z.ZodString;
2164
- body: z.ZodOptional<z.ZodString>;
2165
- state: z.ZodEnum<{
2166
- open: "open";
2167
- closed: "closed";
2168
- }>;
2169
- merged: z.ZodBoolean;
2170
- head: z.ZodObject<{
2171
- ref: z.ZodString;
2172
- sha: z.ZodString;
2173
- }, z.core.$strip>;
2174
- base: z.ZodObject<{
2175
- ref: z.ZodString;
2176
- sha: z.ZodString;
2177
- }, z.core.$strip>;
2178
- user: z.ZodObject<{
2179
- login: z.ZodString;
2180
- email: z.ZodOptional<z.ZodString>;
2181
- }, z.core.$strip>;
2182
- author: z.ZodOptional<z.ZodObject<{
2183
- login: z.ZodString;
2184
- email: z.ZodOptional<z.ZodString>;
2185
- }, z.core.$strip>>;
2186
- url: z.ZodOptional<z.ZodString>;
2187
- }, z.core.$strip>;
2188
- branch: z.ZodOptional<z.ZodString>;
2189
- commits: z.ZodArray<z.ZodObject<{
2190
- sha: z.ZodString;
2191
- message: z.ZodOptional<z.ZodString>;
2192
- name: z.ZodString;
2193
- fileDiffs: z.ZodArray<z.ZodObject<{
2194
- filename: z.ZodString;
2195
- diff: z.ZodString;
2196
- }, z.core.$strip>>;
2197
- }, z.core.$strip>>;
2198
- eventType: z.ZodLiteral<"pull_request.opened">;
2199
- }, z.core.$strip>, z.ZodObject<{
2200
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2201
- username: z.ZodString;
2202
- installationId: z.ZodNumber;
2203
- repositoryName: z.ZodString;
2204
- repository: z.ZodObject<{
2205
- id: z.ZodNumber;
2206
- name: z.ZodString;
2207
- owner: z.ZodString;
2208
- defaultBranch: z.ZodString;
2209
- }, z.core.$strip>;
2210
- sender: z.ZodObject<{
2211
- login: z.ZodString;
2212
- email: z.ZodOptional<z.ZodString>;
2213
- }, z.core.$strip>;
2214
- pullRequest: z.ZodObject<{
2215
- id: z.ZodString;
2216
- number: z.ZodNumber;
2217
- title: z.ZodString;
2218
- body: z.ZodOptional<z.ZodString>;
2219
- state: z.ZodEnum<{
2220
- open: "open";
2221
- closed: "closed";
2222
- }>;
2223
- merged: z.ZodBoolean;
2224
- head: z.ZodObject<{
2225
- ref: z.ZodString;
2226
- sha: z.ZodString;
2227
- }, z.core.$strip>;
2228
- base: z.ZodObject<{
2229
- ref: z.ZodString;
2230
- sha: z.ZodString;
2231
- }, z.core.$strip>;
2232
- user: z.ZodObject<{
2233
- login: z.ZodString;
2234
- email: z.ZodOptional<z.ZodString>;
2235
- }, z.core.$strip>;
2236
- author: z.ZodOptional<z.ZodObject<{
2237
- login: z.ZodString;
2238
- email: z.ZodOptional<z.ZodString>;
2239
- }, z.core.$strip>>;
2240
- url: z.ZodOptional<z.ZodString>;
2241
- }, z.core.$strip>;
2242
- branch: z.ZodOptional<z.ZodString>;
2243
- commits: z.ZodArray<z.ZodObject<{
2244
- sha: z.ZodString;
2245
- message: z.ZodOptional<z.ZodString>;
2246
- name: z.ZodString;
2247
- fileDiffs: z.ZodArray<z.ZodObject<{
2248
- filename: z.ZodString;
2249
- diff: z.ZodString;
2250
- }, z.core.$strip>>;
2251
- }, z.core.$strip>>;
2252
- eventType: z.ZodLiteral<"pull_request.synchronize">;
2253
- }, z.core.$strip>, z.ZodObject<{
2254
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2255
- username: z.ZodString;
2256
- installationId: z.ZodNumber;
2257
- repositoryName: z.ZodString;
2258
- repository: z.ZodObject<{
2259
- id: z.ZodNumber;
2260
- name: z.ZodString;
2261
- owner: z.ZodString;
2262
- defaultBranch: z.ZodString;
2263
- }, z.core.$strip>;
2264
- sender: z.ZodObject<{
2265
- login: z.ZodString;
2266
- email: z.ZodOptional<z.ZodString>;
2267
- }, z.core.$strip>;
2268
- pullRequest: z.ZodObject<{
2269
- id: z.ZodString;
2270
- number: z.ZodNumber;
2271
- title: z.ZodString;
2272
- body: z.ZodOptional<z.ZodString>;
2273
- state: z.ZodEnum<{
2274
- open: "open";
2275
- closed: "closed";
2276
- }>;
2277
- merged: z.ZodBoolean;
2278
- head: z.ZodObject<{
2279
- ref: z.ZodString;
2280
- sha: z.ZodString;
2281
- }, z.core.$strip>;
2282
- base: z.ZodObject<{
2283
- ref: z.ZodString;
2284
- sha: z.ZodString;
2285
- }, z.core.$strip>;
2286
- user: z.ZodObject<{
2287
- login: z.ZodString;
2288
- email: z.ZodOptional<z.ZodString>;
2289
- }, z.core.$strip>;
2290
- author: z.ZodOptional<z.ZodObject<{
2291
- login: z.ZodString;
2292
- email: z.ZodOptional<z.ZodString>;
2293
- }, z.core.$strip>>;
2294
- url: z.ZodOptional<z.ZodString>;
2295
- }, z.core.$strip>;
2296
- branch: z.ZodOptional<z.ZodString>;
2297
- commits: z.ZodArray<z.ZodObject<{
2298
- sha: z.ZodString;
2299
- message: z.ZodOptional<z.ZodString>;
2300
- name: z.ZodString;
2301
- fileDiffs: z.ZodArray<z.ZodObject<{
2302
- filename: z.ZodString;
2303
- diff: z.ZodString;
2304
- }, z.core.$strip>>;
2305
- }, z.core.$strip>>;
2306
- eventType: z.ZodLiteral<"pull_request.closed">;
2307
- }, z.core.$strip>, z.ZodObject<{
2308
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2309
- username: z.ZodString;
2310
- installationId: z.ZodNumber;
2311
- repositoryName: z.ZodString;
2312
- repository: z.ZodObject<{
2313
- id: z.ZodNumber;
2314
- name: z.ZodString;
2315
- owner: z.ZodString;
2316
- defaultBranch: z.ZodString;
2317
- }, z.core.$strip>;
2318
- sender: z.ZodObject<{
2319
- login: z.ZodString;
2320
- email: z.ZodOptional<z.ZodString>;
2321
- }, z.core.$strip>;
2322
- pullRequest: z.ZodObject<{
2323
- id: z.ZodString;
2324
- number: z.ZodNumber;
2325
- title: z.ZodString;
2326
- body: z.ZodOptional<z.ZodString>;
2327
- state: z.ZodEnum<{
2328
- open: "open";
2329
- closed: "closed";
2330
- }>;
2331
- merged: z.ZodBoolean;
2332
- head: z.ZodObject<{
2333
- ref: z.ZodString;
2334
- sha: z.ZodString;
2335
- }, z.core.$strip>;
2336
- base: z.ZodObject<{
2337
- ref: z.ZodString;
2338
- sha: z.ZodString;
2339
- }, z.core.$strip>;
2340
- user: z.ZodObject<{
2341
- login: z.ZodString;
2342
- email: z.ZodOptional<z.ZodString>;
2343
- }, z.core.$strip>;
2344
- author: z.ZodOptional<z.ZodObject<{
2345
- login: z.ZodString;
2346
- email: z.ZodOptional<z.ZodString>;
2347
- }, z.core.$strip>>;
2348
- url: z.ZodOptional<z.ZodString>;
2349
- }, z.core.$strip>;
2350
- branch: z.ZodOptional<z.ZodString>;
2351
- commits: z.ZodArray<z.ZodObject<{
2352
- sha: z.ZodString;
2353
- message: z.ZodOptional<z.ZodString>;
2354
- name: z.ZodString;
2355
- fileDiffs: z.ZodArray<z.ZodObject<{
2356
- filename: z.ZodString;
2357
- diff: z.ZodString;
2358
- }, z.core.$strip>>;
2359
- }, z.core.$strip>>;
2360
- eventType: z.ZodLiteral<"pull_request.merged">;
2361
- }, z.core.$strip>], "eventType">, z.ZodObject<{
2362
- integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
2363
- eventType: z.ZodEnum<{
2364
- readonly EMAIL_RECEIVED: "email.received";
2365
- }>;
2366
- id: z.ZodString;
2367
- threadId: z.ZodString;
2368
- subject: z.ZodString;
2369
- from: z.ZodString;
2370
- to: z.ZodString;
2371
- date: z.ZodString;
2372
- internalDate: z.ZodString;
2373
- messageId: z.ZodString;
2374
- body: z.ZodString;
2375
- snippet: z.ZodString;
2376
- labelIds: z.ZodArray<z.ZodString>;
2377
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2378
- attachmentId: z.ZodString;
2379
- filename: z.ZodString;
2380
- mimeType: z.ZodString;
2381
- contentId: z.ZodOptional<z.ZodString>;
2382
- isInline: z.ZodBoolean;
2383
- }, z.core.$strip>>>;
2384
- }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
2385
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
2386
- actor: z.ZodObject<{
2387
- id: z.ZodString;
2388
- name: z.ZodString;
2389
- email: z.ZodString;
2390
- url: z.ZodString;
2391
- type: z.ZodString;
2392
- }, z.core.$strip>;
2393
- createdAt: z.ZodString;
2394
- url: z.ZodOptional<z.ZodString>;
2395
- organizationId: z.ZodString;
2396
- webhookTimestamp: z.ZodNumber;
2397
- webhookId: z.ZodString;
2398
- eventType: z.ZodLiteral<"issue.created">;
2399
- action: z.ZodLiteral<"create">;
2400
- type: z.ZodLiteral<"Issue">;
2401
- data: z.ZodObject<{
2402
- id: z.ZodString;
2403
- createdAt: z.ZodString;
2404
- updatedAt: z.ZodString;
2405
- number: z.ZodNumber;
2406
- title: z.ZodString;
2407
- priority: z.ZodNumber;
2408
- sortOrder: z.ZodNumber;
2409
- prioritySortOrder: z.ZodNumber;
2410
- slaType: z.ZodString;
2411
- addedToTeamAt: z.ZodString;
2412
- trashed: z.ZodBoolean;
2413
- labelIds: z.ZodArray<z.ZodString>;
2414
- teamId: z.ZodString;
2415
- previousIdentifiers: z.ZodArray<z.ZodString>;
2416
- stateId: z.ZodString;
2417
- reactionData: z.ZodArray<z.ZodAny>;
2418
- priorityLabel: z.ZodString;
2419
- botActor: z.ZodOptional<z.ZodString>;
2420
- identifier: z.ZodString;
2421
- url: z.ZodString;
2422
- subscriberIds: z.ZodArray<z.ZodString>;
2423
- state: z.ZodObject<{
2424
- id: z.ZodString;
2425
- color: z.ZodString;
2426
- name: z.ZodString;
2427
- type: z.ZodString;
2428
- }, z.core.$strip>;
2429
- team: z.ZodObject<{
2430
- id: z.ZodString;
2431
- key: z.ZodString;
2432
- name: z.ZodString;
2433
- }, z.core.$strip>;
2434
- labels: z.ZodArray<z.ZodAny>;
2435
- description: z.ZodOptional<z.ZodString>;
2436
- descriptionData: z.ZodOptional<z.ZodString>;
2437
- assignee: z.ZodOptional<z.ZodObject<{
2438
- id: z.ZodString;
2439
- name: z.ZodString;
2440
- }, z.core.$strip>>;
2441
- }, z.core.$strip>;
2442
- }, z.core.$strip>, z.ZodObject<{
2443
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
2444
- actor: z.ZodObject<{
2445
- id: z.ZodString;
2446
- name: z.ZodString;
2447
- email: z.ZodString;
2448
- url: z.ZodString;
2449
- type: z.ZodString;
2450
- }, z.core.$strip>;
2451
- createdAt: z.ZodString;
2452
- url: z.ZodOptional<z.ZodString>;
2453
- organizationId: z.ZodString;
2454
- webhookTimestamp: z.ZodNumber;
2455
- webhookId: z.ZodString;
2456
- eventType: z.ZodLiteral<"issue.updated">;
2457
- action: z.ZodLiteral<"update">;
2458
- type: z.ZodLiteral<"Issue">;
2459
- data: z.ZodObject<{
2460
- id: z.ZodString;
2461
- createdAt: z.ZodString;
2462
- updatedAt: z.ZodString;
2463
- number: z.ZodNumber;
2464
- title: z.ZodString;
2465
- priority: z.ZodNumber;
2466
- sortOrder: z.ZodNumber;
2467
- prioritySortOrder: z.ZodNumber;
2468
- slaType: z.ZodString;
2469
- addedToTeamAt: z.ZodString;
2470
- trashed: z.ZodBoolean;
2471
- labelIds: z.ZodArray<z.ZodString>;
2472
- teamId: z.ZodString;
2473
- previousIdentifiers: z.ZodArray<z.ZodString>;
2474
- stateId: z.ZodString;
2475
- reactionData: z.ZodArray<z.ZodAny>;
2476
- priorityLabel: z.ZodString;
2477
- botActor: z.ZodOptional<z.ZodString>;
2478
- identifier: z.ZodString;
2479
- url: z.ZodString;
2480
- subscriberIds: z.ZodArray<z.ZodString>;
2481
- state: z.ZodObject<{
2482
- id: z.ZodString;
2483
- color: z.ZodString;
2484
- name: z.ZodString;
2485
- type: z.ZodString;
2486
- }, z.core.$strip>;
2487
- team: z.ZodObject<{
2488
- id: z.ZodString;
2489
- key: z.ZodString;
2490
- name: z.ZodString;
2491
- }, z.core.$strip>;
2492
- labels: z.ZodArray<z.ZodAny>;
2493
- description: z.ZodOptional<z.ZodString>;
2494
- descriptionData: z.ZodOptional<z.ZodString>;
2495
- assignee: z.ZodOptional<z.ZodObject<{
2496
- id: z.ZodString;
2497
- name: z.ZodString;
2498
- }, z.core.$strip>>;
2499
- }, z.core.$strip>;
2500
- }, z.core.$strip>, z.ZodObject<{
2501
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
2502
- actor: z.ZodObject<{
2503
- id: z.ZodString;
2504
- name: z.ZodString;
2505
- email: z.ZodString;
2506
- url: z.ZodString;
2507
- type: z.ZodString;
2508
- }, z.core.$strip>;
2509
- createdAt: z.ZodString;
2510
- url: z.ZodOptional<z.ZodString>;
2511
- organizationId: z.ZodString;
2512
- webhookTimestamp: z.ZodNumber;
2513
- webhookId: z.ZodString;
2514
- eventType: z.ZodLiteral<"comment.created">;
2515
- action: z.ZodLiteral<"create">;
2516
- type: z.ZodLiteral<"Comment">;
2517
- data: z.ZodObject<{
2518
- id: z.ZodString;
2519
- body: z.ZodOptional<z.ZodString>;
2520
- issueId: z.ZodOptional<z.ZodString>;
2521
- }, z.core.$loose>;
2522
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
2523
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2524
- eventId: z.ZodString;
2525
- createdAt: z.ZodString;
2526
- eventType: z.ZodLiteral<"user.created">;
2527
- user: z.ZodObject<{
2528
- id: z.ZodString;
2529
- email: z.ZodString;
2530
- firstName: z.ZodOptional<z.ZodString>;
2531
- lastName: z.ZodOptional<z.ZodString>;
2532
- emailVerified: z.ZodBoolean;
2533
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2534
- }, z.core.$strip>;
2535
- }, z.core.$strip>, z.ZodObject<{
2536
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2537
- eventId: z.ZodString;
2538
- createdAt: z.ZodString;
2539
- eventType: z.ZodLiteral<"user.updated">;
2540
- user: z.ZodObject<{
2541
- id: z.ZodString;
2542
- email: z.ZodString;
2543
- firstName: z.ZodOptional<z.ZodString>;
2544
- lastName: z.ZodOptional<z.ZodString>;
2545
- emailVerified: z.ZodBoolean;
2546
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2547
- }, z.core.$strip>;
2548
- }, z.core.$strip>, z.ZodObject<{
2549
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2550
- eventId: z.ZodString;
2551
- createdAt: z.ZodString;
2552
- eventType: z.ZodLiteral<"user.deleted">;
2553
- user: z.ZodObject<{
2554
- id: z.ZodString;
2555
- email: z.ZodString;
2556
- firstName: z.ZodOptional<z.ZodString>;
2557
- lastName: z.ZodOptional<z.ZodString>;
2558
- emailVerified: z.ZodBoolean;
2559
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2560
- }, z.core.$strip>;
2561
- }, z.core.$strip>, z.ZodObject<{
2562
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2563
- eventId: z.ZodString;
2564
- createdAt: z.ZodString;
2565
- eventType: z.ZodLiteral<"organization_membership.created">;
2566
- membership: z.ZodObject<{
2567
- id: z.ZodString;
2568
- userId: z.ZodString;
2569
- organizationId: z.ZodString;
2570
- role: z.ZodObject<{
2571
- slug: z.ZodString;
2572
- }, z.core.$strip>;
2573
- status: z.ZodString;
2574
- }, z.core.$strip>;
2575
- }, z.core.$strip>, z.ZodObject<{
2576
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2577
- eventId: z.ZodString;
2578
- createdAt: z.ZodString;
2579
- eventType: z.ZodLiteral<"organization_membership.updated">;
2580
- membership: z.ZodObject<{
2581
- id: z.ZodString;
2582
- userId: z.ZodString;
2583
- organizationId: z.ZodString;
2584
- role: z.ZodObject<{
2585
- slug: z.ZodString;
2586
- }, z.core.$strip>;
2587
- status: z.ZodString;
2588
- }, z.core.$strip>;
2589
- }, z.core.$strip>, z.ZodObject<{
2590
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2591
- eventId: z.ZodString;
2592
- createdAt: z.ZodString;
2593
- eventType: z.ZodLiteral<"organization_membership.deleted">;
2594
- membership: z.ZodObject<{
2595
- id: z.ZodString;
2596
- userId: z.ZodString;
2597
- organizationId: z.ZodString;
2598
- role: z.ZodObject<{
2599
- slug: z.ZodString;
2600
- }, z.core.$strip>;
2601
- status: z.ZodString;
2602
- }, z.core.$strip>;
2603
- }, z.core.$strip>, z.ZodObject<{
2604
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2605
- eventId: z.ZodString;
2606
- createdAt: z.ZodString;
2607
- eventType: z.ZodLiteral<"invitation.created">;
2608
- invitation: z.ZodObject<{
2609
- id: z.ZodString;
2610
- email: z.ZodString;
2611
- organizationId: z.ZodString;
2612
- inviterEmail: z.ZodOptional<z.ZodString>;
2613
- state: z.ZodString;
2614
- acceptedAt: z.ZodOptional<z.ZodString>;
2615
- }, z.core.$strip>;
2616
- user: z.ZodOptional<z.ZodObject<{
2617
- id: z.ZodString;
2618
- email: z.ZodString;
2619
- firstName: z.ZodOptional<z.ZodString>;
2620
- lastName: z.ZodOptional<z.ZodString>;
2621
- emailVerified: z.ZodBoolean;
2622
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2623
- }, z.core.$strip>>;
2624
- }, z.core.$strip>, z.ZodObject<{
2625
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2626
- eventId: z.ZodString;
2627
- createdAt: z.ZodString;
2628
- eventType: z.ZodLiteral<"invitation.accepted">;
2629
- invitation: z.ZodObject<{
2630
- id: z.ZodString;
2631
- email: z.ZodString;
2632
- organizationId: z.ZodString;
2633
- inviterEmail: z.ZodOptional<z.ZodString>;
2634
- state: z.ZodString;
2635
- acceptedAt: z.ZodOptional<z.ZodString>;
2636
- }, z.core.$strip>;
2637
- user: z.ZodOptional<z.ZodObject<{
2638
- id: z.ZodString;
2639
- email: z.ZodString;
2640
- firstName: z.ZodOptional<z.ZodString>;
2641
- lastName: z.ZodOptional<z.ZodString>;
2642
- emailVerified: z.ZodBoolean;
2643
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2644
- }, z.core.$strip>>;
2645
- }, z.core.$strip>, z.ZodObject<{
2646
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2647
- eventId: z.ZodString;
2648
- createdAt: z.ZodString;
2649
- eventType: z.ZodLiteral<"invitation.resent">;
2650
- invitation: z.ZodObject<{
2651
- id: z.ZodString;
2652
- email: z.ZodString;
2653
- organizationId: z.ZodString;
2654
- inviterEmail: z.ZodOptional<z.ZodString>;
2655
- state: z.ZodString;
2656
- acceptedAt: z.ZodOptional<z.ZodString>;
2657
- }, z.core.$strip>;
2658
- user: z.ZodOptional<z.ZodObject<{
2659
- id: z.ZodString;
2660
- email: z.ZodString;
2661
- firstName: z.ZodOptional<z.ZodString>;
2662
- lastName: z.ZodOptional<z.ZodString>;
2663
- emailVerified: z.ZodBoolean;
2664
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2665
- }, z.core.$strip>>;
2666
- }, z.core.$strip>, z.ZodObject<{
2667
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2668
- eventId: z.ZodString;
2669
- createdAt: z.ZodString;
2670
- eventType: z.ZodLiteral<"invitation.revoked">;
2671
- invitation: z.ZodObject<{
2672
- id: z.ZodString;
2673
- email: z.ZodString;
2674
- organizationId: z.ZodString;
2675
- inviterEmail: z.ZodOptional<z.ZodString>;
2676
- state: z.ZodString;
2677
- acceptedAt: z.ZodOptional<z.ZodString>;
2678
- }, z.core.$strip>;
2679
- user: z.ZodOptional<z.ZodObject<{
2680
- id: z.ZodString;
2681
- email: z.ZodString;
2682
- firstName: z.ZodOptional<z.ZodString>;
2683
- lastName: z.ZodOptional<z.ZodString>;
2684
- emailVerified: z.ZodBoolean;
2685
- profilePictureUrl: z.ZodOptional<z.ZodString>;
2686
- }, z.core.$strip>>;
2687
- }, z.core.$strip>, z.ZodObject<{
2688
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
2689
- eventId: z.ZodString;
2690
- createdAt: z.ZodString;
2691
- eventType: z.ZodLiteral<"organization.created">;
2692
- organization: z.ZodObject<{
2693
- id: z.ZodString;
2694
- name: z.ZodString;
2695
- }, z.core.$strip>;
2696
- }, z.core.$strip>], "eventType">, z.ZodObject<{
2697
- integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
2698
- eventType: z.ZodLiteral<"webhook">;
2699
- body: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2700
- headers: z.ZodRecord<z.ZodString, z.ZodString>;
2701
- method: z.ZodString;
2702
- }, z.core.$strip>, z.ZodObject<{
2703
- integrationType: z.ZodLiteral<IntegrationType.CRON_JOB>;
2704
- eventType: z.ZodLiteral<"cron">;
2705
- inputId: z.ZodString;
2706
- isManualTrigger: z.ZodOptional<z.ZodBoolean>;
2707
- manualContext: z.ZodOptional<z.ZodString>;
2708
- }, z.core.$strip>, z.ZodObject<{
2709
- integrationType: z.ZodEnum<typeof IntegrationType>;
2710
- eventType: z.ZodLiteral<"manual_sample">;
2711
- }, z.core.$strip>]>;
2712
- export type Trigger = z.infer<typeof TriggerSchema>;
2713
- export declare function parseTrigger(value: unknown): Trigger;
2714
- export declare function createManualTrigger(params?: {
2715
- integrationType?: IntegrationType;
2716
- }): Trigger;
2717
- export declare function formatTriggerForAgent(event: Trigger): string;
2718
- export declare function debugTrigger(event: Trigger): string;
2719
- export declare const TriggerArraySchema: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
2720
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
2721
- channelId: z.ZodString;
2722
- channelName: z.ZodNullable<z.ZodString>;
2723
- userId: z.ZodString;
2724
- userName: z.ZodNullable<z.ZodString>;
2725
- text: z.ZodString;
2726
- timestamp: z.ZodString;
2727
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2728
- threadTimestamp: z.ZodNullable<z.ZodString>;
2729
- teamId: z.ZodString;
2730
- permalink: z.ZodNullable<z.ZodString>;
2731
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
2732
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2733
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2734
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2735
- eventType: z.ZodLiteral<"message">;
2736
- }, z.core.$strip>, z.ZodObject<{
2737
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
2738
- channelId: z.ZodString;
2739
- channelName: z.ZodNullable<z.ZodString>;
2740
- userId: z.ZodString;
2741
- userName: z.ZodNullable<z.ZodString>;
2742
- text: z.ZodString;
2743
- timestamp: z.ZodString;
2744
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2745
- threadTimestamp: z.ZodNullable<z.ZodString>;
2746
- teamId: z.ZodString;
2747
- permalink: z.ZodNullable<z.ZodString>;
2748
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
2749
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2750
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2751
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2752
- eventType: z.ZodLiteral<"app_mention">;
2753
- }, z.core.$strip>, z.ZodObject<{
2754
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
2755
- channelId: z.ZodString;
2756
- channelName: z.ZodNullable<z.ZodString>;
2757
- userId: z.ZodString;
2758
- userName: z.ZodNullable<z.ZodString>;
2759
- text: z.ZodString;
2760
- timestamp: z.ZodString;
2761
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2762
- threadTimestamp: z.ZodNullable<z.ZodString>;
2763
- teamId: z.ZodString;
2764
- permalink: z.ZodNullable<z.ZodString>;
2765
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
2766
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2767
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2768
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
2769
- eventType: z.ZodLiteral<"reaction_added">;
2770
- reaction: z.ZodString;
2771
- itemType: z.ZodNullable<z.ZodString>;
2772
- itemUserId: z.ZodNullable<z.ZodString>;
2773
- itemChannelId: z.ZodNullable<z.ZodString>;
2774
- itemTimestamp: z.ZodNullable<z.ZodString>;
2775
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
2776
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2777
- username: z.ZodString;
2778
- installationId: z.ZodNumber;
2779
- repositoryName: z.ZodString;
2780
- repository: z.ZodObject<{
2781
- id: z.ZodNumber;
2782
- name: z.ZodString;
2783
- owner: z.ZodString;
2784
- defaultBranch: z.ZodString;
2785
- }, z.core.$strip>;
2786
- sender: z.ZodObject<{
2787
- login: z.ZodString;
2788
- email: z.ZodOptional<z.ZodString>;
2789
- }, z.core.$strip>;
2790
- eventType: z.ZodLiteral<"push">;
2791
- branch: z.ZodString;
2792
- commits: z.ZodArray<z.ZodObject<{
2793
- sha: z.ZodString;
2794
- message: z.ZodOptional<z.ZodString>;
2795
- name: z.ZodString;
2796
- fileDiffs: z.ZodArray<z.ZodObject<{
2797
- filename: z.ZodString;
2798
- diff: z.ZodString;
2799
- }, z.core.$strip>>;
2800
- }, z.core.$strip>>;
2801
- pullRequest: z.ZodOptional<z.ZodUndefined>;
2802
- }, z.core.$strip>, z.ZodObject<{
2803
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2804
- username: z.ZodString;
2805
- installationId: z.ZodNumber;
2806
- repositoryName: z.ZodString;
2807
- repository: z.ZodObject<{
2808
- id: z.ZodNumber;
2809
- name: z.ZodString;
2810
- owner: z.ZodString;
2811
- defaultBranch: z.ZodString;
2812
- }, z.core.$strip>;
2813
- sender: z.ZodObject<{
2814
- login: z.ZodString;
2815
- email: z.ZodOptional<z.ZodString>;
2816
- }, z.core.$strip>;
2817
- pullRequest: z.ZodObject<{
2818
- id: z.ZodString;
2819
- number: z.ZodNumber;
2820
- title: z.ZodString;
2821
- body: z.ZodOptional<z.ZodString>;
2822
- state: z.ZodEnum<{
2823
- open: "open";
2824
- closed: "closed";
2825
- }>;
2826
- merged: z.ZodBoolean;
2827
- head: z.ZodObject<{
2828
- ref: z.ZodString;
2829
- sha: z.ZodString;
2830
- }, z.core.$strip>;
2831
- base: z.ZodObject<{
2832
- ref: z.ZodString;
2833
- sha: z.ZodString;
2834
- }, z.core.$strip>;
2835
- user: z.ZodObject<{
2836
- login: z.ZodString;
2837
- email: z.ZodOptional<z.ZodString>;
2838
- }, z.core.$strip>;
2839
- author: z.ZodOptional<z.ZodObject<{
2840
- login: z.ZodString;
2841
- email: z.ZodOptional<z.ZodString>;
2842
- }, z.core.$strip>>;
2843
- url: z.ZodOptional<z.ZodString>;
2844
- }, z.core.$strip>;
2845
- branch: z.ZodOptional<z.ZodString>;
2846
- commits: z.ZodArray<z.ZodObject<{
2847
- sha: z.ZodString;
2848
- message: z.ZodOptional<z.ZodString>;
2849
- name: z.ZodString;
2850
- fileDiffs: z.ZodArray<z.ZodObject<{
2851
- filename: z.ZodString;
2852
- diff: z.ZodString;
2853
- }, z.core.$strip>>;
2854
- }, z.core.$strip>>;
2855
- eventType: z.ZodLiteral<"pull_request.opened">;
2856
- }, z.core.$strip>, z.ZodObject<{
2857
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2858
- username: z.ZodString;
2859
- installationId: z.ZodNumber;
2860
- repositoryName: z.ZodString;
2861
- repository: z.ZodObject<{
2862
- id: z.ZodNumber;
2863
- name: z.ZodString;
2864
- owner: z.ZodString;
2865
- defaultBranch: z.ZodString;
2866
- }, z.core.$strip>;
2867
- sender: z.ZodObject<{
2868
- login: z.ZodString;
2869
- email: z.ZodOptional<z.ZodString>;
2870
- }, z.core.$strip>;
2871
- pullRequest: z.ZodObject<{
2872
- id: z.ZodString;
2873
- number: z.ZodNumber;
2874
- title: z.ZodString;
2875
- body: z.ZodOptional<z.ZodString>;
2876
- state: z.ZodEnum<{
2877
- open: "open";
2878
- closed: "closed";
2879
- }>;
2880
- merged: z.ZodBoolean;
2881
- head: z.ZodObject<{
2882
- ref: z.ZodString;
2883
- sha: z.ZodString;
2884
- }, z.core.$strip>;
2885
- base: z.ZodObject<{
2886
- ref: z.ZodString;
2887
- sha: z.ZodString;
2888
- }, z.core.$strip>;
2889
- user: z.ZodObject<{
2890
- login: z.ZodString;
2891
- email: z.ZodOptional<z.ZodString>;
2892
- }, z.core.$strip>;
2893
- author: z.ZodOptional<z.ZodObject<{
2894
- login: z.ZodString;
2895
- email: z.ZodOptional<z.ZodString>;
2896
- }, z.core.$strip>>;
2897
- url: z.ZodOptional<z.ZodString>;
2898
- }, z.core.$strip>;
2899
- branch: z.ZodOptional<z.ZodString>;
2900
- commits: z.ZodArray<z.ZodObject<{
2901
- sha: z.ZodString;
2902
- message: z.ZodOptional<z.ZodString>;
2903
- name: z.ZodString;
2904
- fileDiffs: z.ZodArray<z.ZodObject<{
2905
- filename: z.ZodString;
2906
- diff: z.ZodString;
2907
- }, z.core.$strip>>;
2908
- }, z.core.$strip>>;
2909
- eventType: z.ZodLiteral<"pull_request.synchronize">;
2910
- }, z.core.$strip>, z.ZodObject<{
2911
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2912
- username: z.ZodString;
2913
- installationId: z.ZodNumber;
2914
- repositoryName: z.ZodString;
2915
- repository: z.ZodObject<{
2916
- id: z.ZodNumber;
2917
- name: z.ZodString;
2918
- owner: z.ZodString;
2919
- defaultBranch: z.ZodString;
2920
- }, z.core.$strip>;
2921
- sender: z.ZodObject<{
2922
- login: z.ZodString;
2923
- email: z.ZodOptional<z.ZodString>;
2924
- }, z.core.$strip>;
2925
- pullRequest: z.ZodObject<{
2926
- id: z.ZodString;
2927
- number: z.ZodNumber;
2928
- title: z.ZodString;
2929
- body: z.ZodOptional<z.ZodString>;
2930
- state: z.ZodEnum<{
2931
- open: "open";
2932
- closed: "closed";
2933
- }>;
2934
- merged: z.ZodBoolean;
2935
- head: z.ZodObject<{
2936
- ref: z.ZodString;
2937
- sha: z.ZodString;
2938
- }, z.core.$strip>;
2939
- base: z.ZodObject<{
2940
- ref: z.ZodString;
2941
- sha: z.ZodString;
2942
- }, z.core.$strip>;
2943
- user: z.ZodObject<{
2944
- login: z.ZodString;
2945
- email: z.ZodOptional<z.ZodString>;
2946
- }, z.core.$strip>;
2947
- author: z.ZodOptional<z.ZodObject<{
2948
- login: z.ZodString;
2949
- email: z.ZodOptional<z.ZodString>;
2950
- }, z.core.$strip>>;
2951
- url: z.ZodOptional<z.ZodString>;
2952
- }, z.core.$strip>;
2953
- branch: z.ZodOptional<z.ZodString>;
2954
- commits: z.ZodArray<z.ZodObject<{
2955
- sha: z.ZodString;
2956
- message: z.ZodOptional<z.ZodString>;
2957
- name: z.ZodString;
2958
- fileDiffs: z.ZodArray<z.ZodObject<{
2959
- filename: z.ZodString;
2960
- diff: z.ZodString;
2961
- }, z.core.$strip>>;
2962
- }, z.core.$strip>>;
2963
- eventType: z.ZodLiteral<"pull_request.closed">;
2964
- }, z.core.$strip>, z.ZodObject<{
2965
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
2966
- username: z.ZodString;
2967
- installationId: z.ZodNumber;
2968
- repositoryName: z.ZodString;
2969
- repository: z.ZodObject<{
2970
- id: z.ZodNumber;
2971
- name: z.ZodString;
2972
- owner: z.ZodString;
2973
- defaultBranch: z.ZodString;
2974
- }, z.core.$strip>;
2975
- sender: z.ZodObject<{
2976
- login: z.ZodString;
2977
- email: z.ZodOptional<z.ZodString>;
2978
- }, z.core.$strip>;
2979
- pullRequest: z.ZodObject<{
2980
- id: z.ZodString;
2981
- number: z.ZodNumber;
2982
- title: z.ZodString;
2983
- body: z.ZodOptional<z.ZodString>;
2984
- state: z.ZodEnum<{
2985
- open: "open";
2986
- closed: "closed";
2987
- }>;
2988
- merged: z.ZodBoolean;
2989
- head: z.ZodObject<{
2990
- ref: z.ZodString;
2991
- sha: z.ZodString;
2992
- }, z.core.$strip>;
2993
- base: z.ZodObject<{
2994
- ref: z.ZodString;
2995
- sha: z.ZodString;
2996
- }, z.core.$strip>;
2997
- user: z.ZodObject<{
2998
- login: z.ZodString;
2999
- email: z.ZodOptional<z.ZodString>;
3000
- }, z.core.$strip>;
3001
- author: z.ZodOptional<z.ZodObject<{
3002
- login: z.ZodString;
3003
- email: z.ZodOptional<z.ZodString>;
3004
- }, z.core.$strip>>;
3005
- url: z.ZodOptional<z.ZodString>;
3006
- }, z.core.$strip>;
3007
- branch: z.ZodOptional<z.ZodString>;
3008
- commits: z.ZodArray<z.ZodObject<{
3009
- sha: z.ZodString;
3010
- message: z.ZodOptional<z.ZodString>;
3011
- name: z.ZodString;
3012
- fileDiffs: z.ZodArray<z.ZodObject<{
3013
- filename: z.ZodString;
3014
- diff: z.ZodString;
3015
- }, z.core.$strip>>;
3016
- }, z.core.$strip>>;
3017
- eventType: z.ZodLiteral<"pull_request.merged">;
3018
- }, z.core.$strip>], "eventType">, z.ZodObject<{
3019
- integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
3020
- eventType: z.ZodEnum<{
3021
- readonly EMAIL_RECEIVED: "email.received";
3022
- }>;
3023
- id: z.ZodString;
3024
- threadId: z.ZodString;
3025
- subject: z.ZodString;
3026
- from: z.ZodString;
3027
- to: z.ZodString;
3028
- date: z.ZodString;
3029
- internalDate: z.ZodString;
3030
- messageId: z.ZodString;
3031
- body: z.ZodString;
3032
- snippet: z.ZodString;
3033
- labelIds: z.ZodArray<z.ZodString>;
3034
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3035
- attachmentId: z.ZodString;
3036
- filename: z.ZodString;
3037
- mimeType: z.ZodString;
3038
- contentId: z.ZodOptional<z.ZodString>;
3039
- isInline: z.ZodBoolean;
3040
- }, z.core.$strip>>>;
3041
- }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
3042
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
3043
- actor: z.ZodObject<{
3044
- id: z.ZodString;
3045
- name: z.ZodString;
3046
- email: z.ZodString;
3047
- url: z.ZodString;
3048
- type: z.ZodString;
3049
- }, z.core.$strip>;
3050
- createdAt: z.ZodString;
3051
- url: z.ZodOptional<z.ZodString>;
3052
- organizationId: z.ZodString;
3053
- webhookTimestamp: z.ZodNumber;
3054
- webhookId: z.ZodString;
3055
- eventType: z.ZodLiteral<"issue.created">;
3056
- action: z.ZodLiteral<"create">;
3057
- type: z.ZodLiteral<"Issue">;
3058
- data: z.ZodObject<{
3059
- id: z.ZodString;
3060
- createdAt: z.ZodString;
3061
- updatedAt: z.ZodString;
3062
- number: z.ZodNumber;
3063
- title: z.ZodString;
3064
- priority: z.ZodNumber;
3065
- sortOrder: z.ZodNumber;
3066
- prioritySortOrder: z.ZodNumber;
3067
- slaType: z.ZodString;
3068
- addedToTeamAt: z.ZodString;
3069
- trashed: z.ZodBoolean;
3070
- labelIds: z.ZodArray<z.ZodString>;
3071
- teamId: z.ZodString;
3072
- previousIdentifiers: z.ZodArray<z.ZodString>;
3073
- stateId: z.ZodString;
3074
- reactionData: z.ZodArray<z.ZodAny>;
3075
- priorityLabel: z.ZodString;
3076
- botActor: z.ZodOptional<z.ZodString>;
3077
- identifier: z.ZodString;
3078
- url: z.ZodString;
3079
- subscriberIds: z.ZodArray<z.ZodString>;
3080
- state: z.ZodObject<{
3081
- id: z.ZodString;
3082
- color: z.ZodString;
3083
- name: z.ZodString;
3084
- type: z.ZodString;
3085
- }, z.core.$strip>;
3086
- team: z.ZodObject<{
3087
- id: z.ZodString;
3088
- key: z.ZodString;
3089
- name: z.ZodString;
3090
- }, z.core.$strip>;
3091
- labels: z.ZodArray<z.ZodAny>;
3092
- description: z.ZodOptional<z.ZodString>;
3093
- descriptionData: z.ZodOptional<z.ZodString>;
3094
- assignee: z.ZodOptional<z.ZodObject<{
3095
- id: z.ZodString;
3096
- name: z.ZodString;
3097
- }, z.core.$strip>>;
3098
- }, z.core.$strip>;
3099
- }, z.core.$strip>, z.ZodObject<{
3100
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
3101
- actor: z.ZodObject<{
3102
- id: z.ZodString;
3103
- name: z.ZodString;
3104
- email: z.ZodString;
3105
- url: z.ZodString;
3106
- type: z.ZodString;
3107
- }, z.core.$strip>;
3108
- createdAt: z.ZodString;
3109
- url: z.ZodOptional<z.ZodString>;
3110
- organizationId: z.ZodString;
3111
- webhookTimestamp: z.ZodNumber;
3112
- webhookId: z.ZodString;
3113
- eventType: z.ZodLiteral<"issue.updated">;
3114
- action: z.ZodLiteral<"update">;
3115
- type: z.ZodLiteral<"Issue">;
3116
- data: z.ZodObject<{
3117
- id: z.ZodString;
3118
- createdAt: z.ZodString;
3119
- updatedAt: z.ZodString;
3120
- number: z.ZodNumber;
3121
- title: z.ZodString;
3122
- priority: z.ZodNumber;
3123
- sortOrder: z.ZodNumber;
3124
- prioritySortOrder: z.ZodNumber;
3125
- slaType: z.ZodString;
3126
- addedToTeamAt: z.ZodString;
3127
- trashed: z.ZodBoolean;
3128
- labelIds: z.ZodArray<z.ZodString>;
3129
- teamId: z.ZodString;
3130
- previousIdentifiers: z.ZodArray<z.ZodString>;
3131
- stateId: z.ZodString;
3132
- reactionData: z.ZodArray<z.ZodAny>;
3133
- priorityLabel: z.ZodString;
3134
- botActor: z.ZodOptional<z.ZodString>;
3135
- identifier: z.ZodString;
3136
- url: z.ZodString;
3137
- subscriberIds: z.ZodArray<z.ZodString>;
3138
- state: z.ZodObject<{
3139
- id: z.ZodString;
3140
- color: z.ZodString;
3141
- name: z.ZodString;
3142
- type: z.ZodString;
3143
- }, z.core.$strip>;
3144
- team: z.ZodObject<{
3145
- id: z.ZodString;
3146
- key: z.ZodString;
3147
- name: z.ZodString;
3148
- }, z.core.$strip>;
3149
- labels: z.ZodArray<z.ZodAny>;
3150
- description: z.ZodOptional<z.ZodString>;
3151
- descriptionData: z.ZodOptional<z.ZodString>;
3152
- assignee: z.ZodOptional<z.ZodObject<{
3153
- id: z.ZodString;
3154
- name: z.ZodString;
3155
- }, z.core.$strip>>;
3156
- }, z.core.$strip>;
3157
- }, z.core.$strip>, z.ZodObject<{
3158
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
3159
- actor: z.ZodObject<{
3160
- id: z.ZodString;
3161
- name: z.ZodString;
3162
- email: z.ZodString;
3163
- url: z.ZodString;
3164
- type: z.ZodString;
3165
- }, z.core.$strip>;
3166
- createdAt: z.ZodString;
3167
- url: z.ZodOptional<z.ZodString>;
3168
- organizationId: z.ZodString;
3169
- webhookTimestamp: z.ZodNumber;
3170
- webhookId: z.ZodString;
3171
- eventType: z.ZodLiteral<"comment.created">;
3172
- action: z.ZodLiteral<"create">;
3173
- type: z.ZodLiteral<"Comment">;
3174
- data: z.ZodObject<{
3175
- id: z.ZodString;
3176
- body: z.ZodOptional<z.ZodString>;
3177
- issueId: z.ZodOptional<z.ZodString>;
3178
- }, z.core.$loose>;
3179
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
3180
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3181
- eventId: z.ZodString;
3182
- createdAt: z.ZodString;
3183
- eventType: z.ZodLiteral<"user.created">;
3184
- user: z.ZodObject<{
3185
- id: z.ZodString;
3186
- email: z.ZodString;
3187
- firstName: z.ZodOptional<z.ZodString>;
3188
- lastName: z.ZodOptional<z.ZodString>;
3189
- emailVerified: z.ZodBoolean;
3190
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3191
- }, z.core.$strip>;
3192
- }, z.core.$strip>, z.ZodObject<{
3193
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3194
- eventId: z.ZodString;
3195
- createdAt: z.ZodString;
3196
- eventType: z.ZodLiteral<"user.updated">;
3197
- user: z.ZodObject<{
3198
- id: z.ZodString;
3199
- email: z.ZodString;
3200
- firstName: z.ZodOptional<z.ZodString>;
3201
- lastName: z.ZodOptional<z.ZodString>;
3202
- emailVerified: z.ZodBoolean;
3203
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3204
- }, z.core.$strip>;
3205
- }, z.core.$strip>, z.ZodObject<{
3206
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3207
- eventId: z.ZodString;
3208
- createdAt: z.ZodString;
3209
- eventType: z.ZodLiteral<"user.deleted">;
3210
- user: z.ZodObject<{
3211
- id: z.ZodString;
3212
- email: z.ZodString;
3213
- firstName: z.ZodOptional<z.ZodString>;
3214
- lastName: z.ZodOptional<z.ZodString>;
3215
- emailVerified: z.ZodBoolean;
3216
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3217
- }, z.core.$strip>;
3218
- }, z.core.$strip>, z.ZodObject<{
3219
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3220
- eventId: z.ZodString;
3221
- createdAt: z.ZodString;
3222
- eventType: z.ZodLiteral<"organization_membership.created">;
3223
- membership: z.ZodObject<{
3224
- id: z.ZodString;
3225
- userId: z.ZodString;
3226
- organizationId: z.ZodString;
3227
- role: z.ZodObject<{
3228
- slug: z.ZodString;
3229
- }, z.core.$strip>;
3230
- status: z.ZodString;
3231
- }, z.core.$strip>;
3232
- }, z.core.$strip>, z.ZodObject<{
3233
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3234
- eventId: z.ZodString;
3235
- createdAt: z.ZodString;
3236
- eventType: z.ZodLiteral<"organization_membership.updated">;
3237
- membership: z.ZodObject<{
3238
- id: z.ZodString;
3239
- userId: z.ZodString;
3240
- organizationId: z.ZodString;
3241
- role: z.ZodObject<{
3242
- slug: z.ZodString;
3243
- }, z.core.$strip>;
3244
- status: z.ZodString;
3245
- }, z.core.$strip>;
3246
- }, z.core.$strip>, z.ZodObject<{
3247
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3248
- eventId: z.ZodString;
3249
- createdAt: z.ZodString;
3250
- eventType: z.ZodLiteral<"organization_membership.deleted">;
3251
- membership: z.ZodObject<{
3252
- id: z.ZodString;
3253
- userId: z.ZodString;
3254
- organizationId: z.ZodString;
3255
- role: z.ZodObject<{
3256
- slug: z.ZodString;
3257
- }, z.core.$strip>;
3258
- status: z.ZodString;
3259
- }, z.core.$strip>;
3260
- }, z.core.$strip>, z.ZodObject<{
3261
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3262
- eventId: z.ZodString;
3263
- createdAt: z.ZodString;
3264
- eventType: z.ZodLiteral<"invitation.created">;
3265
- invitation: z.ZodObject<{
3266
- id: z.ZodString;
3267
- email: z.ZodString;
3268
- organizationId: z.ZodString;
3269
- inviterEmail: z.ZodOptional<z.ZodString>;
3270
- state: z.ZodString;
3271
- acceptedAt: z.ZodOptional<z.ZodString>;
3272
- }, z.core.$strip>;
3273
- user: z.ZodOptional<z.ZodObject<{
3274
- id: z.ZodString;
3275
- email: z.ZodString;
3276
- firstName: z.ZodOptional<z.ZodString>;
3277
- lastName: z.ZodOptional<z.ZodString>;
3278
- emailVerified: z.ZodBoolean;
3279
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3280
- }, z.core.$strip>>;
3281
- }, z.core.$strip>, z.ZodObject<{
3282
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3283
- eventId: z.ZodString;
3284
- createdAt: z.ZodString;
3285
- eventType: z.ZodLiteral<"invitation.accepted">;
3286
- invitation: z.ZodObject<{
3287
- id: z.ZodString;
3288
- email: z.ZodString;
3289
- organizationId: z.ZodString;
3290
- inviterEmail: z.ZodOptional<z.ZodString>;
3291
- state: z.ZodString;
3292
- acceptedAt: z.ZodOptional<z.ZodString>;
3293
- }, z.core.$strip>;
3294
- user: z.ZodOptional<z.ZodObject<{
3295
- id: z.ZodString;
3296
- email: z.ZodString;
3297
- firstName: z.ZodOptional<z.ZodString>;
3298
- lastName: z.ZodOptional<z.ZodString>;
3299
- emailVerified: z.ZodBoolean;
3300
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3301
- }, z.core.$strip>>;
3302
- }, z.core.$strip>, z.ZodObject<{
3303
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3304
- eventId: z.ZodString;
3305
- createdAt: z.ZodString;
3306
- eventType: z.ZodLiteral<"invitation.resent">;
3307
- invitation: z.ZodObject<{
3308
- id: z.ZodString;
3309
- email: z.ZodString;
3310
- organizationId: z.ZodString;
3311
- inviterEmail: z.ZodOptional<z.ZodString>;
3312
- state: z.ZodString;
3313
- acceptedAt: z.ZodOptional<z.ZodString>;
3314
- }, z.core.$strip>;
3315
- user: z.ZodOptional<z.ZodObject<{
3316
- id: z.ZodString;
3317
- email: z.ZodString;
3318
- firstName: z.ZodOptional<z.ZodString>;
3319
- lastName: z.ZodOptional<z.ZodString>;
3320
- emailVerified: z.ZodBoolean;
3321
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3322
- }, z.core.$strip>>;
3323
- }, z.core.$strip>, z.ZodObject<{
3324
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3325
- eventId: z.ZodString;
3326
- createdAt: z.ZodString;
3327
- eventType: z.ZodLiteral<"invitation.revoked">;
3328
- invitation: z.ZodObject<{
3329
- id: z.ZodString;
3330
- email: z.ZodString;
3331
- organizationId: z.ZodString;
3332
- inviterEmail: z.ZodOptional<z.ZodString>;
3333
- state: z.ZodString;
3334
- acceptedAt: z.ZodOptional<z.ZodString>;
3335
- }, z.core.$strip>;
3336
- user: z.ZodOptional<z.ZodObject<{
3337
- id: z.ZodString;
3338
- email: z.ZodString;
3339
- firstName: z.ZodOptional<z.ZodString>;
3340
- lastName: z.ZodOptional<z.ZodString>;
3341
- emailVerified: z.ZodBoolean;
3342
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3343
- }, z.core.$strip>>;
3344
- }, z.core.$strip>, z.ZodObject<{
3345
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3346
- eventId: z.ZodString;
3347
- createdAt: z.ZodString;
3348
- eventType: z.ZodLiteral<"organization.created">;
3349
- organization: z.ZodObject<{
3350
- id: z.ZodString;
3351
- name: z.ZodString;
3352
- }, z.core.$strip>;
3353
- }, z.core.$strip>], "eventType">, z.ZodObject<{
3354
- integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
3355
- eventType: z.ZodLiteral<"webhook">;
3356
- body: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3357
- headers: z.ZodRecord<z.ZodString, z.ZodString>;
3358
- method: z.ZodString;
3359
- }, z.core.$strip>, z.ZodObject<{
3360
- integrationType: z.ZodLiteral<IntegrationType.CRON_JOB>;
3361
- eventType: z.ZodLiteral<"cron">;
3362
- inputId: z.ZodString;
3363
- isManualTrigger: z.ZodOptional<z.ZodBoolean>;
3364
- manualContext: z.ZodOptional<z.ZodString>;
3365
- }, z.core.$strip>, z.ZodObject<{
3366
- integrationType: z.ZodEnum<typeof IntegrationType>;
3367
- eventType: z.ZodLiteral<"manual_sample">;
3368
- }, z.core.$strip>]>>;
3369
- export declare const serializedEventSchema: z.ZodObject<{
3370
- integrationType: z.ZodEnum<typeof IntegrationType>;
3371
- eventType: z.ZodUnion<readonly [z.ZodEnum<{
3372
- readonly MESSAGE: "message";
3373
- readonly APP_MENTION: "app_mention";
3374
- readonly REACTION_ADDED: "reaction_added";
3375
- }>, z.ZodEnum<{
3376
- readonly PUSH: "push";
3377
- readonly PR_OPENED: "pull_request.opened";
3378
- readonly PR_MERGED: "pull_request.merged";
3379
- readonly PR_CLOSED: "pull_request.closed";
3380
- readonly PR_SYNCHRONIZE: "pull_request.synchronize";
3381
- }>, z.ZodEnum<{
3382
- readonly ISSUE_CREATED: "issue.created";
3383
- readonly ISSUE_UPDATED: "issue.updated";
3384
- readonly COMMENT_CREATED: "comment.created";
3385
- }>, z.ZodEnum<{
3386
- readonly EMAIL_RECEIVED: "email.received";
3387
- }>, z.ZodEnum<{
3388
- readonly USER_CREATED: "user.created";
3389
- readonly USER_UPDATED: "user.updated";
3390
- readonly USER_DELETED: "user.deleted";
3391
- readonly ORGANIZATION_CREATED: "organization.created";
3392
- readonly ORGANIZATION_MEMBERSHIP_CREATED: "organization_membership.created";
3393
- readonly ORGANIZATION_MEMBERSHIP_UPDATED: "organization_membership.updated";
3394
- readonly ORGANIZATION_MEMBERSHIP_DELETED: "organization_membership.deleted";
3395
- readonly INVITATION_CREATED: "invitation.created";
3396
- readonly INVITATION_ACCEPTED: "invitation.accepted";
3397
- readonly INVITATION_RESENT: "invitation.resent";
3398
- readonly INVITATION_REVOKED: "invitation.revoked";
3399
- }>, z.ZodLiteral<"webhook">, z.ZodLiteral<"cron">, z.ZodLiteral<"manual_sample">]>;
3400
- formattedContent: z.ZodString;
3401
- debugLog: z.ZodString;
3402
- data: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
3403
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
3404
- channelId: z.ZodString;
3405
- channelName: z.ZodNullable<z.ZodString>;
3406
- userId: z.ZodString;
3407
- userName: z.ZodNullable<z.ZodString>;
3408
- text: z.ZodString;
3409
- timestamp: z.ZodString;
3410
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3411
- threadTimestamp: z.ZodNullable<z.ZodString>;
3412
- teamId: z.ZodString;
3413
- permalink: z.ZodNullable<z.ZodString>;
3414
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
3415
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3416
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3417
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3418
- eventType: z.ZodLiteral<"message">;
3419
- }, z.core.$strip>, z.ZodObject<{
3420
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
3421
- channelId: z.ZodString;
3422
- channelName: z.ZodNullable<z.ZodString>;
3423
- userId: z.ZodString;
3424
- userName: z.ZodNullable<z.ZodString>;
3425
- text: z.ZodString;
3426
- timestamp: z.ZodString;
3427
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3428
- threadTimestamp: z.ZodNullable<z.ZodString>;
3429
- teamId: z.ZodString;
3430
- permalink: z.ZodNullable<z.ZodString>;
3431
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
3432
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3433
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3434
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3435
- eventType: z.ZodLiteral<"app_mention">;
3436
- }, z.core.$strip>, z.ZodObject<{
3437
- integrationType: z.ZodLiteral<IntegrationType.SLACK>;
3438
- channelId: z.ZodString;
3439
- channelName: z.ZodNullable<z.ZodString>;
3440
- userId: z.ZodString;
3441
- userName: z.ZodNullable<z.ZodString>;
3442
- text: z.ZodString;
3443
- timestamp: z.ZodString;
3444
- threadTs: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3445
- threadTimestamp: z.ZodNullable<z.ZodString>;
3446
- teamId: z.ZodString;
3447
- permalink: z.ZodNullable<z.ZodString>;
3448
- channelType: z.ZodNullable<z.ZodEnum<typeof SlackChannelType>>;
3449
- blocks: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3450
- attachments: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3451
- files: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
3452
- eventType: z.ZodLiteral<"reaction_added">;
3453
- reaction: z.ZodString;
3454
- itemType: z.ZodNullable<z.ZodString>;
3455
- itemUserId: z.ZodNullable<z.ZodString>;
3456
- itemChannelId: z.ZodNullable<z.ZodString>;
3457
- itemTimestamp: z.ZodNullable<z.ZodString>;
3458
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
3459
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
3460
- username: z.ZodString;
3461
- installationId: z.ZodNumber;
3462
- repositoryName: z.ZodString;
3463
- repository: z.ZodObject<{
3464
- id: z.ZodNumber;
3465
- name: z.ZodString;
3466
- owner: z.ZodString;
3467
- defaultBranch: z.ZodString;
3468
- }, z.core.$strip>;
3469
- sender: z.ZodObject<{
3470
- login: z.ZodString;
3471
- email: z.ZodOptional<z.ZodString>;
3472
- }, z.core.$strip>;
3473
- eventType: z.ZodLiteral<"push">;
3474
- branch: z.ZodString;
3475
- commits: z.ZodArray<z.ZodObject<{
3476
- sha: z.ZodString;
3477
- message: z.ZodOptional<z.ZodString>;
3478
- name: z.ZodString;
3479
- fileDiffs: z.ZodArray<z.ZodObject<{
3480
- filename: z.ZodString;
3481
- diff: z.ZodString;
3482
- }, z.core.$strip>>;
3483
- }, z.core.$strip>>;
3484
- pullRequest: z.ZodOptional<z.ZodUndefined>;
3485
- }, z.core.$strip>, z.ZodObject<{
3486
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
3487
- username: z.ZodString;
3488
- installationId: z.ZodNumber;
3489
- repositoryName: z.ZodString;
3490
- repository: z.ZodObject<{
3491
- id: z.ZodNumber;
3492
- name: z.ZodString;
3493
- owner: z.ZodString;
3494
- defaultBranch: z.ZodString;
3495
- }, z.core.$strip>;
3496
- sender: z.ZodObject<{
3497
- login: z.ZodString;
3498
- email: z.ZodOptional<z.ZodString>;
3499
- }, z.core.$strip>;
3500
- pullRequest: z.ZodObject<{
3501
- id: z.ZodString;
3502
- number: z.ZodNumber;
3503
- title: z.ZodString;
3504
- body: z.ZodOptional<z.ZodString>;
3505
- state: z.ZodEnum<{
3506
- open: "open";
3507
- closed: "closed";
3508
- }>;
3509
- merged: z.ZodBoolean;
3510
- head: z.ZodObject<{
3511
- ref: z.ZodString;
3512
- sha: z.ZodString;
3513
- }, z.core.$strip>;
3514
- base: z.ZodObject<{
3515
- ref: z.ZodString;
3516
- sha: z.ZodString;
3517
- }, z.core.$strip>;
3518
- user: z.ZodObject<{
3519
- login: z.ZodString;
3520
- email: z.ZodOptional<z.ZodString>;
3521
- }, z.core.$strip>;
3522
- author: z.ZodOptional<z.ZodObject<{
3523
- login: z.ZodString;
3524
- email: z.ZodOptional<z.ZodString>;
3525
- }, z.core.$strip>>;
3526
- url: z.ZodOptional<z.ZodString>;
3527
- }, z.core.$strip>;
3528
- branch: z.ZodOptional<z.ZodString>;
3529
- commits: z.ZodArray<z.ZodObject<{
3530
- sha: z.ZodString;
3531
- message: z.ZodOptional<z.ZodString>;
3532
- name: z.ZodString;
3533
- fileDiffs: z.ZodArray<z.ZodObject<{
3534
- filename: z.ZodString;
3535
- diff: z.ZodString;
3536
- }, z.core.$strip>>;
3537
- }, z.core.$strip>>;
3538
- eventType: z.ZodLiteral<"pull_request.opened">;
3539
- }, z.core.$strip>, z.ZodObject<{
3540
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
3541
- username: z.ZodString;
3542
- installationId: z.ZodNumber;
3543
- repositoryName: z.ZodString;
3544
- repository: z.ZodObject<{
3545
- id: z.ZodNumber;
3546
- name: z.ZodString;
3547
- owner: z.ZodString;
3548
- defaultBranch: z.ZodString;
3549
- }, z.core.$strip>;
3550
- sender: z.ZodObject<{
3551
- login: z.ZodString;
3552
- email: z.ZodOptional<z.ZodString>;
3553
- }, z.core.$strip>;
3554
- pullRequest: z.ZodObject<{
3555
- id: z.ZodString;
3556
- number: z.ZodNumber;
3557
- title: z.ZodString;
3558
- body: z.ZodOptional<z.ZodString>;
3559
- state: z.ZodEnum<{
3560
- open: "open";
3561
- closed: "closed";
3562
- }>;
3563
- merged: z.ZodBoolean;
3564
- head: z.ZodObject<{
3565
- ref: z.ZodString;
3566
- sha: z.ZodString;
3567
- }, z.core.$strip>;
3568
- base: z.ZodObject<{
3569
- ref: z.ZodString;
3570
- sha: z.ZodString;
3571
- }, z.core.$strip>;
3572
- user: z.ZodObject<{
3573
- login: z.ZodString;
3574
- email: z.ZodOptional<z.ZodString>;
3575
- }, z.core.$strip>;
3576
- author: z.ZodOptional<z.ZodObject<{
3577
- login: z.ZodString;
3578
- email: z.ZodOptional<z.ZodString>;
3579
- }, z.core.$strip>>;
3580
- url: z.ZodOptional<z.ZodString>;
3581
- }, z.core.$strip>;
3582
- branch: z.ZodOptional<z.ZodString>;
3583
- commits: z.ZodArray<z.ZodObject<{
3584
- sha: z.ZodString;
3585
- message: z.ZodOptional<z.ZodString>;
3586
- name: z.ZodString;
3587
- fileDiffs: z.ZodArray<z.ZodObject<{
3588
- filename: z.ZodString;
3589
- diff: z.ZodString;
3590
- }, z.core.$strip>>;
3591
- }, z.core.$strip>>;
3592
- eventType: z.ZodLiteral<"pull_request.synchronize">;
3593
- }, z.core.$strip>, z.ZodObject<{
3594
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
3595
- username: z.ZodString;
3596
- installationId: z.ZodNumber;
3597
- repositoryName: z.ZodString;
3598
- repository: z.ZodObject<{
3599
- id: z.ZodNumber;
3600
- name: z.ZodString;
3601
- owner: z.ZodString;
3602
- defaultBranch: z.ZodString;
3603
- }, z.core.$strip>;
3604
- sender: z.ZodObject<{
3605
- login: z.ZodString;
3606
- email: z.ZodOptional<z.ZodString>;
3607
- }, z.core.$strip>;
3608
- pullRequest: z.ZodObject<{
3609
- id: z.ZodString;
3610
- number: z.ZodNumber;
3611
- title: z.ZodString;
3612
- body: z.ZodOptional<z.ZodString>;
3613
- state: z.ZodEnum<{
3614
- open: "open";
3615
- closed: "closed";
3616
- }>;
3617
- merged: z.ZodBoolean;
3618
- head: z.ZodObject<{
3619
- ref: z.ZodString;
3620
- sha: z.ZodString;
3621
- }, z.core.$strip>;
3622
- base: z.ZodObject<{
3623
- ref: z.ZodString;
3624
- sha: z.ZodString;
3625
- }, z.core.$strip>;
3626
- user: z.ZodObject<{
3627
- login: z.ZodString;
3628
- email: z.ZodOptional<z.ZodString>;
3629
- }, z.core.$strip>;
3630
- author: z.ZodOptional<z.ZodObject<{
3631
- login: z.ZodString;
3632
- email: z.ZodOptional<z.ZodString>;
3633
- }, z.core.$strip>>;
3634
- url: z.ZodOptional<z.ZodString>;
3635
- }, z.core.$strip>;
3636
- branch: z.ZodOptional<z.ZodString>;
3637
- commits: z.ZodArray<z.ZodObject<{
3638
- sha: z.ZodString;
3639
- message: z.ZodOptional<z.ZodString>;
3640
- name: z.ZodString;
3641
- fileDiffs: z.ZodArray<z.ZodObject<{
3642
- filename: z.ZodString;
3643
- diff: z.ZodString;
3644
- }, z.core.$strip>>;
3645
- }, z.core.$strip>>;
3646
- eventType: z.ZodLiteral<"pull_request.closed">;
3647
- }, z.core.$strip>, z.ZodObject<{
3648
- integrationType: z.ZodLiteral<IntegrationType.GITHUB>;
3649
- username: z.ZodString;
3650
- installationId: z.ZodNumber;
3651
- repositoryName: z.ZodString;
3652
- repository: z.ZodObject<{
3653
- id: z.ZodNumber;
3654
- name: z.ZodString;
3655
- owner: z.ZodString;
3656
- defaultBranch: z.ZodString;
3657
- }, z.core.$strip>;
3658
- sender: z.ZodObject<{
3659
- login: z.ZodString;
3660
- email: z.ZodOptional<z.ZodString>;
3661
- }, z.core.$strip>;
3662
- pullRequest: z.ZodObject<{
3663
- id: z.ZodString;
3664
- number: z.ZodNumber;
3665
- title: z.ZodString;
3666
- body: z.ZodOptional<z.ZodString>;
3667
- state: z.ZodEnum<{
3668
- open: "open";
3669
- closed: "closed";
3670
- }>;
3671
- merged: z.ZodBoolean;
3672
- head: z.ZodObject<{
3673
- ref: z.ZodString;
3674
- sha: z.ZodString;
3675
- }, z.core.$strip>;
3676
- base: z.ZodObject<{
3677
- ref: z.ZodString;
3678
- sha: z.ZodString;
3679
- }, z.core.$strip>;
3680
- user: z.ZodObject<{
3681
- login: z.ZodString;
3682
- email: z.ZodOptional<z.ZodString>;
3683
- }, z.core.$strip>;
3684
- author: z.ZodOptional<z.ZodObject<{
3685
- login: z.ZodString;
3686
- email: z.ZodOptional<z.ZodString>;
3687
- }, z.core.$strip>>;
3688
- url: z.ZodOptional<z.ZodString>;
3689
- }, z.core.$strip>;
3690
- branch: z.ZodOptional<z.ZodString>;
3691
- commits: z.ZodArray<z.ZodObject<{
3692
- sha: z.ZodString;
3693
- message: z.ZodOptional<z.ZodString>;
3694
- name: z.ZodString;
3695
- fileDiffs: z.ZodArray<z.ZodObject<{
3696
- filename: z.ZodString;
3697
- diff: z.ZodString;
3698
- }, z.core.$strip>>;
3699
- }, z.core.$strip>>;
3700
- eventType: z.ZodLiteral<"pull_request.merged">;
3701
- }, z.core.$strip>], "eventType">, z.ZodObject<{
3702
- integrationType: z.ZodLiteral<IntegrationType.GMAIL>;
3703
- eventType: z.ZodEnum<{
3704
- readonly EMAIL_RECEIVED: "email.received";
3705
- }>;
3706
- id: z.ZodString;
3707
- threadId: z.ZodString;
3708
- subject: z.ZodString;
3709
- from: z.ZodString;
3710
- to: z.ZodString;
3711
- date: z.ZodString;
3712
- internalDate: z.ZodString;
3713
- messageId: z.ZodString;
3714
- body: z.ZodString;
3715
- snippet: z.ZodString;
3716
- labelIds: z.ZodArray<z.ZodString>;
3717
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3718
- attachmentId: z.ZodString;
3719
- filename: z.ZodString;
3720
- mimeType: z.ZodString;
3721
- contentId: z.ZodOptional<z.ZodString>;
3722
- isInline: z.ZodBoolean;
3723
- }, z.core.$strip>>>;
3724
- }, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
3725
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
3726
- actor: z.ZodObject<{
3727
- id: z.ZodString;
3728
- name: z.ZodString;
3729
- email: z.ZodString;
3730
- url: z.ZodString;
3731
- type: z.ZodString;
3732
- }, z.core.$strip>;
3733
- createdAt: z.ZodString;
3734
- url: z.ZodOptional<z.ZodString>;
3735
- organizationId: z.ZodString;
3736
- webhookTimestamp: z.ZodNumber;
3737
- webhookId: z.ZodString;
3738
- eventType: z.ZodLiteral<"issue.created">;
3739
- action: z.ZodLiteral<"create">;
3740
- type: z.ZodLiteral<"Issue">;
3741
- data: z.ZodObject<{
3742
- id: z.ZodString;
3743
- createdAt: z.ZodString;
3744
- updatedAt: z.ZodString;
3745
- number: z.ZodNumber;
3746
- title: z.ZodString;
3747
- priority: z.ZodNumber;
3748
- sortOrder: z.ZodNumber;
3749
- prioritySortOrder: z.ZodNumber;
3750
- slaType: z.ZodString;
3751
- addedToTeamAt: z.ZodString;
3752
- trashed: z.ZodBoolean;
3753
- labelIds: z.ZodArray<z.ZodString>;
3754
- teamId: z.ZodString;
3755
- previousIdentifiers: z.ZodArray<z.ZodString>;
3756
- stateId: z.ZodString;
3757
- reactionData: z.ZodArray<z.ZodAny>;
3758
- priorityLabel: z.ZodString;
3759
- botActor: z.ZodOptional<z.ZodString>;
3760
- identifier: z.ZodString;
3761
- url: z.ZodString;
3762
- subscriberIds: z.ZodArray<z.ZodString>;
3763
- state: z.ZodObject<{
3764
- id: z.ZodString;
3765
- color: z.ZodString;
3766
- name: z.ZodString;
3767
- type: z.ZodString;
3768
- }, z.core.$strip>;
3769
- team: z.ZodObject<{
3770
- id: z.ZodString;
3771
- key: z.ZodString;
3772
- name: z.ZodString;
3773
- }, z.core.$strip>;
3774
- labels: z.ZodArray<z.ZodAny>;
3775
- description: z.ZodOptional<z.ZodString>;
3776
- descriptionData: z.ZodOptional<z.ZodString>;
3777
- assignee: z.ZodOptional<z.ZodObject<{
3778
- id: z.ZodString;
3779
- name: z.ZodString;
3780
- }, z.core.$strip>>;
3781
- }, z.core.$strip>;
3782
- }, z.core.$strip>, z.ZodObject<{
3783
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
3784
- actor: z.ZodObject<{
3785
- id: z.ZodString;
3786
- name: z.ZodString;
3787
- email: z.ZodString;
3788
- url: z.ZodString;
3789
- type: z.ZodString;
3790
- }, z.core.$strip>;
3791
- createdAt: z.ZodString;
3792
- url: z.ZodOptional<z.ZodString>;
3793
- organizationId: z.ZodString;
3794
- webhookTimestamp: z.ZodNumber;
3795
- webhookId: z.ZodString;
3796
- eventType: z.ZodLiteral<"issue.updated">;
3797
- action: z.ZodLiteral<"update">;
3798
- type: z.ZodLiteral<"Issue">;
3799
- data: z.ZodObject<{
3800
- id: z.ZodString;
3801
- createdAt: z.ZodString;
3802
- updatedAt: z.ZodString;
3803
- number: z.ZodNumber;
3804
- title: z.ZodString;
3805
- priority: z.ZodNumber;
3806
- sortOrder: z.ZodNumber;
3807
- prioritySortOrder: z.ZodNumber;
3808
- slaType: z.ZodString;
3809
- addedToTeamAt: z.ZodString;
3810
- trashed: z.ZodBoolean;
3811
- labelIds: z.ZodArray<z.ZodString>;
3812
- teamId: z.ZodString;
3813
- previousIdentifiers: z.ZodArray<z.ZodString>;
3814
- stateId: z.ZodString;
3815
- reactionData: z.ZodArray<z.ZodAny>;
3816
- priorityLabel: z.ZodString;
3817
- botActor: z.ZodOptional<z.ZodString>;
3818
- identifier: z.ZodString;
3819
- url: z.ZodString;
3820
- subscriberIds: z.ZodArray<z.ZodString>;
3821
- state: z.ZodObject<{
3822
- id: z.ZodString;
3823
- color: z.ZodString;
3824
- name: z.ZodString;
3825
- type: z.ZodString;
3826
- }, z.core.$strip>;
3827
- team: z.ZodObject<{
3828
- id: z.ZodString;
3829
- key: z.ZodString;
3830
- name: z.ZodString;
3831
- }, z.core.$strip>;
3832
- labels: z.ZodArray<z.ZodAny>;
3833
- description: z.ZodOptional<z.ZodString>;
3834
- descriptionData: z.ZodOptional<z.ZodString>;
3835
- assignee: z.ZodOptional<z.ZodObject<{
3836
- id: z.ZodString;
3837
- name: z.ZodString;
3838
- }, z.core.$strip>>;
3839
- }, z.core.$strip>;
3840
- }, z.core.$strip>, z.ZodObject<{
3841
- integrationType: z.ZodLiteral<IntegrationType.LINEAR>;
3842
- actor: z.ZodObject<{
3843
- id: z.ZodString;
3844
- name: z.ZodString;
3845
- email: z.ZodString;
3846
- url: z.ZodString;
3847
- type: z.ZodString;
3848
- }, z.core.$strip>;
3849
- createdAt: z.ZodString;
3850
- url: z.ZodOptional<z.ZodString>;
3851
- organizationId: z.ZodString;
3852
- webhookTimestamp: z.ZodNumber;
3853
- webhookId: z.ZodString;
3854
- eventType: z.ZodLiteral<"comment.created">;
3855
- action: z.ZodLiteral<"create">;
3856
- type: z.ZodLiteral<"Comment">;
3857
- data: z.ZodObject<{
3858
- id: z.ZodString;
3859
- body: z.ZodOptional<z.ZodString>;
3860
- issueId: z.ZodOptional<z.ZodString>;
3861
- }, z.core.$loose>;
3862
- }, z.core.$strip>], "eventType">, z.ZodDiscriminatedUnion<[z.ZodObject<{
3863
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3864
- eventId: z.ZodString;
3865
- createdAt: z.ZodString;
3866
- eventType: z.ZodLiteral<"user.created">;
3867
- user: z.ZodObject<{
3868
- id: z.ZodString;
3869
- email: z.ZodString;
3870
- firstName: z.ZodOptional<z.ZodString>;
3871
- lastName: z.ZodOptional<z.ZodString>;
3872
- emailVerified: z.ZodBoolean;
3873
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3874
- }, z.core.$strip>;
3875
- }, z.core.$strip>, z.ZodObject<{
3876
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3877
- eventId: z.ZodString;
3878
- createdAt: z.ZodString;
3879
- eventType: z.ZodLiteral<"user.updated">;
3880
- user: z.ZodObject<{
3881
- id: z.ZodString;
3882
- email: z.ZodString;
3883
- firstName: z.ZodOptional<z.ZodString>;
3884
- lastName: z.ZodOptional<z.ZodString>;
3885
- emailVerified: z.ZodBoolean;
3886
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3887
- }, z.core.$strip>;
3888
- }, z.core.$strip>, z.ZodObject<{
3889
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3890
- eventId: z.ZodString;
3891
- createdAt: z.ZodString;
3892
- eventType: z.ZodLiteral<"user.deleted">;
3893
- user: z.ZodObject<{
3894
- id: z.ZodString;
3895
- email: z.ZodString;
3896
- firstName: z.ZodOptional<z.ZodString>;
3897
- lastName: z.ZodOptional<z.ZodString>;
3898
- emailVerified: z.ZodBoolean;
3899
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3900
- }, z.core.$strip>;
3901
- }, z.core.$strip>, z.ZodObject<{
3902
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3903
- eventId: z.ZodString;
3904
- createdAt: z.ZodString;
3905
- eventType: z.ZodLiteral<"organization_membership.created">;
3906
- membership: z.ZodObject<{
3907
- id: z.ZodString;
3908
- userId: z.ZodString;
3909
- organizationId: z.ZodString;
3910
- role: z.ZodObject<{
3911
- slug: z.ZodString;
3912
- }, z.core.$strip>;
3913
- status: z.ZodString;
3914
- }, z.core.$strip>;
3915
- }, z.core.$strip>, z.ZodObject<{
3916
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3917
- eventId: z.ZodString;
3918
- createdAt: z.ZodString;
3919
- eventType: z.ZodLiteral<"organization_membership.updated">;
3920
- membership: z.ZodObject<{
3921
- id: z.ZodString;
3922
- userId: z.ZodString;
3923
- organizationId: z.ZodString;
3924
- role: z.ZodObject<{
3925
- slug: z.ZodString;
3926
- }, z.core.$strip>;
3927
- status: z.ZodString;
3928
- }, z.core.$strip>;
3929
- }, z.core.$strip>, z.ZodObject<{
3930
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3931
- eventId: z.ZodString;
3932
- createdAt: z.ZodString;
3933
- eventType: z.ZodLiteral<"organization_membership.deleted">;
3934
- membership: z.ZodObject<{
3935
- id: z.ZodString;
3936
- userId: z.ZodString;
3937
- organizationId: z.ZodString;
3938
- role: z.ZodObject<{
3939
- slug: z.ZodString;
3940
- }, z.core.$strip>;
3941
- status: z.ZodString;
3942
- }, z.core.$strip>;
3943
- }, z.core.$strip>, z.ZodObject<{
3944
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3945
- eventId: z.ZodString;
3946
- createdAt: z.ZodString;
3947
- eventType: z.ZodLiteral<"invitation.created">;
3948
- invitation: z.ZodObject<{
3949
- id: z.ZodString;
3950
- email: z.ZodString;
3951
- organizationId: z.ZodString;
3952
- inviterEmail: z.ZodOptional<z.ZodString>;
3953
- state: z.ZodString;
3954
- acceptedAt: z.ZodOptional<z.ZodString>;
3955
- }, z.core.$strip>;
3956
- user: z.ZodOptional<z.ZodObject<{
3957
- id: z.ZodString;
3958
- email: z.ZodString;
3959
- firstName: z.ZodOptional<z.ZodString>;
3960
- lastName: z.ZodOptional<z.ZodString>;
3961
- emailVerified: z.ZodBoolean;
3962
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3963
- }, z.core.$strip>>;
3964
- }, z.core.$strip>, z.ZodObject<{
3965
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3966
- eventId: z.ZodString;
3967
- createdAt: z.ZodString;
3968
- eventType: z.ZodLiteral<"invitation.accepted">;
3969
- invitation: z.ZodObject<{
3970
- id: z.ZodString;
3971
- email: z.ZodString;
3972
- organizationId: z.ZodString;
3973
- inviterEmail: z.ZodOptional<z.ZodString>;
3974
- state: z.ZodString;
3975
- acceptedAt: z.ZodOptional<z.ZodString>;
3976
- }, z.core.$strip>;
3977
- user: z.ZodOptional<z.ZodObject<{
3978
- id: z.ZodString;
3979
- email: z.ZodString;
3980
- firstName: z.ZodOptional<z.ZodString>;
3981
- lastName: z.ZodOptional<z.ZodString>;
3982
- emailVerified: z.ZodBoolean;
3983
- profilePictureUrl: z.ZodOptional<z.ZodString>;
3984
- }, z.core.$strip>>;
3985
- }, z.core.$strip>, z.ZodObject<{
3986
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
3987
- eventId: z.ZodString;
3988
- createdAt: z.ZodString;
3989
- eventType: z.ZodLiteral<"invitation.resent">;
3990
- invitation: z.ZodObject<{
3991
- id: z.ZodString;
3992
- email: z.ZodString;
3993
- organizationId: z.ZodString;
3994
- inviterEmail: z.ZodOptional<z.ZodString>;
3995
- state: z.ZodString;
3996
- acceptedAt: z.ZodOptional<z.ZodString>;
3997
- }, z.core.$strip>;
3998
- user: z.ZodOptional<z.ZodObject<{
3999
- id: z.ZodString;
4000
- email: z.ZodString;
4001
- firstName: z.ZodOptional<z.ZodString>;
4002
- lastName: z.ZodOptional<z.ZodString>;
4003
- emailVerified: z.ZodBoolean;
4004
- profilePictureUrl: z.ZodOptional<z.ZodString>;
4005
- }, z.core.$strip>>;
4006
- }, z.core.$strip>, z.ZodObject<{
4007
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
4008
- eventId: z.ZodString;
4009
- createdAt: z.ZodString;
4010
- eventType: z.ZodLiteral<"invitation.revoked">;
4011
- invitation: z.ZodObject<{
4012
- id: z.ZodString;
4013
- email: z.ZodString;
4014
- organizationId: z.ZodString;
4015
- inviterEmail: z.ZodOptional<z.ZodString>;
4016
- state: z.ZodString;
4017
- acceptedAt: z.ZodOptional<z.ZodString>;
4018
- }, z.core.$strip>;
4019
- user: z.ZodOptional<z.ZodObject<{
4020
- id: z.ZodString;
4021
- email: z.ZodString;
4022
- firstName: z.ZodOptional<z.ZodString>;
4023
- lastName: z.ZodOptional<z.ZodString>;
4024
- emailVerified: z.ZodBoolean;
4025
- profilePictureUrl: z.ZodOptional<z.ZodString>;
4026
- }, z.core.$strip>>;
4027
- }, z.core.$strip>, z.ZodObject<{
4028
- integrationType: z.ZodLiteral<IntegrationType.WORKOS>;
4029
- eventId: z.ZodString;
4030
- createdAt: z.ZodString;
4031
- eventType: z.ZodLiteral<"organization.created">;
4032
- organization: z.ZodObject<{
4033
- id: z.ZodString;
4034
- name: z.ZodString;
4035
- }, z.core.$strip>;
4036
- }, z.core.$strip>], "eventType">, z.ZodObject<{
4037
- integrationType: z.ZodLiteral<IntegrationType.WEBHOOK>;
4038
- eventType: z.ZodLiteral<"webhook">;
4039
- body: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4040
- headers: z.ZodRecord<z.ZodString, z.ZodString>;
4041
- method: z.ZodString;
4042
- }, z.core.$strip>, z.ZodObject<{
4043
- integrationType: z.ZodLiteral<IntegrationType.CRON_JOB>;
4044
- eventType: z.ZodLiteral<"cron">;
4045
- inputId: z.ZodString;
4046
- isManualTrigger: z.ZodOptional<z.ZodBoolean>;
4047
- manualContext: z.ZodOptional<z.ZodString>;
4048
- }, z.core.$strip>, z.ZodObject<{
4049
- integrationType: z.ZodEnum<typeof IntegrationType>;
4050
- eventType: z.ZodLiteral<"manual_sample">;
4051
- }, z.core.$strip>]>;
4052
- }, z.core.$strip>;
4053
- export type SerializedEvent = z.infer<typeof serializedEventSchema>;
4054
- export {};