managed-deepagents 0.9.6-dev.13 → 0.9.6-dev.15

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