managed-deepagents 0.9.3-dev.4 → 0.10.0-dev.2

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