github-webhook-schemas 0.2.3 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (907) hide show
  1. package/README.md +123 -0
  2. package/dist/chunk-h08cfvmd.js +5 -0
  3. package/dist/chunk-h08cfvmd.js.map +10 -0
  4. package/dist/chunk-sgm7k1ae.js +5 -0
  5. package/dist/chunk-sgm7k1ae.js.map +9 -0
  6. package/dist/event-types.d.ts +3 -0
  7. package/dist/event-types.d.ts.map +1 -0
  8. package/dist/event-types.js +4 -0
  9. package/dist/event-types.js.map +9 -0
  10. package/dist/fixtures/index.d.ts.map +1 -1
  11. package/dist/fixtures/index.js +2 -2
  12. package/dist/fixtures/index.js.map +3 -3
  13. package/dist/index.js +4 -0
  14. package/dist/index.js.map +9 -0
  15. package/dist/registry.d.ts +25 -0
  16. package/dist/registry.d.ts.map +1 -0
  17. package/dist/registry.js +4 -0
  18. package/dist/registry.js.map +10 -0
  19. package/dist/schemas/branch-protection-configuration-disabled-event.d.ts +25 -25
  20. package/dist/schemas/branch-protection-configuration-disabled-event.js +3 -3
  21. package/dist/schemas/branch-protection-configuration-disabled-event.js.map +2 -2
  22. package/dist/schemas/branch-protection-configuration-enabled-event.d.ts +25 -25
  23. package/dist/schemas/branch-protection-configuration-enabled-event.js +3 -3
  24. package/dist/schemas/branch-protection-configuration-enabled-event.js.map +2 -2
  25. package/dist/schemas/branch-protection-rule-created-event.d.ts +27 -27
  26. package/dist/schemas/branch-protection-rule-created-event.js +3 -3
  27. package/dist/schemas/branch-protection-rule-created-event.js.map +2 -2
  28. package/dist/schemas/branch-protection-rule-deleted-event.d.ts +27 -27
  29. package/dist/schemas/branch-protection-rule-deleted-event.js +3 -3
  30. package/dist/schemas/branch-protection-rule-deleted-event.js.map +2 -2
  31. package/dist/schemas/branch-protection-rule-edited-event.d.ts +31 -31
  32. package/dist/schemas/branch-protection-rule-edited-event.d.ts.map +1 -1
  33. package/dist/schemas/branch-protection-rule-edited-event.js +3 -3
  34. package/dist/schemas/branch-protection-rule-edited-event.js.map +3 -3
  35. package/dist/schemas/check-run-completed-event.d.ts +45 -45
  36. package/dist/schemas/check-run-completed-event.d.ts.map +1 -1
  37. package/dist/schemas/check-run-completed-event.js +3 -3
  38. package/dist/schemas/check-run-completed-event.js.map +3 -3
  39. package/dist/schemas/check-run-created-event.d.ts +46 -46
  40. package/dist/schemas/check-run-created-event.d.ts.map +1 -1
  41. package/dist/schemas/check-run-created-event.js +3 -3
  42. package/dist/schemas/check-run-created-event.js.map +3 -3
  43. package/dist/schemas/check-run-requested-action-event.d.ts +44 -44
  44. package/dist/schemas/check-run-requested-action-event.d.ts.map +1 -1
  45. package/dist/schemas/check-run-requested-action-event.js +3 -3
  46. package/dist/schemas/check-run-requested-action-event.js.map +3 -3
  47. package/dist/schemas/check-run-rerequested-event.d.ts +44 -44
  48. package/dist/schemas/check-run-rerequested-event.d.ts.map +1 -1
  49. package/dist/schemas/check-run-rerequested-event.js +3 -3
  50. package/dist/schemas/check-run-rerequested-event.js.map +3 -3
  51. package/dist/schemas/check-suite-completed-event.d.ts +38 -38
  52. package/dist/schemas/check-suite-completed-event.d.ts.map +1 -1
  53. package/dist/schemas/check-suite-completed-event.js +3 -3
  54. package/dist/schemas/check-suite-completed-event.js.map +3 -3
  55. package/dist/schemas/check-suite-requested-event.d.ts +38 -38
  56. package/dist/schemas/check-suite-requested-event.d.ts.map +1 -1
  57. package/dist/schemas/check-suite-requested-event.js +3 -3
  58. package/dist/schemas/check-suite-requested-event.js.map +3 -3
  59. package/dist/schemas/check-suite-rerequested-event.d.ts +36 -36
  60. package/dist/schemas/check-suite-rerequested-event.d.ts.map +1 -1
  61. package/dist/schemas/check-suite-rerequested-event.js +3 -3
  62. package/dist/schemas/check-suite-rerequested-event.js.map +3 -3
  63. package/dist/schemas/code-scanning-alert-appeared-in-branch-event.d.ts +39 -39
  64. package/dist/schemas/code-scanning-alert-appeared-in-branch-event.d.ts.map +1 -1
  65. package/dist/schemas/code-scanning-alert-appeared-in-branch-event.js +3 -3
  66. package/dist/schemas/code-scanning-alert-appeared-in-branch-event.js.map +3 -3
  67. package/dist/schemas/code-scanning-alert-closed-by-user-event.d.ts +38 -38
  68. package/dist/schemas/code-scanning-alert-closed-by-user-event.d.ts.map +1 -1
  69. package/dist/schemas/code-scanning-alert-closed-by-user-event.js +3 -3
  70. package/dist/schemas/code-scanning-alert-closed-by-user-event.js.map +3 -3
  71. package/dist/schemas/code-scanning-alert-created-event.d.ts +35 -35
  72. package/dist/schemas/code-scanning-alert-created-event.d.ts.map +1 -1
  73. package/dist/schemas/code-scanning-alert-created-event.js +3 -3
  74. package/dist/schemas/code-scanning-alert-created-event.js.map +3 -3
  75. package/dist/schemas/code-scanning-alert-fixed-event.d.ts +40 -40
  76. package/dist/schemas/code-scanning-alert-fixed-event.d.ts.map +1 -1
  77. package/dist/schemas/code-scanning-alert-fixed-event.js +3 -3
  78. package/dist/schemas/code-scanning-alert-fixed-event.js.map +3 -3
  79. package/dist/schemas/code-scanning-alert-reopened-by-user-event.d.ts +35 -35
  80. package/dist/schemas/code-scanning-alert-reopened-by-user-event.d.ts.map +1 -1
  81. package/dist/schemas/code-scanning-alert-reopened-by-user-event.js +3 -3
  82. package/dist/schemas/code-scanning-alert-reopened-by-user-event.js.map +3 -3
  83. package/dist/schemas/code-scanning-alert-reopened-event.d.ts +35 -35
  84. package/dist/schemas/code-scanning-alert-reopened-event.d.ts.map +1 -1
  85. package/dist/schemas/code-scanning-alert-reopened-event.js +3 -3
  86. package/dist/schemas/code-scanning-alert-reopened-event.js.map +3 -3
  87. package/dist/schemas/commit-comment-created-event.d.ts +29 -29
  88. package/dist/schemas/commit-comment-created-event.js +3 -3
  89. package/dist/schemas/commit-comment-created-event.js.map +3 -3
  90. package/dist/schemas/create-event.d.ts +26 -26
  91. package/dist/schemas/create-event.js +3 -3
  92. package/dist/schemas/create-event.js.map +3 -3
  93. package/dist/schemas/custom-property-created-event.d.ts +7 -7
  94. package/dist/schemas/custom-property-created-event.js +3 -3
  95. package/dist/schemas/custom-property-created-event.js.map +2 -2
  96. package/dist/schemas/custom-property-deleted-event.d.ts +2 -2
  97. package/dist/schemas/custom-property-deleted-event.js +3 -3
  98. package/dist/schemas/custom-property-deleted-event.js.map +2 -2
  99. package/dist/schemas/custom-property-values-updated-event.d.ts +27 -27
  100. package/dist/schemas/custom-property-values-updated-event.js +3 -3
  101. package/dist/schemas/custom-property-values-updated-event.js.map +2 -2
  102. package/dist/schemas/delete-event.d.ts +25 -25
  103. package/dist/schemas/delete-event.js +3 -3
  104. package/dist/schemas/delete-event.js.map +2 -2
  105. package/dist/schemas/dependabot-alert-created-event.d.ts +34 -34
  106. package/dist/schemas/dependabot-alert-created-event.js +3 -3
  107. package/dist/schemas/dependabot-alert-created-event.js.map +2 -2
  108. package/dist/schemas/dependabot-alert-dismissed-event.d.ts +36 -36
  109. package/dist/schemas/dependabot-alert-dismissed-event.js +3 -3
  110. package/dist/schemas/dependabot-alert-dismissed-event.js.map +2 -2
  111. package/dist/schemas/dependabot-alert-fixed-event.d.ts +34 -34
  112. package/dist/schemas/dependabot-alert-fixed-event.js +3 -3
  113. package/dist/schemas/dependabot-alert-fixed-event.js.map +2 -2
  114. package/dist/schemas/dependabot-alert-reintroduced-event.d.ts +34 -34
  115. package/dist/schemas/dependabot-alert-reintroduced-event.js +3 -3
  116. package/dist/schemas/dependabot-alert-reintroduced-event.js.map +2 -2
  117. package/dist/schemas/dependabot-alert-reopened-event.d.ts +35 -35
  118. package/dist/schemas/dependabot-alert-reopened-event.js +3 -3
  119. package/dist/schemas/dependabot-alert-reopened-event.js.map +2 -2
  120. package/dist/schemas/deploy-key-created-event.d.ts +25 -25
  121. package/dist/schemas/deploy-key-created-event.js +3 -3
  122. package/dist/schemas/deploy-key-created-event.js.map +2 -2
  123. package/dist/schemas/deploy-key-deleted-event.d.ts +25 -25
  124. package/dist/schemas/deploy-key-deleted-event.js +3 -3
  125. package/dist/schemas/deploy-key-deleted-event.js.map +2 -2
  126. package/dist/schemas/deployment-created-event.d.ts +37 -37
  127. package/dist/schemas/deployment-created-event.js +3 -3
  128. package/dist/schemas/deployment-created-event.js.map +2 -2
  129. package/dist/schemas/deployment-protection-rule-requested-event.d.ts +113 -113
  130. package/dist/schemas/deployment-protection-rule-requested-event.js +3 -3
  131. package/dist/schemas/deployment-protection-rule-requested-event.js.map +2 -2
  132. package/dist/schemas/deployment-review-approved-event.d.ts +43 -43
  133. package/dist/schemas/deployment-review-approved-event.d.ts.map +1 -1
  134. package/dist/schemas/deployment-review-approved-event.js +3 -3
  135. package/dist/schemas/deployment-review-approved-event.js.map +3 -3
  136. package/dist/schemas/deployment-review-rejected-event.d.ts +43 -43
  137. package/dist/schemas/deployment-review-rejected-event.d.ts.map +1 -1
  138. package/dist/schemas/deployment-review-rejected-event.js +3 -3
  139. package/dist/schemas/deployment-review-rejected-event.js.map +3 -3
  140. package/dist/schemas/deployment-review-requested-event.d.ts +42 -42
  141. package/dist/schemas/deployment-review-requested-event.d.ts.map +1 -1
  142. package/dist/schemas/deployment-review-requested-event.js +3 -3
  143. package/dist/schemas/deployment-review-requested-event.js.map +3 -3
  144. package/dist/schemas/deployment-status-created-event.d.ts +46 -46
  145. package/dist/schemas/deployment-status-created-event.d.ts.map +1 -1
  146. package/dist/schemas/deployment-status-created-event.js +3 -3
  147. package/dist/schemas/deployment-status-created-event.js.map +3 -3
  148. package/dist/schemas/discussion-answered-event.d.ts +32 -32
  149. package/dist/schemas/discussion-answered-event.js +3 -3
  150. package/dist/schemas/discussion-answered-event.js.map +2 -2
  151. package/dist/schemas/discussion-category-changed-event.d.ts +30 -30
  152. package/dist/schemas/discussion-category-changed-event.js +3 -3
  153. package/dist/schemas/discussion-category-changed-event.js.map +2 -2
  154. package/dist/schemas/discussion-comment-created-event.d.ts +32 -32
  155. package/dist/schemas/discussion-comment-created-event.js +3 -3
  156. package/dist/schemas/discussion-comment-created-event.js.map +3 -3
  157. package/dist/schemas/discussion-comment-deleted-event.d.ts +32 -32
  158. package/dist/schemas/discussion-comment-deleted-event.js +3 -3
  159. package/dist/schemas/discussion-comment-deleted-event.js.map +3 -3
  160. package/dist/schemas/discussion-comment-edited-event.d.ts +32 -32
  161. package/dist/schemas/discussion-comment-edited-event.js +3 -3
  162. package/dist/schemas/discussion-comment-edited-event.js.map +3 -3
  163. package/dist/schemas/discussion-created-event.d.ts +30 -30
  164. package/dist/schemas/discussion-created-event.js +3 -3
  165. package/dist/schemas/discussion-created-event.js.map +2 -2
  166. package/dist/schemas/discussion-deleted-event.d.ts +30 -30
  167. package/dist/schemas/discussion-deleted-event.js +3 -3
  168. package/dist/schemas/discussion-deleted-event.js.map +2 -2
  169. package/dist/schemas/discussion-edited-event.d.ts +32 -32
  170. package/dist/schemas/discussion-edited-event.d.ts.map +1 -1
  171. package/dist/schemas/discussion-edited-event.js +3 -3
  172. package/dist/schemas/discussion-edited-event.js.map +3 -3
  173. package/dist/schemas/discussion-labeled-event.d.ts +31 -31
  174. package/dist/schemas/discussion-labeled-event.js +3 -3
  175. package/dist/schemas/discussion-labeled-event.js.map +2 -2
  176. package/dist/schemas/discussion-locked-event.d.ts +30 -30
  177. package/dist/schemas/discussion-locked-event.js +3 -3
  178. package/dist/schemas/discussion-locked-event.js.map +2 -2
  179. package/dist/schemas/discussion-pinned-event.d.ts +30 -30
  180. package/dist/schemas/discussion-pinned-event.js +3 -3
  181. package/dist/schemas/discussion-pinned-event.js.map +2 -2
  182. package/dist/schemas/discussion-transferred-event.d.ts +58 -58
  183. package/dist/schemas/discussion-transferred-event.js +3 -3
  184. package/dist/schemas/discussion-transferred-event.js.map +2 -2
  185. package/dist/schemas/discussion-unanswered-event.d.ts +31 -31
  186. package/dist/schemas/discussion-unanswered-event.js +3 -3
  187. package/dist/schemas/discussion-unanswered-event.js.map +2 -2
  188. package/dist/schemas/discussion-unlabeled-event.d.ts +31 -31
  189. package/dist/schemas/discussion-unlabeled-event.js +3 -3
  190. package/dist/schemas/discussion-unlabeled-event.js.map +2 -2
  191. package/dist/schemas/discussion-unlocked-event.d.ts +30 -30
  192. package/dist/schemas/discussion-unlocked-event.js +3 -3
  193. package/dist/schemas/discussion-unlocked-event.js.map +2 -2
  194. package/dist/schemas/discussion-unpinned-event.d.ts +30 -30
  195. package/dist/schemas/discussion-unpinned-event.js +3 -3
  196. package/dist/schemas/discussion-unpinned-event.js.map +2 -2
  197. package/dist/schemas/fork-event.d.ts +48 -48
  198. package/dist/schemas/fork-event.js +3 -3
  199. package/dist/schemas/fork-event.js.map +2 -2
  200. package/dist/schemas/github-app-authorization-revoked-event.d.ts +1 -1
  201. package/dist/schemas/github-app-authorization-revoked-event.js +3 -3
  202. package/dist/schemas/github-app-authorization-revoked-event.js.map +2 -2
  203. package/dist/schemas/gollum-event.d.ts +25 -25
  204. package/dist/schemas/gollum-event.js +3 -3
  205. package/dist/schemas/gollum-event.js.map +2 -2
  206. package/dist/schemas/index.js +3 -2
  207. package/dist/schemas/index.js.map +1 -1
  208. package/dist/schemas/installation-created-event.d.ts +7 -7
  209. package/dist/schemas/installation-created-event.js +3 -3
  210. package/dist/schemas/installation-created-event.js.map +2 -2
  211. package/dist/schemas/installation-deleted-event.d.ts +6 -6
  212. package/dist/schemas/installation-deleted-event.js +3 -3
  213. package/dist/schemas/installation-deleted-event.js.map +2 -2
  214. package/dist/schemas/installation-new-permissions-accepted-event.d.ts +6 -6
  215. package/dist/schemas/installation-new-permissions-accepted-event.js +3 -3
  216. package/dist/schemas/installation-new-permissions-accepted-event.js.map +2 -2
  217. package/dist/schemas/installation-repositories-added-event.d.ts +7 -7
  218. package/dist/schemas/installation-repositories-added-event.js +3 -3
  219. package/dist/schemas/installation-repositories-added-event.js.map +2 -2
  220. package/dist/schemas/installation-repositories-removed-event.d.ts +7 -7
  221. package/dist/schemas/installation-repositories-removed-event.js +3 -3
  222. package/dist/schemas/installation-repositories-removed-event.js.map +2 -2
  223. package/dist/schemas/installation-suspend-event.d.ts +7 -7
  224. package/dist/schemas/installation-suspend-event.js +3 -3
  225. package/dist/schemas/installation-suspend-event.js.map +2 -2
  226. package/dist/schemas/installation-target-renamed-event.d.ts +29 -29
  227. package/dist/schemas/installation-target-renamed-event.js +3 -3
  228. package/dist/schemas/installation-target-renamed-event.js.map +3 -3
  229. package/dist/schemas/installation-unsuspend-event.d.ts +6 -6
  230. package/dist/schemas/installation-unsuspend-event.js +3 -3
  231. package/dist/schemas/installation-unsuspend-event.js.map +2 -2
  232. package/dist/schemas/issue-comment-created-event.d.ts +55 -55
  233. package/dist/schemas/issue-comment-created-event.js +3 -3
  234. package/dist/schemas/issue-comment-created-event.js.map +3 -3
  235. package/dist/schemas/issue-comment-deleted-event.d.ts +55 -55
  236. package/dist/schemas/issue-comment-deleted-event.js +3 -3
  237. package/dist/schemas/issue-comment-deleted-event.js.map +3 -3
  238. package/dist/schemas/issue-comment-edited-event.d.ts +55 -55
  239. package/dist/schemas/issue-comment-edited-event.js +3 -3
  240. package/dist/schemas/issue-comment-edited-event.js.map +3 -3
  241. package/dist/schemas/issues-assigned-event.d.ts +47 -47
  242. package/dist/schemas/issues-assigned-event.js +3 -3
  243. package/dist/schemas/issues-assigned-event.js.map +2 -2
  244. package/dist/schemas/issues-closed-event.d.ts +46 -46
  245. package/dist/schemas/issues-closed-event.js +3 -3
  246. package/dist/schemas/issues-closed-event.js.map +2 -2
  247. package/dist/schemas/issues-deleted-event.d.ts +46 -46
  248. package/dist/schemas/issues-deleted-event.js +3 -3
  249. package/dist/schemas/issues-deleted-event.js.map +2 -2
  250. package/dist/schemas/issues-demilestoned-event.d.ts +50 -50
  251. package/dist/schemas/issues-demilestoned-event.js +3 -3
  252. package/dist/schemas/issues-demilestoned-event.js.map +2 -2
  253. package/dist/schemas/issues-edited-event.d.ts +47 -47
  254. package/dist/schemas/issues-edited-event.js +3 -3
  255. package/dist/schemas/issues-edited-event.js.map +2 -2
  256. package/dist/schemas/issues-labeled-event.d.ts +47 -47
  257. package/dist/schemas/issues-labeled-event.js +3 -3
  258. package/dist/schemas/issues-labeled-event.js.map +2 -2
  259. package/dist/schemas/issues-locked-event.d.ts +47 -47
  260. package/dist/schemas/issues-locked-event.d.ts.map +1 -1
  261. package/dist/schemas/issues-locked-event.js +3 -3
  262. package/dist/schemas/issues-locked-event.js.map +3 -3
  263. package/dist/schemas/issues-milestoned-event.d.ts +54 -54
  264. package/dist/schemas/issues-milestoned-event.js +3 -3
  265. package/dist/schemas/issues-milestoned-event.js.map +2 -2
  266. package/dist/schemas/issues-opened-event.d.ts +90 -90
  267. package/dist/schemas/issues-opened-event.js +3 -3
  268. package/dist/schemas/issues-opened-event.js.map +2 -2
  269. package/dist/schemas/issues-pinned-event.d.ts +46 -46
  270. package/dist/schemas/issues-pinned-event.js +3 -3
  271. package/dist/schemas/issues-pinned-event.js.map +2 -2
  272. package/dist/schemas/issues-reopened-event.d.ts +46 -46
  273. package/dist/schemas/issues-reopened-event.js +3 -3
  274. package/dist/schemas/issues-reopened-event.js.map +2 -2
  275. package/dist/schemas/issues-transferred-event.d.ts +90 -90
  276. package/dist/schemas/issues-transferred-event.js +3 -3
  277. package/dist/schemas/issues-transferred-event.js.map +2 -2
  278. package/dist/schemas/issues-unassigned-event.d.ts +47 -47
  279. package/dist/schemas/issues-unassigned-event.js +3 -3
  280. package/dist/schemas/issues-unassigned-event.js.map +2 -2
  281. package/dist/schemas/issues-unlabeled-event.d.ts +47 -47
  282. package/dist/schemas/issues-unlabeled-event.js +3 -3
  283. package/dist/schemas/issues-unlabeled-event.js.map +2 -2
  284. package/dist/schemas/issues-unlocked-event.d.ts +46 -46
  285. package/dist/schemas/issues-unlocked-event.js +3 -3
  286. package/dist/schemas/issues-unlocked-event.js.map +2 -2
  287. package/dist/schemas/issues-unpinned-event.d.ts +46 -46
  288. package/dist/schemas/issues-unpinned-event.js +3 -3
  289. package/dist/schemas/issues-unpinned-event.js.map +2 -2
  290. package/dist/schemas/label-created-event.d.ts +26 -26
  291. package/dist/schemas/label-created-event.js +3 -3
  292. package/dist/schemas/label-created-event.js.map +2 -2
  293. package/dist/schemas/label-deleted-event.d.ts +26 -26
  294. package/dist/schemas/label-deleted-event.js +3 -3
  295. package/dist/schemas/label-deleted-event.js.map +2 -2
  296. package/dist/schemas/label-edited-event.d.ts +28 -28
  297. package/dist/schemas/label-edited-event.d.ts.map +1 -1
  298. package/dist/schemas/label-edited-event.js +3 -3
  299. package/dist/schemas/label-edited-event.js.map +3 -3
  300. package/dist/schemas/marketplace-purchase-cancelled-event.d.ts +4 -4
  301. package/dist/schemas/marketplace-purchase-cancelled-event.js +3 -3
  302. package/dist/schemas/marketplace-purchase-cancelled-event.js.map +2 -2
  303. package/dist/schemas/marketplace-purchase-changed-event.d.ts +4 -4
  304. package/dist/schemas/marketplace-purchase-changed-event.js +3 -3
  305. package/dist/schemas/marketplace-purchase-changed-event.js.map +2 -2
  306. package/dist/schemas/marketplace-purchase-pending-change-cancelled-event.d.ts +4 -4
  307. package/dist/schemas/marketplace-purchase-pending-change-cancelled-event.js +3 -3
  308. package/dist/schemas/marketplace-purchase-pending-change-cancelled-event.js.map +2 -2
  309. package/dist/schemas/marketplace-purchase-pending-change-event.d.ts +4 -4
  310. package/dist/schemas/marketplace-purchase-pending-change-event.js +3 -3
  311. package/dist/schemas/marketplace-purchase-pending-change-event.js.map +2 -2
  312. package/dist/schemas/marketplace-purchase-purchased-event.d.ts +4 -4
  313. package/dist/schemas/marketplace-purchase-purchased-event.js +3 -3
  314. package/dist/schemas/marketplace-purchase-purchased-event.js.map +2 -2
  315. package/dist/schemas/member-added-event.d.ts +28 -28
  316. package/dist/schemas/member-added-event.d.ts.map +1 -1
  317. package/dist/schemas/member-added-event.js +3 -3
  318. package/dist/schemas/member-added-event.js.map +3 -3
  319. package/dist/schemas/member-edited-event.d.ts +26 -26
  320. package/dist/schemas/member-edited-event.js +3 -3
  321. package/dist/schemas/member-edited-event.js.map +2 -2
  322. package/dist/schemas/member-removed-event.d.ts +26 -26
  323. package/dist/schemas/member-removed-event.js +3 -3
  324. package/dist/schemas/member-removed-event.js.map +2 -2
  325. package/dist/schemas/membership-added-event.d.ts +7 -7
  326. package/dist/schemas/membership-added-event.js +3 -3
  327. package/dist/schemas/membership-added-event.js.map +2 -2
  328. package/dist/schemas/membership-removed-event.d.ts +8 -8
  329. package/dist/schemas/membership-removed-event.js +3 -3
  330. package/dist/schemas/membership-removed-event.js.map +3 -3
  331. package/dist/schemas/merge-group-checks-requested-event.d.ts +25 -25
  332. package/dist/schemas/merge-group-checks-requested-event.js +3 -3
  333. package/dist/schemas/merge-group-checks-requested-event.js.map +2 -2
  334. package/dist/schemas/merge-group-destroyed-event.d.ts +25 -25
  335. package/dist/schemas/merge-group-destroyed-event.js +3 -3
  336. package/dist/schemas/merge-group-destroyed-event.js.map +2 -2
  337. package/dist/schemas/meta-deleted-event.d.ts +24 -24
  338. package/dist/schemas/meta-deleted-event.js +3 -3
  339. package/dist/schemas/meta-deleted-event.js.map +2 -2
  340. package/dist/schemas/milestone-closed-event.d.ts +29 -29
  341. package/dist/schemas/milestone-closed-event.js +3 -3
  342. package/dist/schemas/milestone-closed-event.js.map +2 -2
  343. package/dist/schemas/milestone-created-event.d.ts +29 -29
  344. package/dist/schemas/milestone-created-event.js +3 -3
  345. package/dist/schemas/milestone-created-event.js.map +2 -2
  346. package/dist/schemas/milestone-deleted-event.d.ts +29 -29
  347. package/dist/schemas/milestone-deleted-event.js +3 -3
  348. package/dist/schemas/milestone-deleted-event.js.map +2 -2
  349. package/dist/schemas/milestone-edited-event.d.ts +29 -29
  350. package/dist/schemas/milestone-edited-event.js +3 -3
  351. package/dist/schemas/milestone-edited-event.js.map +2 -2
  352. package/dist/schemas/milestone-opened-event.d.ts +29 -29
  353. package/dist/schemas/milestone-opened-event.js +3 -3
  354. package/dist/schemas/milestone-opened-event.js.map +2 -2
  355. package/dist/schemas/org-block-blocked-event.d.ts +3 -3
  356. package/dist/schemas/org-block-blocked-event.js +3 -3
  357. package/dist/schemas/org-block-blocked-event.js.map +2 -2
  358. package/dist/schemas/org-block-unblocked-event.d.ts +3 -3
  359. package/dist/schemas/org-block-unblocked-event.js +3 -3
  360. package/dist/schemas/org-block-unblocked-event.js.map +2 -2
  361. package/dist/schemas/organization-deleted-event.d.ts +3 -3
  362. package/dist/schemas/organization-deleted-event.js +3 -3
  363. package/dist/schemas/organization-deleted-event.js.map +2 -2
  364. package/dist/schemas/organization-member-added-event.d.ts +3 -3
  365. package/dist/schemas/organization-member-added-event.js +3 -3
  366. package/dist/schemas/organization-member-added-event.js.map +2 -2
  367. package/dist/schemas/organization-member-invited-event.d.ts +7 -7
  368. package/dist/schemas/organization-member-invited-event.js +3 -3
  369. package/dist/schemas/organization-member-invited-event.js.map +3 -3
  370. package/dist/schemas/organization-member-removed-event.d.ts +3 -3
  371. package/dist/schemas/organization-member-removed-event.js +3 -3
  372. package/dist/schemas/organization-member-removed-event.js.map +2 -2
  373. package/dist/schemas/organization-renamed-event.d.ts +2 -2
  374. package/dist/schemas/organization-renamed-event.js +3 -3
  375. package/dist/schemas/organization-renamed-event.js.map +2 -2
  376. package/dist/schemas/package-published-event.d.ts +86 -86
  377. package/dist/schemas/package-published-event.d.ts.map +1 -1
  378. package/dist/schemas/package-published-event.js +3 -3
  379. package/dist/schemas/package-published-event.js.map +3 -3
  380. package/dist/schemas/package-updated-event.d.ts +86 -86
  381. package/dist/schemas/package-updated-event.d.ts.map +1 -1
  382. package/dist/schemas/package-updated-event.js +3 -3
  383. package/dist/schemas/package-updated-event.js.map +3 -3
  384. package/dist/schemas/page-build-event.d.ts +27 -27
  385. package/dist/schemas/page-build-event.js +3 -3
  386. package/dist/schemas/page-build-event.js.map +3 -3
  387. package/dist/schemas/ping-event.d.ts +25 -25
  388. package/dist/schemas/ping-event.js +3 -3
  389. package/dist/schemas/ping-event.js.map +2 -2
  390. package/dist/schemas/project-card-converted-event.d.ts +28 -28
  391. package/dist/schemas/project-card-converted-event.js +3 -3
  392. package/dist/schemas/project-card-converted-event.js.map +2 -2
  393. package/dist/schemas/project-card-created-event.d.ts +28 -28
  394. package/dist/schemas/project-card-created-event.js +3 -3
  395. package/dist/schemas/project-card-created-event.js.map +2 -2
  396. package/dist/schemas/project-card-deleted-event.d.ts +28 -28
  397. package/dist/schemas/project-card-deleted-event.js +3 -3
  398. package/dist/schemas/project-card-deleted-event.js.map +2 -2
  399. package/dist/schemas/project-card-edited-event.d.ts +28 -28
  400. package/dist/schemas/project-card-edited-event.js +3 -3
  401. package/dist/schemas/project-card-edited-event.js.map +2 -2
  402. package/dist/schemas/project-card-moved-event.d.ts +29 -29
  403. package/dist/schemas/project-card-moved-event.js +3 -3
  404. package/dist/schemas/project-card-moved-event.js.map +3 -3
  405. package/dist/schemas/project-closed-event.d.ts +27 -27
  406. package/dist/schemas/project-closed-event.js +3 -3
  407. package/dist/schemas/project-closed-event.js.map +2 -2
  408. package/dist/schemas/project-column-created-event.d.ts +25 -25
  409. package/dist/schemas/project-column-created-event.js +3 -3
  410. package/dist/schemas/project-column-created-event.js.map +2 -2
  411. package/dist/schemas/project-column-deleted-event.d.ts +25 -25
  412. package/dist/schemas/project-column-deleted-event.js +3 -3
  413. package/dist/schemas/project-column-deleted-event.js.map +2 -2
  414. package/dist/schemas/project-column-edited-event.d.ts +25 -25
  415. package/dist/schemas/project-column-edited-event.js +3 -3
  416. package/dist/schemas/project-column-edited-event.js.map +2 -2
  417. package/dist/schemas/project-column-moved-event.d.ts +25 -25
  418. package/dist/schemas/project-column-moved-event.js +3 -3
  419. package/dist/schemas/project-column-moved-event.js.map +2 -2
  420. package/dist/schemas/project-created-event.d.ts +27 -27
  421. package/dist/schemas/project-created-event.js +3 -3
  422. package/dist/schemas/project-created-event.js.map +2 -2
  423. package/dist/schemas/project-deleted-event.d.ts +27 -27
  424. package/dist/schemas/project-deleted-event.js +3 -3
  425. package/dist/schemas/project-deleted-event.js.map +2 -2
  426. package/dist/schemas/project-edited-event.d.ts +29 -29
  427. package/dist/schemas/project-edited-event.d.ts.map +1 -1
  428. package/dist/schemas/project-edited-event.js +3 -3
  429. package/dist/schemas/project-edited-event.js.map +3 -3
  430. package/dist/schemas/project-reopened-event.d.ts +27 -27
  431. package/dist/schemas/project-reopened-event.js +3 -3
  432. package/dist/schemas/project-reopened-event.js.map +2 -2
  433. package/dist/schemas/projects-v2-item-archived-event.d.ts +4 -4
  434. package/dist/schemas/projects-v2-item-archived-event.js +3 -3
  435. package/dist/schemas/projects-v2-item-archived-event.js.map +2 -2
  436. package/dist/schemas/projects-v2-item-converted-event.d.ts +4 -4
  437. package/dist/schemas/projects-v2-item-converted-event.js +3 -3
  438. package/dist/schemas/projects-v2-item-converted-event.js.map +2 -2
  439. package/dist/schemas/projects-v2-item-created-event.d.ts +4 -4
  440. package/dist/schemas/projects-v2-item-created-event.js +3 -3
  441. package/dist/schemas/projects-v2-item-created-event.js.map +2 -2
  442. package/dist/schemas/projects-v2-item-deleted-event.d.ts +4 -4
  443. package/dist/schemas/projects-v2-item-deleted-event.js +3 -3
  444. package/dist/schemas/projects-v2-item-deleted-event.js.map +2 -2
  445. package/dist/schemas/projects-v2-item-edited-event.d.ts +4 -4
  446. package/dist/schemas/projects-v2-item-edited-event.js +3 -3
  447. package/dist/schemas/projects-v2-item-edited-event.js.map +2 -2
  448. package/dist/schemas/projects-v2-item-reordered-event.d.ts +5 -5
  449. package/dist/schemas/projects-v2-item-reordered-event.js +3 -3
  450. package/dist/schemas/projects-v2-item-reordered-event.js.map +3 -3
  451. package/dist/schemas/projects-v2-item-restored-event.d.ts +4 -4
  452. package/dist/schemas/projects-v2-item-restored-event.js +3 -3
  453. package/dist/schemas/projects-v2-item-restored-event.js.map +2 -2
  454. package/dist/schemas/public-event.d.ts +25 -25
  455. package/dist/schemas/public-event.js +3 -3
  456. package/dist/schemas/public-event.js.map +2 -2
  457. package/dist/schemas/pull-request-assigned-event.d.ts +105 -105
  458. package/dist/schemas/pull-request-assigned-event.js +3 -3
  459. package/dist/schemas/pull-request-assigned-event.js.map +2 -2
  460. package/dist/schemas/pull-request-auto-merge-disabled-event.d.ts +104 -104
  461. package/dist/schemas/pull-request-auto-merge-disabled-event.js +3 -3
  462. package/dist/schemas/pull-request-auto-merge-disabled-event.js.map +2 -2
  463. package/dist/schemas/pull-request-auto-merge-enabled-event.d.ts +104 -104
  464. package/dist/schemas/pull-request-auto-merge-enabled-event.js +3 -3
  465. package/dist/schemas/pull-request-auto-merge-enabled-event.js.map +2 -2
  466. package/dist/schemas/pull-request-closed-event.d.ts +104 -104
  467. package/dist/schemas/pull-request-closed-event.js +3 -3
  468. package/dist/schemas/pull-request-closed-event.js.map +2 -2
  469. package/dist/schemas/pull-request-converted-to-draft-event.d.ts +104 -104
  470. package/dist/schemas/pull-request-converted-to-draft-event.js +3 -3
  471. package/dist/schemas/pull-request-converted-to-draft-event.js.map +2 -2
  472. package/dist/schemas/pull-request-demilestoned-event.d.ts +112 -112
  473. package/dist/schemas/pull-request-demilestoned-event.js +3 -3
  474. package/dist/schemas/pull-request-demilestoned-event.js.map +2 -2
  475. package/dist/schemas/pull-request-dequeued-event.d.ts +104 -104
  476. package/dist/schemas/pull-request-dequeued-event.js +3 -3
  477. package/dist/schemas/pull-request-dequeued-event.js.map +2 -2
  478. package/dist/schemas/pull-request-edited-event.d.ts +104 -104
  479. package/dist/schemas/pull-request-edited-event.js +3 -3
  480. package/dist/schemas/pull-request-edited-event.js.map +2 -2
  481. package/dist/schemas/pull-request-enqueued-event.d.ts +104 -104
  482. package/dist/schemas/pull-request-enqueued-event.js +3 -3
  483. package/dist/schemas/pull-request-enqueued-event.js.map +2 -2
  484. package/dist/schemas/pull-request-labeled-event.d.ts +105 -105
  485. package/dist/schemas/pull-request-labeled-event.js +3 -3
  486. package/dist/schemas/pull-request-labeled-event.js.map +2 -2
  487. package/dist/schemas/pull-request-locked-event.d.ts +104 -104
  488. package/dist/schemas/pull-request-locked-event.js +3 -3
  489. package/dist/schemas/pull-request-locked-event.js.map +2 -2
  490. package/dist/schemas/pull-request-milestoned-event.d.ts +112 -112
  491. package/dist/schemas/pull-request-milestoned-event.js +3 -3
  492. package/dist/schemas/pull-request-milestoned-event.js.map +2 -2
  493. package/dist/schemas/pull-request-opened-event.d.ts +104 -104
  494. package/dist/schemas/pull-request-opened-event.js +3 -3
  495. package/dist/schemas/pull-request-opened-event.js.map +2 -2
  496. package/dist/schemas/pull-request-ready-for-review-event.d.ts +104 -104
  497. package/dist/schemas/pull-request-ready-for-review-event.js +3 -3
  498. package/dist/schemas/pull-request-ready-for-review-event.js.map +2 -2
  499. package/dist/schemas/pull-request-reopened-event.d.ts +104 -104
  500. package/dist/schemas/pull-request-reopened-event.js +3 -3
  501. package/dist/schemas/pull-request-reopened-event.js.map +2 -2
  502. package/dist/schemas/pull-request-review-comment-created-event.d.ts +111 -111
  503. package/dist/schemas/pull-request-review-comment-created-event.d.ts.map +1 -1
  504. package/dist/schemas/pull-request-review-comment-created-event.js +3 -3
  505. package/dist/schemas/pull-request-review-comment-created-event.js.map +3 -3
  506. package/dist/schemas/pull-request-review-comment-deleted-event.d.ts +111 -111
  507. package/dist/schemas/pull-request-review-comment-deleted-event.d.ts.map +1 -1
  508. package/dist/schemas/pull-request-review-comment-deleted-event.js +3 -3
  509. package/dist/schemas/pull-request-review-comment-deleted-event.js.map +3 -3
  510. package/dist/schemas/pull-request-review-comment-edited-event.d.ts +111 -111
  511. package/dist/schemas/pull-request-review-comment-edited-event.d.ts.map +1 -1
  512. package/dist/schemas/pull-request-review-comment-edited-event.js +3 -3
  513. package/dist/schemas/pull-request-review-comment-edited-event.js.map +3 -3
  514. package/dist/schemas/pull-request-review-dismissed-event.d.ts +101 -101
  515. package/dist/schemas/pull-request-review-dismissed-event.js +3 -3
  516. package/dist/schemas/pull-request-review-dismissed-event.js.map +2 -2
  517. package/dist/schemas/pull-request-review-edited-event.d.ts +101 -101
  518. package/dist/schemas/pull-request-review-edited-event.js +3 -3
  519. package/dist/schemas/pull-request-review-edited-event.js.map +2 -2
  520. package/dist/schemas/pull-request-review-submitted-event.d.ts +101 -101
  521. package/dist/schemas/pull-request-review-submitted-event.js +3 -3
  522. package/dist/schemas/pull-request-review-submitted-event.js.map +2 -2
  523. package/dist/schemas/pull-request-review-thread-resolved-event.d.ts +104 -104
  524. package/dist/schemas/pull-request-review-thread-resolved-event.js +3 -3
  525. package/dist/schemas/pull-request-review-thread-resolved-event.js.map +2 -2
  526. package/dist/schemas/pull-request-review-thread-unresolved-event.d.ts +104 -104
  527. package/dist/schemas/pull-request-review-thread-unresolved-event.js +3 -3
  528. package/dist/schemas/pull-request-review-thread-unresolved-event.js.map +2 -2
  529. package/dist/schemas/pull-request-synchronize-event.d.ts +104 -104
  530. package/dist/schemas/pull-request-synchronize-event.js +3 -3
  531. package/dist/schemas/pull-request-synchronize-event.js.map +2 -2
  532. package/dist/schemas/pull-request-unassigned-event.d.ts +105 -105
  533. package/dist/schemas/pull-request-unassigned-event.js +3 -3
  534. package/dist/schemas/pull-request-unassigned-event.js.map +2 -2
  535. package/dist/schemas/pull-request-unlabeled-event.d.ts +105 -105
  536. package/dist/schemas/pull-request-unlabeled-event.js +3 -3
  537. package/dist/schemas/pull-request-unlabeled-event.js.map +2 -2
  538. package/dist/schemas/pull-request-unlocked-event.d.ts +104 -104
  539. package/dist/schemas/pull-request-unlocked-event.js +3 -3
  540. package/dist/schemas/pull-request-unlocked-event.js.map +2 -2
  541. package/dist/schemas/push-event.d.ts +31 -31
  542. package/dist/schemas/push-event.js +3 -3
  543. package/dist/schemas/push-event.js.map +3 -3
  544. package/dist/schemas/registry-package-published-event.d.ts +98 -98
  545. package/dist/schemas/registry-package-published-event.d.ts.map +1 -1
  546. package/dist/schemas/registry-package-published-event.js +3 -3
  547. package/dist/schemas/registry-package-published-event.js.map +3 -3
  548. package/dist/schemas/registry-package-updated-event.d.ts +98 -98
  549. package/dist/schemas/registry-package-updated-event.d.ts.map +1 -1
  550. package/dist/schemas/registry-package-updated-event.js +3 -3
  551. package/dist/schemas/registry-package-updated-event.js.map +3 -3
  552. package/dist/schemas/release-created-event.d.ts +32 -32
  553. package/dist/schemas/release-created-event.js +3 -3
  554. package/dist/schemas/release-created-event.js.map +2 -2
  555. package/dist/schemas/release-deleted-event.d.ts +32 -32
  556. package/dist/schemas/release-deleted-event.js +3 -3
  557. package/dist/schemas/release-deleted-event.js.map +2 -2
  558. package/dist/schemas/release-edited-event.d.ts +32 -32
  559. package/dist/schemas/release-edited-event.js +3 -3
  560. package/dist/schemas/release-edited-event.js.map +2 -2
  561. package/dist/schemas/release-prereleased-event.d.ts +32 -32
  562. package/dist/schemas/release-prereleased-event.js +3 -3
  563. package/dist/schemas/release-prereleased-event.js.map +2 -2
  564. package/dist/schemas/release-published-event.d.ts +32 -32
  565. package/dist/schemas/release-published-event.js +3 -3
  566. package/dist/schemas/release-published-event.js.map +2 -2
  567. package/dist/schemas/release-released-event.d.ts +32 -32
  568. package/dist/schemas/release-released-event.js +3 -3
  569. package/dist/schemas/release-released-event.js.map +2 -2
  570. package/dist/schemas/release-unpublished-event.d.ts +32 -32
  571. package/dist/schemas/release-unpublished-event.js +3 -3
  572. package/dist/schemas/release-unpublished-event.js.map +2 -2
  573. package/dist/schemas/repository-archived-event.d.ts +25 -25
  574. package/dist/schemas/repository-archived-event.js +3 -3
  575. package/dist/schemas/repository-archived-event.js.map +2 -2
  576. package/dist/schemas/repository-created-event.d.ts +25 -25
  577. package/dist/schemas/repository-created-event.js +3 -3
  578. package/dist/schemas/repository-created-event.js.map +2 -2
  579. package/dist/schemas/repository-deleted-event.d.ts +25 -25
  580. package/dist/schemas/repository-deleted-event.js +3 -3
  581. package/dist/schemas/repository-deleted-event.js.map +2 -2
  582. package/dist/schemas/repository-dispatch-event.d.ts +26 -26
  583. package/dist/schemas/repository-dispatch-event.js +3 -3
  584. package/dist/schemas/repository-dispatch-event.js.map +3 -3
  585. package/dist/schemas/repository-edited-event.d.ts +27 -27
  586. package/dist/schemas/repository-edited-event.js +3 -3
  587. package/dist/schemas/repository-edited-event.js.map +3 -3
  588. package/dist/schemas/repository-import-event.d.ts +25 -25
  589. package/dist/schemas/repository-import-event.js +3 -3
  590. package/dist/schemas/repository-import-event.js.map +2 -2
  591. package/dist/schemas/repository-privatized-event.d.ts +25 -25
  592. package/dist/schemas/repository-privatized-event.js +3 -3
  593. package/dist/schemas/repository-privatized-event.js.map +2 -2
  594. package/dist/schemas/repository-publicized-event.d.ts +25 -25
  595. package/dist/schemas/repository-publicized-event.js +3 -3
  596. package/dist/schemas/repository-publicized-event.js.map +2 -2
  597. package/dist/schemas/repository-renamed-event.d.ts +25 -25
  598. package/dist/schemas/repository-renamed-event.js +3 -3
  599. package/dist/schemas/repository-renamed-event.js.map +2 -2
  600. package/dist/schemas/repository-transferred-event.d.ts +26 -26
  601. package/dist/schemas/repository-transferred-event.js +3 -3
  602. package/dist/schemas/repository-transferred-event.js.map +2 -2
  603. package/dist/schemas/repository-unarchived-event.d.ts +25 -25
  604. package/dist/schemas/repository-unarchived-event.js +3 -3
  605. package/dist/schemas/repository-unarchived-event.js.map +2 -2
  606. package/dist/schemas/repository-vulnerability-alert-create-event.d.ts +25 -25
  607. package/dist/schemas/repository-vulnerability-alert-create-event.js +3 -3
  608. package/dist/schemas/repository-vulnerability-alert-create-event.js.map +2 -2
  609. package/dist/schemas/repository-vulnerability-alert-dismiss-event.d.ts +26 -26
  610. package/dist/schemas/repository-vulnerability-alert-dismiss-event.js +3 -3
  611. package/dist/schemas/repository-vulnerability-alert-dismiss-event.js.map +2 -2
  612. package/dist/schemas/repository-vulnerability-alert-reopen-event.d.ts +25 -25
  613. package/dist/schemas/repository-vulnerability-alert-reopen-event.js +3 -3
  614. package/dist/schemas/repository-vulnerability-alert-reopen-event.js.map +2 -2
  615. package/dist/schemas/repository-vulnerability-alert-resolve-event.d.ts +25 -25
  616. package/dist/schemas/repository-vulnerability-alert-resolve-event.js +3 -3
  617. package/dist/schemas/repository-vulnerability-alert-resolve-event.js.map +2 -2
  618. package/dist/schemas/secret-scanning-alert-created-event.d.ts +32 -32
  619. package/dist/schemas/secret-scanning-alert-created-event.js +3 -3
  620. package/dist/schemas/secret-scanning-alert-created-event.js.map +2 -2
  621. package/dist/schemas/secret-scanning-alert-location-created-event.d.ts +33 -33
  622. package/dist/schemas/secret-scanning-alert-location-created-event.js +3 -3
  623. package/dist/schemas/secret-scanning-alert-location-created-event.js.map +2 -2
  624. package/dist/schemas/secret-scanning-alert-reopened-event.d.ts +25 -25
  625. package/dist/schemas/secret-scanning-alert-reopened-event.js +3 -3
  626. package/dist/schemas/secret-scanning-alert-reopened-event.js.map +2 -2
  627. package/dist/schemas/secret-scanning-alert-resolved-event.d.ts +34 -34
  628. package/dist/schemas/secret-scanning-alert-resolved-event.js +3 -3
  629. package/dist/schemas/secret-scanning-alert-resolved-event.js.map +2 -2
  630. package/dist/schemas/secret-scanning-alert-revoked-event.d.ts +34 -34
  631. package/dist/schemas/secret-scanning-alert-revoked-event.js +3 -3
  632. package/dist/schemas/secret-scanning-alert-revoked-event.js.map +2 -2
  633. package/dist/schemas/security-advisory-performed-event.d.ts +5 -5
  634. package/dist/schemas/security-advisory-performed-event.d.ts.map +1 -1
  635. package/dist/schemas/security-advisory-performed-event.js +3 -3
  636. package/dist/schemas/security-advisory-performed-event.js.map +3 -3
  637. package/dist/schemas/security-advisory-published-event.d.ts +5 -5
  638. package/dist/schemas/security-advisory-published-event.d.ts.map +1 -1
  639. package/dist/schemas/security-advisory-published-event.js +3 -3
  640. package/dist/schemas/security-advisory-published-event.js.map +3 -3
  641. package/dist/schemas/security-advisory-updated-event.d.ts +5 -5
  642. package/dist/schemas/security-advisory-updated-event.d.ts.map +1 -1
  643. package/dist/schemas/security-advisory-updated-event.js +3 -3
  644. package/dist/schemas/security-advisory-updated-event.js.map +3 -3
  645. package/dist/schemas/security-advisory-withdrawn-event.d.ts +4 -4
  646. package/dist/schemas/security-advisory-withdrawn-event.d.ts.map +1 -1
  647. package/dist/schemas/security-advisory-withdrawn-event.js +3 -3
  648. package/dist/schemas/security-advisory-withdrawn-event.js.map +3 -3
  649. package/dist/schemas/shared/alert-instance.d.ts +4 -4
  650. package/dist/schemas/shared/alert-instance.d.ts.map +1 -1
  651. package/dist/schemas/shared/alert-instance.js +2 -2
  652. package/dist/schemas/shared/alert-instance.js.map +3 -3
  653. package/dist/schemas/shared/app.d.ts +4 -4
  654. package/dist/schemas/shared/app.d.ts.map +1 -1
  655. package/dist/schemas/shared/app.js +3 -3
  656. package/dist/schemas/shared/app.js.map +3 -3
  657. package/dist/schemas/shared/branch-protection-rule.d.ts +2 -2
  658. package/dist/schemas/shared/branch-protection-rule.js +3 -3
  659. package/dist/schemas/shared/branch-protection-rule.js.map +3 -3
  660. package/dist/schemas/shared/check-run-deployment.d.ts +1 -1
  661. package/dist/schemas/shared/check-run-deployment.js +3 -3
  662. package/dist/schemas/shared/check-run-deployment.js.map +3 -3
  663. package/dist/schemas/shared/check-run-pull-request.js +3 -3
  664. package/dist/schemas/shared/check-run-pull-request.js.map +2 -2
  665. package/dist/schemas/shared/commit.d.ts +2 -2
  666. package/dist/schemas/shared/commit.js +3 -3
  667. package/dist/schemas/shared/commit.js.map +2 -2
  668. package/dist/schemas/shared/committer.d.ts +1 -1
  669. package/dist/schemas/shared/committer.js +3 -3
  670. package/dist/schemas/shared/committer.js.map +3 -3
  671. package/dist/schemas/shared/custom-property-value.d.ts +1 -1
  672. package/dist/schemas/shared/custom-property-value.js +3 -3
  673. package/dist/schemas/shared/custom-property-value.js.map +3 -3
  674. package/dist/schemas/shared/dependabot-alert-package.js +3 -3
  675. package/dist/schemas/shared/dependabot-alert-package.js.map +2 -2
  676. package/dist/schemas/shared/dependabot-alert.d.ts +10 -10
  677. package/dist/schemas/shared/dependabot-alert.d.ts.map +1 -1
  678. package/dist/schemas/shared/dependabot-alert.js +3 -3
  679. package/dist/schemas/shared/dependabot-alert.js.map +3 -3
  680. package/dist/schemas/shared/deployment-workflow-run.d.ts +3 -3
  681. package/dist/schemas/shared/deployment-workflow-run.d.ts.map +1 -1
  682. package/dist/schemas/shared/deployment-workflow-run.js +3 -3
  683. package/dist/schemas/shared/deployment-workflow-run.js.map +3 -3
  684. package/dist/schemas/shared/deployment.d.ts +9 -9
  685. package/dist/schemas/shared/deployment.js +3 -3
  686. package/dist/schemas/shared/deployment.js.map +3 -3
  687. package/dist/schemas/shared/discussion-category.js +3 -3
  688. package/dist/schemas/shared/discussion-category.js.map +2 -2
  689. package/dist/schemas/shared/discussion.d.ts +5 -5
  690. package/dist/schemas/shared/discussion.js +3 -3
  691. package/dist/schemas/shared/discussion.js.map +3 -3
  692. package/dist/schemas/shared/git-hub-org.js +3 -3
  693. package/dist/schemas/shared/git-hub-org.js.map +2 -2
  694. package/dist/schemas/shared/index.js +2 -2
  695. package/dist/schemas/shared/index.js.map +1 -1
  696. package/dist/schemas/shared/installation-lite.js +3 -3
  697. package/dist/schemas/shared/installation-lite.js.map +2 -2
  698. package/dist/schemas/shared/installation.d.ts +5 -5
  699. package/dist/schemas/shared/installation.js +3 -3
  700. package/dist/schemas/shared/installation.js.map +3 -3
  701. package/dist/schemas/shared/issue-comment.d.ts +5 -5
  702. package/dist/schemas/shared/issue-comment.js +3 -3
  703. package/dist/schemas/shared/issue-comment.js.map +2 -2
  704. package/dist/schemas/shared/issue.d.ts +21 -21
  705. package/dist/schemas/shared/issue.d.ts.map +1 -1
  706. package/dist/schemas/shared/issue.js +3 -3
  707. package/dist/schemas/shared/issue.js.map +3 -3
  708. package/dist/schemas/shared/label.d.ts +1 -1
  709. package/dist/schemas/shared/label.js +3 -3
  710. package/dist/schemas/shared/label.js.map +3 -3
  711. package/dist/schemas/shared/license.d.ts +1 -1
  712. package/dist/schemas/shared/license.js +3 -3
  713. package/dist/schemas/shared/license.js.map +3 -3
  714. package/dist/schemas/shared/link.js +3 -3
  715. package/dist/schemas/shared/link.js.map +2 -2
  716. package/dist/schemas/shared/marketplace-purchase.d.ts +2 -2
  717. package/dist/schemas/shared/marketplace-purchase.js +3 -3
  718. package/dist/schemas/shared/marketplace-purchase.js.map +3 -3
  719. package/dist/schemas/shared/membership.d.ts +1 -1
  720. package/dist/schemas/shared/membership.js +3 -3
  721. package/dist/schemas/shared/membership.js.map +2 -2
  722. package/dist/schemas/shared/milestone.d.ts +4 -4
  723. package/dist/schemas/shared/milestone.js +3 -3
  724. package/dist/schemas/shared/milestone.js.map +3 -3
  725. package/dist/schemas/shared/organization-custom-property.d.ts +5 -5
  726. package/dist/schemas/shared/organization-custom-property.d.ts.map +1 -1
  727. package/dist/schemas/shared/organization-custom-property.js +3 -3
  728. package/dist/schemas/shared/organization-custom-property.js.map +3 -3
  729. package/dist/schemas/shared/organization.d.ts +1 -1
  730. package/dist/schemas/shared/organization.js +3 -3
  731. package/dist/schemas/shared/organization.js.map +3 -3
  732. package/dist/schemas/shared/package-npm-metadata.d.ts +17 -17
  733. package/dist/schemas/shared/package-npm-metadata.js +3 -3
  734. package/dist/schemas/shared/package-npm-metadata.js.map +3 -3
  735. package/dist/schemas/shared/package-nuget-metadata.d.ts +2 -2
  736. package/dist/schemas/shared/package-nuget-metadata.d.ts.map +1 -1
  737. package/dist/schemas/shared/package-nuget-metadata.js +3 -3
  738. package/dist/schemas/shared/package-nuget-metadata.js.map +3 -3
  739. package/dist/schemas/shared/project-card.d.ts +3 -3
  740. package/dist/schemas/shared/project-card.js +3 -3
  741. package/dist/schemas/shared/project-card.js.map +3 -3
  742. package/dist/schemas/shared/project-column.js +3 -3
  743. package/dist/schemas/shared/project-column.js.map +2 -2
  744. package/dist/schemas/shared/project.d.ts +2 -2
  745. package/dist/schemas/shared/project.js +3 -3
  746. package/dist/schemas/shared/project.js.map +3 -3
  747. package/dist/schemas/shared/projects-v2-item.d.ts +2 -2
  748. package/dist/schemas/shared/projects-v2-item.js +3 -3
  749. package/dist/schemas/shared/projects-v2-item.js.map +3 -3
  750. package/dist/schemas/shared/pull-request-auto-merge.d.ts +3 -3
  751. package/dist/schemas/shared/pull-request-auto-merge.js +3 -3
  752. package/dist/schemas/shared/pull-request-auto-merge.js.map +3 -3
  753. package/dist/schemas/shared/pull-request-review-comment.d.ts +6 -6
  754. package/dist/schemas/shared/pull-request-review-comment.js +3 -3
  755. package/dist/schemas/shared/pull-request-review-comment.js.map +3 -3
  756. package/dist/schemas/shared/pull-request-review.d.ts +3 -3
  757. package/dist/schemas/shared/pull-request-review.js +3 -3
  758. package/dist/schemas/shared/pull-request-review.js.map +3 -3
  759. package/dist/schemas/shared/pull-request.d.ts +79 -79
  760. package/dist/schemas/shared/pull-request.d.ts.map +1 -1
  761. package/dist/schemas/shared/pull-request.js +3 -3
  762. package/dist/schemas/shared/pull-request.js.map +3 -3
  763. package/dist/schemas/shared/reactions.js +3 -3
  764. package/dist/schemas/shared/reactions.js.map +2 -2
  765. package/dist/schemas/shared/referenced-workflow.js +3 -3
  766. package/dist/schemas/shared/referenced-workflow.js.map +2 -2
  767. package/dist/schemas/shared/release-asset.d.ts +2 -2
  768. package/dist/schemas/shared/release-asset.js +3 -3
  769. package/dist/schemas/shared/release-asset.js.map +3 -3
  770. package/dist/schemas/shared/release.d.ts +7 -7
  771. package/dist/schemas/shared/release.js +3 -3
  772. package/dist/schemas/shared/release.js.map +3 -3
  773. package/dist/schemas/shared/repo-ref.js +3 -3
  774. package/dist/schemas/shared/repo-ref.js.map +2 -2
  775. package/dist/schemas/shared/repository-lite.d.ts +2 -2
  776. package/dist/schemas/shared/repository-lite.js +3 -3
  777. package/dist/schemas/shared/repository-lite.js.map +3 -3
  778. package/dist/schemas/shared/repository-vulnerability-alert-alert.d.ts +1 -1
  779. package/dist/schemas/shared/repository-vulnerability-alert-alert.js +3 -3
  780. package/dist/schemas/shared/repository-vulnerability-alert-alert.js.map +2 -2
  781. package/dist/schemas/shared/repository.d.ts +23 -23
  782. package/dist/schemas/shared/repository.d.ts.map +1 -1
  783. package/dist/schemas/shared/repository.js +3 -3
  784. package/dist/schemas/shared/repository.js.map +3 -3
  785. package/dist/schemas/shared/secret-scanning-alert.d.ts +8 -8
  786. package/dist/schemas/shared/secret-scanning-alert.d.ts.map +1 -1
  787. package/dist/schemas/shared/secret-scanning-alert.js +3 -3
  788. package/dist/schemas/shared/secret-scanning-alert.js.map +3 -3
  789. package/dist/schemas/shared/secret-scanning-location-commit.js +3 -3
  790. package/dist/schemas/shared/secret-scanning-location-commit.js.map +2 -2
  791. package/dist/schemas/shared/secret-scanning-location-issue-body.js +3 -3
  792. package/dist/schemas/shared/secret-scanning-location-issue-body.js.map +2 -2
  793. package/dist/schemas/shared/secret-scanning-location-issue-comment.js +3 -3
  794. package/dist/schemas/shared/secret-scanning-location-issue-comment.js.map +2 -2
  795. package/dist/schemas/shared/secret-scanning-location-issue-title.js +3 -3
  796. package/dist/schemas/shared/secret-scanning-location-issue-title.js.map +2 -2
  797. package/dist/schemas/shared/security-advisory-cvss.d.ts +1 -1
  798. package/dist/schemas/shared/security-advisory-cvss.js +3 -3
  799. package/dist/schemas/shared/security-advisory-cvss.js.map +3 -3
  800. package/dist/schemas/shared/security-advisory-cwes.js +3 -3
  801. package/dist/schemas/shared/security-advisory-cwes.js.map +2 -2
  802. package/dist/schemas/shared/simple-commit.d.ts +2 -2
  803. package/dist/schemas/shared/simple-commit.js +3 -3
  804. package/dist/schemas/shared/simple-commit.js.map +2 -2
  805. package/dist/schemas/shared/simple-pull-request.d.ts +73 -73
  806. package/dist/schemas/shared/simple-pull-request.d.ts.map +1 -1
  807. package/dist/schemas/shared/simple-pull-request.js +3 -3
  808. package/dist/schemas/shared/simple-pull-request.js.map +3 -3
  809. package/dist/schemas/shared/sponsorship-tier.js +3 -3
  810. package/dist/schemas/shared/sponsorship-tier.js.map +2 -2
  811. package/dist/schemas/shared/team.d.ts +4 -4
  812. package/dist/schemas/shared/team.d.ts.map +1 -1
  813. package/dist/schemas/shared/team.js +3 -3
  814. package/dist/schemas/shared/team.js.map +3 -3
  815. package/dist/schemas/shared/user.d.ts +1 -1
  816. package/dist/schemas/shared/user.js +3 -3
  817. package/dist/schemas/shared/user.js.map +3 -3
  818. package/dist/schemas/shared/workflow-job.d.ts +8 -8
  819. package/dist/schemas/shared/workflow-job.d.ts.map +1 -1
  820. package/dist/schemas/shared/workflow-job.js +3 -3
  821. package/dist/schemas/shared/workflow-job.js.map +3 -3
  822. package/dist/schemas/shared/workflow-run.d.ts +10 -10
  823. package/dist/schemas/shared/workflow-run.d.ts.map +1 -1
  824. package/dist/schemas/shared/workflow-run.js +3 -3
  825. package/dist/schemas/shared/workflow-run.js.map +3 -3
  826. package/dist/schemas/shared/workflow-step-completed.js +3 -3
  827. package/dist/schemas/shared/workflow-step-completed.js.map +2 -2
  828. package/dist/schemas/shared/workflow-step-in-progress.js +3 -3
  829. package/dist/schemas/shared/workflow-step-in-progress.js.map +2 -2
  830. package/dist/schemas/shared/workflow-step-queued.js +3 -3
  831. package/dist/schemas/shared/workflow-step-queued.js.map +2 -2
  832. package/dist/schemas/shared/workflow.js +3 -3
  833. package/dist/schemas/shared/workflow.js.map +2 -2
  834. package/dist/schemas/sponsorship-cancelled-event.d.ts +3 -3
  835. package/dist/schemas/sponsorship-cancelled-event.js +3 -3
  836. package/dist/schemas/sponsorship-cancelled-event.js.map +2 -2
  837. package/dist/schemas/sponsorship-created-event.d.ts +3 -3
  838. package/dist/schemas/sponsorship-created-event.js +3 -3
  839. package/dist/schemas/sponsorship-created-event.js.map +2 -2
  840. package/dist/schemas/sponsorship-edited-event.d.ts +3 -3
  841. package/dist/schemas/sponsorship-edited-event.js +3 -3
  842. package/dist/schemas/sponsorship-edited-event.js.map +2 -2
  843. package/dist/schemas/sponsorship-pending-cancellation-event.d.ts +3 -3
  844. package/dist/schemas/sponsorship-pending-cancellation-event.js +3 -3
  845. package/dist/schemas/sponsorship-pending-cancellation-event.js.map +2 -2
  846. package/dist/schemas/sponsorship-pending-tier-change-event.d.ts +3 -3
  847. package/dist/schemas/sponsorship-pending-tier-change-event.js +3 -3
  848. package/dist/schemas/sponsorship-pending-tier-change-event.js.map +2 -2
  849. package/dist/schemas/sponsorship-tier-changed-event.d.ts +3 -3
  850. package/dist/schemas/sponsorship-tier-changed-event.js +3 -3
  851. package/dist/schemas/sponsorship-tier-changed-event.js.map +2 -2
  852. package/dist/schemas/star-created-event.d.ts +25 -25
  853. package/dist/schemas/star-created-event.js +3 -3
  854. package/dist/schemas/star-created-event.js.map +2 -2
  855. package/dist/schemas/star-deleted-event.d.ts +25 -25
  856. package/dist/schemas/star-deleted-event.js +3 -3
  857. package/dist/schemas/star-deleted-event.js.map +2 -2
  858. package/dist/schemas/status-event.d.ts +38 -38
  859. package/dist/schemas/status-event.js +3 -3
  860. package/dist/schemas/status-event.js.map +3 -3
  861. package/dist/schemas/team-add-event.d.ts +29 -29
  862. package/dist/schemas/team-add-event.js +3 -3
  863. package/dist/schemas/team-add-event.js.map +2 -2
  864. package/dist/schemas/team-added-to-repository-event.d.ts +29 -29
  865. package/dist/schemas/team-added-to-repository-event.js +3 -3
  866. package/dist/schemas/team-added-to-repository-event.js.map +2 -2
  867. package/dist/schemas/team-created-event.d.ts +29 -29
  868. package/dist/schemas/team-created-event.js +3 -3
  869. package/dist/schemas/team-created-event.js.map +2 -2
  870. package/dist/schemas/team-deleted-event.d.ts +29 -29
  871. package/dist/schemas/team-deleted-event.js +3 -3
  872. package/dist/schemas/team-deleted-event.js.map +2 -2
  873. package/dist/schemas/team-edited-event.d.ts +34 -34
  874. package/dist/schemas/team-edited-event.d.ts.map +1 -1
  875. package/dist/schemas/team-edited-event.js +3 -3
  876. package/dist/schemas/team-edited-event.js.map +3 -3
  877. package/dist/schemas/team-removed-from-repository-event.d.ts +29 -29
  878. package/dist/schemas/team-removed-from-repository-event.js +3 -3
  879. package/dist/schemas/team-removed-from-repository-event.js.map +2 -2
  880. package/dist/schemas/watch-started-event.d.ts +25 -25
  881. package/dist/schemas/watch-started-event.js +3 -3
  882. package/dist/schemas/watch-started-event.js.map +2 -2
  883. package/dist/schemas/workflow-dispatch-event.d.ts +26 -26
  884. package/dist/schemas/workflow-dispatch-event.js +3 -3
  885. package/dist/schemas/workflow-dispatch-event.js.map +3 -3
  886. package/dist/schemas/workflow-job-completed-event.d.ts +42 -42
  887. package/dist/schemas/workflow-job-completed-event.js +3 -3
  888. package/dist/schemas/workflow-job-completed-event.js.map +2 -2
  889. package/dist/schemas/workflow-job-in-progress-event.d.ts +42 -42
  890. package/dist/schemas/workflow-job-in-progress-event.js +3 -3
  891. package/dist/schemas/workflow-job-in-progress-event.js.map +2 -2
  892. package/dist/schemas/workflow-job-queued-event.d.ts +42 -42
  893. package/dist/schemas/workflow-job-queued-event.js +3 -3
  894. package/dist/schemas/workflow-job-queued-event.js.map +2 -2
  895. package/dist/schemas/workflow-job-waiting-event.d.ts +42 -42
  896. package/dist/schemas/workflow-job-waiting-event.js +3 -3
  897. package/dist/schemas/workflow-job-waiting-event.js.map +2 -2
  898. package/dist/schemas/workflow-run-completed-event.d.ts +35 -35
  899. package/dist/schemas/workflow-run-completed-event.js +3 -3
  900. package/dist/schemas/workflow-run-completed-event.js.map +2 -2
  901. package/dist/schemas/workflow-run-in-progress-event.d.ts +35 -35
  902. package/dist/schemas/workflow-run-in-progress-event.js +3 -3
  903. package/dist/schemas/workflow-run-in-progress-event.js.map +2 -2
  904. package/dist/schemas/workflow-run-requested-event.d.ts +35 -35
  905. package/dist/schemas/workflow-run-requested-event.js +3 -3
  906. package/dist/schemas/workflow-run-requested-event.js.map +2 -2
  907. package/package.json +15 -2
@@ -0,0 +1,4 @@
1
+ // @bun
2
+ import{a as p}from"./schemas/index.js";import"./schemas/project-deleted-event.js";import"./schemas/repository-publicized-event.js";import"./schemas/membership-removed-event.js";import"./schemas/issues-locked-event.js";import"./schemas/repository-created-event.js";import"./schemas/public-event.js";import"./schemas/pull-request-milestoned-event.js";import"./schemas/discussion-pinned-event.js";import"./schemas/star-deleted-event.js";import"./schemas/projects-v2-item-created-event.js";import"./schemas/check-run-rerequested-event.js";import"./schemas/issue-comment-created-event.js";import"./schemas/branch-protection-rule-created-event.js";import"./schemas/repository-privatized-event.js";import"./schemas/deployment-review-requested-event.js";import"./schemas/deployment-status-created-event.js";import"./schemas/issues-deleted-event.js";import"./schemas/project-column-moved-event.js";import"./schemas/installation-created-event.js";import"./schemas/discussion-created-event.js";import"./schemas/deployment-review-approved-event.js";import"./schemas/sponsorship-pending-tier-change-event.js";import"./schemas/pull-request-enqueued-event.js";import"./schemas/ping-event.js";import"./schemas/pull-request-assigned-event.js";import"./schemas/projects-v2-item-reordered-event.js";import"./schemas/marketplace-purchase-pending-change-event.js";import"./schemas/marketplace-purchase-cancelled-event.js";import"./schemas/repository-deleted-event.js";import"./schemas/organization-member-removed-event.js";import"./schemas/repository-archived-event.js";import"./schemas/installation-new-permissions-accepted-event.js";import"./schemas/issues-unpinned-event.js";import"./schemas/discussion-edited-event.js";import"./schemas/project-column-created-event.js";import"./schemas/pull-request-review-comment-deleted-event.js";import"./schemas/branch-protection-rule-deleted-event.js";import"./schemas/membership-added-event.js";import"./schemas/milestone-deleted-event.js";import"./schemas/workflow-job-waiting-event.js";import"./schemas/milestone-created-event.js";import"./schemas/member-removed-event.js";import"./schemas/secret-scanning-alert-location-created-event.js";import"./schemas/status-event.js";import"./schemas/merge-group-checks-requested-event.js";import"./schemas/discussion-answered-event.js";import"./schemas/security-advisory-updated-event.js";import"./schemas/label-deleted-event.js";import"./schemas/installation-repositories-added-event.js";import"./schemas/milestone-closed-event.js";import"./schemas/check-run-requested-action-event.js";import"./schemas/installation-target-renamed-event.js";import"./schemas/push-event.js";import"./schemas/project-column-edited-event.js";import"./schemas/security-advisory-published-event.js";import"./schemas/code-scanning-alert-reopened-event.js";import"./schemas/custom-property-deleted-event.js";import"./schemas/repository-edited-event.js";import"./schemas/issues-demilestoned-event.js";import"./schemas/package-updated-event.js";import"./schemas/deployment-created-event.js";import"./schemas/watch-started-event.js";import"./schemas/installation-unsuspend-event.js";import"./schemas/projects-v2-item-deleted-event.js";import"./schemas/repository-import-event.js";import"./schemas/workflow-job-queued-event.js";import"./schemas/release-edited-event.js";import"./schemas/pull-request-review-dismissed-event.js";import"./schemas/gollum-event.js";import"./schemas/team-deleted-event.js";import"./schemas/sponsorship-edited-event.js";import"./schemas/milestone-opened-event.js";import"./schemas/create-event.js";import"./schemas/org-block-blocked-event.js";import"./schemas/member-added-event.js";import"./schemas/pull-request-converted-to-draft-event.js";import"./schemas/pull-request-opened-event.js";import"./schemas/page-build-event.js";import"./schemas/registry-package-published-event.js";import"./schemas/pull-request-closed-event.js";import"./schemas/organization-member-invited-event.js";import"./schemas/release-deleted-event.js";import"./schemas/secret-scanning-alert-revoked-event.js";import"./schemas/check-suite-requested-event.js";import"./schemas/discussion-unpinned-event.js";import"./schemas/workflow-run-completed-event.js";import"./schemas/sponsorship-pending-cancellation-event.js";import"./schemas/pull-request-edited-event.js";import"./schemas/pull-request-unassigned-event.js";import"./schemas/delete-event.js";import"./schemas/pull-request-review-thread-unresolved-event.js";import"./schemas/project-card-deleted-event.js";import"./schemas/pull-request-review-comment-created-event.js";import"./schemas/sponsorship-tier-changed-event.js";import"./schemas/release-prereleased-event.js";import"./schemas/projects-v2-item-converted-event.js";import"./schemas/discussion-deleted-event.js";import"./schemas/repository-vulnerability-alert-resolve-event.js";import"./schemas/marketplace-purchase-changed-event.js";import"./schemas/deployment-review-rejected-event.js";import"./schemas/workflow-run-in-progress-event.js";import"./schemas/release-published-event.js";import"./schemas/pull-request-demilestoned-event.js";import"./schemas/pull-request-unlabeled-event.js";import"./schemas/project-closed-event.js";import"./schemas/pull-request-dequeued-event.js";import"./schemas/deploy-key-deleted-event.js";import"./schemas/pull-request-labeled-event.js";import"./schemas/discussion-comment-edited-event.js";import"./schemas/marketplace-purchase-pending-change-cancelled-event.js";import"./schemas/issues-assigned-event.js";import"./schemas/milestone-edited-event.js";import"./schemas/pull-request-auto-merge-disabled-event.js";import"./schemas/merge-group-destroyed-event.js";import"./schemas/dependabot-alert-reintroduced-event.js";import"./schemas/check-suite-rerequested-event.js";import"./schemas/star-created-event.js";import"./schemas/project-card-created-event.js";import"./schemas/deployment-protection-rule-requested-event.js";import"./schemas/release-unpublished-event.js";import"./schemas/discussion-labeled-event.js";import"./schemas/workflow-run-requested-event.js";import"./schemas/issues-opened-event.js";import"./schemas/issues-edited-event.js";import"./schemas/installation-deleted-event.js";import"./schemas/issues-unassigned-event.js";import"./schemas/issues-transferred-event.js";import"./schemas/project-created-event.js";import"./schemas/issues-unlabeled-event.js";import"./schemas/repository-vulnerability-alert-dismiss-event.js";import"./schemas/commit-comment-created-event.js";import"./schemas/secret-scanning-alert-reopened-event.js";import"./schemas/label-created-event.js";import"./schemas/team-add-event.js";import"./schemas/dependabot-alert-reopened-event.js";import"./schemas/project-column-deleted-event.js";import"./schemas/issue-comment-edited-event.js";import"./schemas/secret-scanning-alert-created-event.js";import"./schemas/projects-v2-item-archived-event.js";import"./schemas/issues-unlocked-event.js";import"./schemas/member-edited-event.js";import"./schemas/issue-comment-deleted-event.js";import"./schemas/issues-reopened-event.js";import"./schemas/custom-property-values-updated-event.js";import"./schemas/security-advisory-performed-event.js";import"./schemas/code-scanning-alert-fixed-event.js";import"./schemas/repository-transferred-event.js";import"./schemas/pull-request-review-thread-resolved-event.js";import"./schemas/installation-suspend-event.js";import"./schemas/branch-protection-configuration-disabled-event.js";import"./schemas/discussion-comment-created-event.js";import"./schemas/workflow-job-completed-event.js";import"./schemas/branch-protection-configuration-enabled-event.js";import"./schemas/label-edited-event.js";import"./schemas/workflow-dispatch-event.js";import"./schemas/package-published-event.js";import"./schemas/organization-renamed-event.js";import"./schemas/issues-labeled-event.js";import"./schemas/repository-dispatch-event.js";import"./schemas/pull-request-auto-merge-enabled-event.js";import"./schemas/registry-package-updated-event.js";import"./schemas/sponsorship-cancelled-event.js";import"./schemas/project-card-edited-event.js";import"./schemas/project-card-moved-event.js";import"./schemas/discussion-unlocked-event.js";import"./schemas/discussion-locked-event.js";import"./schemas/org-block-unblocked-event.js";import"./schemas/pull-request-unlocked-event.js";import"./schemas/pull-request-synchronize-event.js";import"./schemas/organization-member-added-event.js";import"./schemas/marketplace-purchase-purchased-event.js";import"./schemas/issues-pinned-event.js";import"./schemas/issues-closed-event.js";import"./schemas/repository-unarchived-event.js";import"./schemas/pull-request-reopened-event.js";import"./schemas/team-created-event.js";import"./schemas/installation-repositories-removed-event.js";import"./schemas/check-run-created-event.js";import"./schemas/branch-protection-rule-edited-event.js";import"./schemas/projects-v2-item-restored-event.js";import"./schemas/meta-deleted-event.js";import"./schemas/release-released-event.js";import"./schemas/pull-request-locked-event.js";import"./schemas/dependabot-alert-fixed-event.js";import"./schemas/github-app-authorization-revoked-event.js";import"./schemas/code-scanning-alert-created-event.js";import"./schemas/dependabot-alert-dismissed-event.js";import"./schemas/team-edited-event.js";import"./schemas/pull-request-review-comment-edited-event.js";import"./schemas/projects-v2-item-edited-event.js";import"./schemas/repository-vulnerability-alert-create-event.js";import"./schemas/repository-vulnerability-alert-reopen-event.js";import"./schemas/issues-milestoned-event.js";import"./schemas/discussion-comment-deleted-event.js";import"./schemas/discussion-category-changed-event.js";import"./schemas/check-run-completed-event.js";import"./schemas/project-edited-event.js";import"./schemas/project-card-converted-event.js";import"./schemas/deploy-key-created-event.js";import"./schemas/custom-property-created-event.js";import"./schemas/organization-deleted-event.js";import"./schemas/discussion-transferred-event.js";import"./schemas/fork-event.js";import"./schemas/release-created-event.js";import"./schemas/team-removed-from-repository-event.js";import"./schemas/code-scanning-alert-appeared-in-branch-event.js";import"./schemas/workflow-job-in-progress-event.js";import"./schemas/code-scanning-alert-closed-by-user-event.js";import"./schemas/code-scanning-alert-reopened-by-user-event.js";import"./schemas/project-reopened-event.js";import"./schemas/secret-scanning-alert-resolved-event.js";import"./schemas/security-advisory-withdrawn-event.js";import"./schemas/check-suite-completed-event.js";import"./schemas/repository-renamed-event.js";import"./schemas/pull-request-ready-for-review-event.js";import"./schemas/discussion-unanswered-event.js";import"./schemas/sponsorship-created-event.js";import{dh as h}from"./chunk-h08cfvmd.js";import"./schemas/team-added-to-repository-event.js";import"./schemas/pull-request-review-edited-event.js";import"./schemas/dependabot-alert-created-event.js";import"./schemas/discussion-unlabeled-event.js";import"./schemas/pull-request-review-submitted-event.js";import"./schemas/shared/index.js";import"./schemas/shared/project-card.js";import"./schemas/shared/marketplace-purchase.js";import"./schemas/shared/project-column.js";import"./schemas/shared/package-npm-metadata.js";import"./schemas/shared/pull-request.js";import"./schemas/shared/workflow.js";import"./schemas/shared/organization-custom-property.js";import"./schemas/shared/alert-instance.js";import"./schemas/shared/custom-property-value.js";import"./schemas/shared/sponsorship-tier.js";import"./schemas/shared/commit.js";import"./schemas/shared/project.js";import"./schemas/shared/package-nuget-metadata.js";import"./schemas/shared/installation.js";import"./schemas/shared/branch-protection-rule.js";import"./schemas/shared/discussion.js";import"./schemas/shared/discussion-category.js";import"./schemas/shared/deployment-workflow-run.js";import"./schemas/shared/check-run-pull-request.js";import"./schemas/shared/issue-comment.js";import"./schemas/shared/secret-scanning-location-issue-body.js";import"./schemas/shared/issue.js";import"./schemas/shared/repository-vulnerability-alert-alert.js";import"./schemas/shared/git-hub-org.js";import"./schemas/shared/release.js";import"./schemas/shared/release-asset.js";import"./schemas/shared/check-run-deployment.js";import"./schemas/shared/projects-v2-item.js";import"./schemas/shared/workflow-job.js";import"./schemas/shared/workflow-step-completed.js";import"./schemas/shared/workflow-step-in-progress.js";import"./schemas/shared/installation-lite.js";import"./schemas/shared/secret-scanning-location-commit.js";import"./schemas/shared/membership.js";import"./schemas/shared/workflow-run.js";import"./schemas/shared/repository-lite.js";import"./schemas/shared/simple-commit.js";import"./schemas/shared/referenced-workflow.js";import"./schemas/shared/repo-ref.js";import"./schemas/shared/committer.js";import"./schemas/shared/secret-scanning-location-issue-comment.js";import"./schemas/shared/pull-request-review.js";import"./schemas/shared/simple-pull-request.js";import"./schemas/shared/pull-request-auto-merge.js";import"./schemas/shared/label.js";import"./schemas/shared/milestone.js";import"./schemas/shared/team.js";import"./schemas/shared/secret-scanning-alert.js";import"./schemas/shared/deployment.js";import"./schemas/shared/secret-scanning-location-issue-title.js";import"./schemas/shared/repository.js";import"./schemas/shared/organization.js";import"./schemas/shared/app.js";import"./schemas/shared/dependabot-alert.js";import"./schemas/shared/dependabot-alert-package.js";import"./schemas/shared/security-advisory-cwes.js";import"./schemas/shared/security-advisory-cvss.js";import"./schemas/shared/workflow-step-queued.js";import"./schemas/shared/pull-request-review-comment.js";import"./schemas/shared/reactions.js";import"./schemas/shared/link.js";import"./schemas/shared/user.js";import"./schemas/shared/license.js";import"./chunk-sgm7k1ae.js";import{z as b}from"zod";function k(e){let t="";for(let n=0;n<e.length;n+=1){let o=e[n]??"",s=n>0?e[n-1]??"":"",r=n+1<e.length?e[n+1]??"":"",v=o>="A"&&o<="Z",u=o>="a"&&o<="z",d=s>="A"&&s<="Z",E=s>="a"&&s<="z",c=s>="0"&&s<="9",m=r>="a"&&r<="z";if(n>0){if(v){if(E||c||d&&m)t+="-"}else if(u&&c)t+="-"}t+=o}return t.replace(/_/g,"-").toLowerCase()}var y=Object.entries(p).filter(([e])=>e.endsWith("EventSchema")).map(([e,t])=>{let n=e.slice(0,-6);return{name:n,slug:k(n),schema:t}}),f=Array.from(new Set(h.map((e)=>e.split(".")[0]??e))).sort(),W=f.map((e)=>({eventType:e,slug:e.replace(/_/g,"-")})).sort((e,t)=>t.slug.length-e.slug.length);function l(e){for(let{eventType:t,slug:n}of W)if(e===`${n}-event`||e.startsWith(`${n}-`))return t;return}function T(e){if(e.length===1)return e[0];return b.union(e)}var a=new Map;for(let e of y){let t=l(e.slug);if(!t)continue;let n=a.get(t);if(n)n.push(e.schema);else a.set(t,[e.schema])}var i=new Map;for(let[e,t]of a){if(t.length===0)continue;i.set(e,T(t))}var g=y.map((e)=>e.schema),A=new Set(i.keys()),R={get(e){let t=i.get(e);if(!t)throw Error(`No schema registered for event type: ${e}`);return t}};function x(e){return typeof e==="string"&&A.has(e)}function Z(e){for(let t of g)if(t.safeParse(e).success)return!0;return!1}function N(e){let t=e.indexOf("."),n=t>=0?e.slice(0,t):e,o=t>=0?e.slice(t+1):void 0;if(!x(n))throw Error(`Unsupported webhook route key: ${e}`);if(t>=0&&!o)throw Error(`Webhook route key has an empty action segment: ${e}`);return{eventType:n,action:o}}function S(e){let t=Object.entries(e).filter((n)=>typeof n[1]==="function").map(([n,o])=>{let s=N(n);return{routeKey:n,eventType:s.eventType,action:s.action,handler:o,schema:R.get(s.eventType)}}).sort((n,o)=>Number(Boolean(o.action))-Number(Boolean(n.action)));return async(n)=>{for(let o of t){let s=o.schema.safeParse(n);if(!s.success)continue;if(o.action){if((typeof s.data==="object"&&s.data&&"action"in s.data?s.data.action:void 0)!==o.action)continue}await o.handler(s.data);return}}}export{R as schemas,x as isWebhookEventName,Z as isWebhookEvent,S as createGithubWebhookRouter};
3
+
4
+ //# debugId=44AE663291595C9164756E2164756E21
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/registry.ts"],
4
+ "sourcesContent": [
5
+ "import { emitterEventNames as eventTypes } from '@octokit/webhooks';\nimport type {\n WebhookEvent,\n WebhookEventMap,\n WebhookEventName,\n WebhookEvents,\n} from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport * as Schemas from './schemas/index.js';\n\nexport type { WebhookEvent, WebhookEventMap, WebhookEventName, WebhookEvents };\n\ntype WebhookRouteAction<EventType extends WebhookEventName> =\n Extract<WebhookEventMap[EventType], { action: string }> extends infer EventWithAction\n ? EventWithAction extends { action: infer Action }\n ? Action extends string\n ? Action\n : never\n : never\n : never;\n\ntype WebhookActionRouteKey = {\n [EventType in WebhookEventName]: WebhookRouteAction<EventType> extends never\n ? never\n : `${EventType}.${WebhookRouteAction<EventType>}`;\n}[WebhookEventName];\n\nexport type WebhookRouteKey = WebhookEventName | WebhookActionRouteKey;\n\nexport type WebhookRouteEvent<RouteKey extends WebhookRouteKey> =\n RouteKey extends `${infer EventType}.${infer Action}`\n ? EventType extends WebhookEventName\n ? Extract<WebhookEventMap[EventType], { action: Action }>\n : never\n : RouteKey extends WebhookEventName\n ? WebhookEventMap[RouteKey]\n : never;\n\nexport type WebhookRouteHandlers = Partial<{\n [RouteKey in WebhookRouteKey]: (\n event: WebhookRouteEvent<RouteKey>,\n ) => void | Promise<void>;\n}>;\n\ntype WebhookRouteHandlerFunction = (event: unknown) => void | Promise<void>;\n\nfunction toKebabCase(value: string): string {\n let result = '';\n\n for (let i = 0; i < value.length; i += 1) {\n const char = value[i] ?? '';\n const prev = i > 0 ? (value[i - 1] ?? '') : '';\n const next = i + 1 < value.length ? (value[i + 1] ?? '') : '';\n\n const isUpper = char >= 'A' && char <= 'Z';\n const isLower = char >= 'a' && char <= 'z';\n const prevIsUpper = prev >= 'A' && prev <= 'Z';\n const prevIsLower = prev >= 'a' && prev <= 'z';\n const prevIsDigit = prev >= '0' && prev <= '9';\n const nextIsLower = next >= 'a' && next <= 'z';\n\n if (i > 0) {\n if (isUpper) {\n if (prevIsLower || prevIsDigit || (prevIsUpper && nextIsLower)) {\n result += '-';\n }\n } else if (isLower && prevIsDigit) {\n result += '-';\n }\n }\n\n result += char;\n }\n\n return result.replace(/_/g, '-').toLowerCase();\n}\n\ntype EventSchemaEntry = {\n name: string;\n slug: string;\n schema: z.ZodTypeAny;\n};\n\nconst eventSchemaEntries: EventSchemaEntry[] = Object.entries(Schemas)\n .filter(([name]) => name.endsWith('EventSchema'))\n .map(([name, schema]) => {\n const baseName = name.slice(0, -'Schema'.length);\n return {\n name: baseName,\n slug: toKebabCase(baseName),\n schema: schema as z.ZodTypeAny,\n };\n });\n\nconst candidateEventNames = Array.from(\n new Set(eventTypes.map((eventType) => eventType.split('.')[0] ?? eventType)),\n).sort() as WebhookEventName[];\n\nconst eventTypeSlugs = candidateEventNames\n .map((eventType) => ({\n eventType,\n slug: eventType.replace(/_/g, '-'),\n }))\n .sort((a, b) => b.slug.length - a.slug.length);\n\nfunction findEventType(schemaSlug: string): WebhookEventName | undefined {\n for (const { eventType, slug } of eventTypeSlugs) {\n if (schemaSlug === `${slug}-event` || schemaSlug.startsWith(`${slug}-`)) {\n return eventType;\n }\n }\n return undefined;\n}\n\nfunction createUnionSchema(schemas: [z.ZodTypeAny, ...z.ZodTypeAny[]]): z.ZodTypeAny {\n if (schemas.length === 1) {\n return schemas[0];\n }\n\n return z.union(schemas as [z.ZodTypeAny, z.ZodTypeAny, ...z.ZodTypeAny[]]);\n}\n\nconst schemasByEvent = new Map<WebhookEventName, z.ZodTypeAny[]>();\n\nfor (const entry of eventSchemaEntries) {\n const eventType = findEventType(entry.slug);\n if (!eventType) {\n continue;\n }\n\n const bucket = schemasByEvent.get(eventType);\n if (bucket) {\n bucket.push(entry.schema);\n } else {\n schemasByEvent.set(eventType, [entry.schema]);\n }\n}\n\nconst schemaRegistry = new Map<WebhookEventName, z.ZodTypeAny>();\nfor (const [eventType, schemas] of schemasByEvent) {\n if (schemas.length === 0) {\n continue;\n }\n schemaRegistry.set(\n eventType,\n createUnionSchema(schemas as [z.ZodTypeAny, ...z.ZodTypeAny[]]),\n );\n}\n\nconst allEventSchemas = eventSchemaEntries.map((entry) => entry.schema);\nconst eventTypeSet = new Set<WebhookEventName>(schemaRegistry.keys());\n\nexport const schemas = {\n get<EventType extends WebhookEventName>(\n eventType: EventType,\n ): z.ZodType<WebhookEventMap[EventType]> {\n const schema = schemaRegistry.get(eventType);\n if (!schema) {\n throw new Error(`No schema registered for event type: ${eventType}`);\n }\n return schema as z.ZodType<WebhookEventMap[EventType]>;\n },\n};\n\nexport function isWebhookEventName(value: unknown): value is WebhookEventName {\n return typeof value === 'string' && eventTypeSet.has(value as WebhookEventName);\n}\n\nexport function isWebhookEvent(value: unknown): value is WebhookEvent {\n for (const schema of allEventSchemas) {\n if (schema.safeParse(value).success) {\n return true;\n }\n }\n return false;\n}\n\ntype WebhookRouteEntry = {\n routeKey: string;\n eventType: WebhookEventName;\n action?: string;\n handler: WebhookRouteHandlerFunction;\n schema: z.ZodTypeAny;\n};\n\nfunction parseWebhookRouteKey(routeKey: string): {\n eventType: WebhookEventName;\n action?: string;\n} {\n const separatorIndex = routeKey.indexOf('.');\n const eventTypeCandidate =\n separatorIndex >= 0 ? routeKey.slice(0, separatorIndex) : routeKey;\n const action = separatorIndex >= 0 ? routeKey.slice(separatorIndex + 1) : undefined;\n\n if (!isWebhookEventName(eventTypeCandidate)) {\n throw new Error(`Unsupported webhook route key: ${routeKey}`);\n }\n\n if (separatorIndex >= 0 && !action) {\n throw new Error(`Webhook route key has an empty action segment: ${routeKey}`);\n }\n\n return {\n eventType: eventTypeCandidate,\n action,\n };\n}\n\nexport function createGithubWebhookRouter<Handlers extends WebhookRouteHandlers>(\n handlers: Handlers,\n): (payload: unknown) => Promise<void> {\n const routeEntries: WebhookRouteEntry[] = Object.entries(handlers)\n .filter(\n (entry): entry is [string, WebhookRouteHandlerFunction] =>\n typeof entry[1] === 'function',\n )\n .map(([routeKey, handler]) => {\n const parsedRoute = parseWebhookRouteKey(routeKey);\n return {\n routeKey,\n eventType: parsedRoute.eventType,\n action: parsedRoute.action,\n handler,\n schema: schemas.get(parsedRoute.eventType),\n };\n })\n .sort((left, right) => Number(Boolean(right.action)) - Number(Boolean(left.action)));\n\n return async (payload: unknown): Promise<void> => {\n for (const routeEntry of routeEntries) {\n const parsed = routeEntry.schema.safeParse(payload);\n if (!parsed.success) {\n continue;\n }\n\n if (routeEntry.action) {\n const parsedAction =\n typeof parsed.data === 'object' && parsed.data && 'action' in parsed.data\n ? (parsed.data as { action?: string }).action\n : undefined;\n\n if (parsedAction !== routeEntry.action) {\n continue;\n }\n }\n\n await routeEntry.handler(parsed.data);\n return;\n }\n };\n}\n"
6
+ ],
7
+ "mappings": ";onTAOA,qBAAS,2BAwCT,qBAAS,QAAW,aAAC,EAAuB,kBAC1C,eAAI,QAAS,qBAEb,uBAAS,iBAAI,0BAAG,iBAAI,uBAAM,0BAAQ,WAAK,gBAAG,eACxC,gBAAM,sBAAO,2BAAM,mBAAM,CACnB,iBAAO,sBAAI,+BAAK,0BAAM,cAAI,yBAAM,gBAAM,kCACtC,WAAO,aAAI,kBAAI,+BAAM,+BAAU,YAAM,aAAI,kBAAM,cAAM,WAErD,kCAAU,GAAQ,2BAAO,gBAAQ,uBACjC,SAAU,4BAAQ,eAAO,uBAAQ,yBACjC,AAAc,kBAAQ,0BAAO,yBAAQ,qBACrC,aAAc,gBAAQ,cAAO,eAAQ,WACrC,kBAAc,qBAAQ,gBAAO,gBAAQ,YACrC,yBAAc,GAAQ,WAAO,eAAQ,cAE3C,GAAI,aAAI,SACN,4BAAI,gBACF,OAAI,uBAAe,gBAAgB,wBAAe,WAChD,0BAAU,mBAEP,qBAAI,mBAAW,4BACpB,gBAAU,qBAId,GAAU,iCAGZ,qBAAO,+BAAO,0BAAQ,kBAAM,uBAAG,cAAE,4CAAY,wBAS/C,wBAAM,oBAAyC,kBAAO,2BAAQ,iBAAO,UAClE,sBAAO,cAAE,mBAAU,qBAAK,gDAAS,sBAAa,WAAC,4BAC/C,mBAAI,yBAAE,mBAAM,WAAY,eACvB,kCAAM,eAAW,cAAK,sBAAM,SAAG,SAAgB,gBAC/C,iBAAO,aACL,cAAM,YACN,qCAAM,kBAAY,yBAAQ,SAC1B,SAAQ,oBACV,kBACD,gBAEG,yBAAsB,yBAAM,cAChC,WAAI,mBAAI,WAAW,4BAAI,sBAAC,uBAAc,kBAAU,mCAAM,iBAAG,oCAAE,wBAAM,iBAAS,kCAAC,OAC7E,aAAE,gBAAK,gBAED,UAAiB,eACpB,6BAAI,mBAAC,oBAAe,cACnB,wBACA,kBAAM,aAAU,qBAAQ,oBAAM,qBAAG,oBACnC,0BAAE,SACD,YAAK,gBAAC,iBAAG,UAAM,6BAAE,gBAAK,8BAAS,qBAAE,WAAK,gBAAM,eAE/C,yBAAS,2BAAa,sBAAC,sBAAkD,MACvE,oCAAa,6BAAW,yCAAU,iCAChC,cAAI,wBAAe,wBAAG,wBAAgB,UAAW,2BAAW,eAAG,qBAAO,gBACpE,uBAAO,AAGX,gBAGF,+BAAS,iCAAiB,mBAAC,8BAA0D,+BACnF,aAAI,0BAAQ,8BAAW,iBACrB,mBAAO,yBAAQ,kBAGjB,oBAAO,JAAE,wBAAM,qBAA0D,oBAG3E,kBAAM,yBAAiB,IAAI,WAE3B,uBAAW,cAAS,iBAAoB,QACtC,OAAM,yBAAY,WAAc,kBAAM,eAAI,GAC1C,KAAI,kBAAC,SACH,0BAGF,SAAM,gBAAS,oBAAe,qBAAI,SAAS,gCAC3C,GAAI,iCACF,QAAO,OAAK,UAAM,qBAAM,aAExB,cAAe,sBAAI,sBAAW,aAAC,4BAAM,WAAM,QAAC,YAIhD,YAAM,gBAAiB,OAAI,QAC3B,yCAAY,gBAAW,mBAAY,oBAAgB,CACjD,OAAI,CAAQ,yBAAW,OACrB,wCAEF,OAAe,WACb,AACA,aAAkB,oBAA4C,kBAChE,mBAGF,mBAAM,wBAAkB,MAAmB,GAAI,AAAC,MAAU,JAAM,MAAM,EAChE,EAAe,IAAI,IAAsB,EAAe,KAAK,CAAC,EAEvD,EAAU,CACrB,GAAuC,CACrC,EACuC,CACvC,IAAM,EAAS,EAAe,IAAI,CAAS,EAC3C,GAAI,CAAC,EACH,MAAU,MAAM,wCAAwC,GAAW,EAErE,OAAO,EAEX,EAEO,SAAS,CAAkB,CAAC,EAA2C,CAC5E,OAAO,OAAO,IAAU,UAAY,EAAa,IAAI,CAAyB,EAGzE,SAAS,CAAc,CAAC,EAAuC,CACpE,QAAW,KAAU,EACnB,GAAI,EAAO,UAAU,CAAK,EAAE,QAC1B,MAAO,GAGX,MAAO,GAWT,SAAS,CAAoB,CAAC,EAG5B,CACA,IAAM,EAAiB,EAAS,QAAQ,GAAG,EACrC,EACJ,GAAkB,EAAI,EAAS,MAAM,EAAG,CAAc,EAAI,EACtD,EAAS,GAAkB,EAAI,EAAS,MAAM,EAAiB,CAAC,EAAI,OAE1E,GAAI,CAAC,EAAmB,CAAkB,EACxC,MAAU,MAAM,kCAAkC,GAAU,EAG9D,GAAI,GAAkB,GAAK,CAAC,EAC1B,MAAU,MAAM,kDAAkD,GAAU,EAG9E,MAAO,CACL,UAAW,EACX,QACF,EAGK,SAAS,CAAgE,CAC9E,EACqC,CACrC,IAAM,EAAoC,OAAO,QAAQ,CAAQ,EAC9D,OACC,CAAC,IACC,OAAO,EAAM,KAAO,UACxB,EACC,IAAI,EAAE,EAAU,KAAa,CAC5B,IAAM,EAAc,EAAqB,CAAQ,EACjD,MAAO,CACL,WACA,UAAW,EAAY,UACvB,OAAQ,EAAY,OACpB,UACA,OAAQ,EAAQ,IAAI,EAAY,SAAS,CAC3C,EACD,EACA,KAAK,CAAC,EAAM,IAAU,OAAO,QAAQ,EAAM,MAAM,CAAC,EAAI,OAAO,QAAQ,EAAK,MAAM,CAAC,CAAC,EAErF,MAAO,OAAO,IAAoC,CAChD,QAAW,KAAc,EAAc,CACrC,IAAM,EAAS,EAAW,OAAO,UAAU,CAAO,EAClD,GAAI,CAAC,EAAO,QACV,SAGF,GAAI,EAAW,QAMb,IAJE,OAAO,EAAO,OAAS,UAAY,EAAO,MAAQ,WAAY,EAAO,KAChE,EAAO,KAA6B,OACrC,UAEe,EAAW,OAC9B,SAIJ,MAAM,EAAW,QAAQ,EAAO,IAAI,EACpC",
8
+ "debugId": "44AE663291595C9164756E2164756E21",
9
+ "names": []
10
+ }
@@ -23,7 +23,7 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
23
23
  members_url: z.ZodString;
24
24
  public_members_url: z.ZodString;
25
25
  avatar_url: z.ZodString;
26
- description: z.ZodString;
26
+ description: z.ZodNullable<z.ZodString>;
27
27
  }, z.core.$strip>>;
28
28
  repository: z.ZodObject<{
29
29
  id: z.ZodNumber;
@@ -36,7 +36,7 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
36
36
  id: z.ZodNumber;
37
37
  node_id: z.ZodString;
38
38
  name: z.ZodOptional<z.ZodString>;
39
- email: z.ZodOptional<z.ZodString>;
39
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  avatar_url: z.ZodString;
41
41
  gravatar_id: z.ZodString;
42
42
  url: z.ZodString;
@@ -54,7 +54,7 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
54
54
  site_admin: z.ZodBoolean;
55
55
  }, z.core.$strip>;
56
56
  html_url: z.ZodString;
57
- description: z.ZodString;
57
+ description: z.ZodNullable<z.ZodString>;
58
58
  fork: z.ZodBoolean;
59
59
  url: z.ZodString;
60
60
  forks_url: z.ZodString;
@@ -95,32 +95,32 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
95
95
  deployments_url: z.ZodString;
96
96
  created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
97
97
  updated_at: z.ZodString;
98
- pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
98
+ pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
99
99
  git_url: z.ZodString;
100
100
  ssh_url: z.ZodString;
101
101
  clone_url: z.ZodString;
102
102
  svn_url: z.ZodString;
103
- homepage: z.ZodString;
103
+ homepage: z.ZodNullable<z.ZodString>;
104
104
  size: z.ZodNumber;
105
105
  stargazers_count: z.ZodNumber;
106
106
  watchers_count: z.ZodNumber;
107
- language: z.ZodString;
107
+ language: z.ZodNullable<z.ZodString>;
108
108
  has_issues: z.ZodBoolean;
109
109
  has_projects: z.ZodBoolean;
110
110
  has_downloads: z.ZodBoolean;
111
111
  has_wiki: z.ZodBoolean;
112
112
  has_pages: z.ZodBoolean;
113
- has_discussions: z.ZodOptional<z.ZodBoolean>;
113
+ has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
114
114
  forks_count: z.ZodNumber;
115
- mirror_url: z.ZodString;
115
+ mirror_url: z.ZodNullable<z.ZodString>;
116
116
  archived: z.ZodBoolean;
117
- disabled: z.ZodOptional<z.ZodBoolean>;
117
+ disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
118
118
  open_issues_count: z.ZodNumber;
119
119
  license: z.ZodNullable<z.ZodObject<{
120
120
  key: z.ZodString;
121
121
  name: z.ZodString;
122
122
  spdx_id: z.ZodString;
123
- url: z.ZodString;
123
+ url: z.ZodNullable<z.ZodString>;
124
124
  node_id: z.ZodString;
125
125
  }, z.core.$strip>>;
126
126
  forks: z.ZodNumber;
@@ -128,13 +128,13 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
128
128
  watchers: z.ZodNumber;
129
129
  stargazers: z.ZodOptional<z.ZodNumber>;
130
130
  default_branch: z.ZodString;
131
- allow_squash_merge: z.ZodOptional<z.ZodBoolean>;
132
- allow_merge_commit: z.ZodOptional<z.ZodBoolean>;
133
- allow_rebase_merge: z.ZodOptional<z.ZodBoolean>;
134
- allow_auto_merge: z.ZodOptional<z.ZodBoolean>;
135
- allow_forking: z.ZodOptional<z.ZodBoolean>;
136
- allow_update_branch: z.ZodOptional<z.ZodBoolean>;
137
- use_squash_pr_title_as_default: z.ZodOptional<z.ZodBoolean>;
131
+ allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
132
+ allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
133
+ allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
134
+ allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
135
+ allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
136
+ allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
137
+ use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
138
138
  squash_merge_commit_message: z.ZodOptional<z.ZodString>;
139
139
  squash_merge_commit_title: z.ZodOptional<z.ZodString>;
140
140
  merge_commit_message: z.ZodOptional<z.ZodString>;
@@ -143,25 +143,25 @@ export declare const BranchProtectionConfigurationDisabledEventSchema: z.ZodObje
143
143
  web_commit_signoff_required: z.ZodBoolean;
144
144
  topics: z.ZodArray<z.ZodString>;
145
145
  visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
146
- delete_branch_on_merge: z.ZodOptional<z.ZodBoolean>;
146
+ delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
147
147
  master_branch: z.ZodOptional<z.ZodString>;
148
- permissions: z.ZodObject<{
148
+ permissions: z.ZodOptional<z.ZodObject<{
149
149
  pull: z.ZodBoolean;
150
150
  push: z.ZodBoolean;
151
151
  admin: z.ZodBoolean;
152
- maintain: z.ZodOptional<z.ZodBoolean>;
153
- triage: z.ZodOptional<z.ZodBoolean>;
154
- }, z.core.$strip>;
155
- public: z.ZodOptional<z.ZodBoolean>;
152
+ maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
153
+ triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
154
+ }, z.core.$strip>>;
155
+ public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
156
156
  organization: z.ZodOptional<z.ZodString>;
157
- custom_properties: z.ZodObject<{}, z.core.$strip>;
157
+ custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
158
158
  }, z.core.$strip>;
159
159
  sender: z.ZodObject<{
160
160
  login: z.ZodString;
161
161
  id: z.ZodNumber;
162
162
  node_id: z.ZodString;
163
163
  name: z.ZodOptional<z.ZodString>;
164
- email: z.ZodOptional<z.ZodString>;
164
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
165
  avatar_url: z.ZodString;
166
166
  gravatar_id: z.ZodString;
167
167
  url: z.ZodString;
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./shared/index.js";import"./shared/marketplace-purchase.js";import"./shared/pull-request.js";import"./shared/simple-pull-request.js";import"./shared/sponsorship-tier.js";import"./shared/project-card.js";import{wh as w}from"./shared/organization.js";import"./shared/deployment.js";import"./shared/projects-v2-item.js";import"./shared/alert-instance.js";import"./shared/release.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/git-hub-org.js";import"./shared/deployment-workflow-run.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/commit.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/pull-request-review-comment.js";import"./shared/link.js";import{ei as q}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-issue-title.js";import"./shared/secret-scanning-location-commit.js";import"./shared/package-nuget-metadata.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/workflow-job.js";import"./shared/workflow-step-in-progress.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-auto-merge.js";import"./shared/security-advisory-cvss.js";import"./shared/package-npm-metadata.js";import"./shared/organization-custom-property.js";import"./shared/security-advisory-cwes.js";import"./shared/project-column.js";import"./shared/issue.js";import"./shared/label.js";import"./shared/release-asset.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/workflow.js";import"./shared/check-run-deployment.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/referenced-workflow.js";import"./shared/project.js";import"./shared/check-run-pull-request.js";import"./shared/repo-ref.js";import"./shared/simple-commit.js";import"./shared/committer.js";import"./shared/membership.js";import"./shared/issue-comment.js";import"./shared/reactions.js";import"./shared/app.js";import{uj as x}from"./shared/repository.js";import"./shared/license.js";import"./shared/milestone.js";import{Aj as k}from"./shared/user.js";import"./shared/custom-property-value.js";import{z as j}from"zod";var F=j.object({action:j.literal("disabled"),installation:q.optional(),organization:w.optional(),repository:x,sender:k});function I(A){return F.safeParse(A).success}export{I as isBranchProtectionConfigurationDisabledEvent,F as BranchProtectionConfigurationDisabledEventSchema};
3
- export{F as oc,I as pc};
2
+ import"./shared/index.js";import"./shared/project-card.js";import"./shared/marketplace-purchase.js";import"./shared/project-column.js";import"./shared/package-npm-metadata.js";import"./shared/pull-request.js";import"./shared/workflow.js";import"./shared/organization-custom-property.js";import"./shared/alert-instance.js";import"./shared/custom-property-value.js";import"./shared/sponsorship-tier.js";import"./shared/commit.js";import"./shared/project.js";import"./shared/package-nuget-metadata.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/deployment-workflow-run.js";import"./shared/check-run-pull-request.js";import"./shared/issue-comment.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/issue.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/git-hub-org.js";import"./shared/release.js";import"./shared/release-asset.js";import"./shared/check-run-deployment.js";import"./shared/projects-v2-item.js";import"./shared/workflow-job.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-step-in-progress.js";import{wi as q}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-commit.js";import"./shared/membership.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/simple-commit.js";import"./shared/referenced-workflow.js";import"./shared/repo-ref.js";import"./shared/committer.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/simple-pull-request.js";import"./shared/pull-request-auto-merge.js";import"./shared/label.js";import"./shared/milestone.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/deployment.js";import"./shared/secret-scanning-location-issue-title.js";import{gj as x}from"./shared/repository.js";import{ij as w}from"./shared/organization.js";import"./shared/app.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/security-advisory-cwes.js";import"./shared/security-advisory-cvss.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-review-comment.js";import"./shared/reactions.js";import"./shared/link.js";import{Cj as k}from"./shared/user.js";import"./shared/license.js";import"../chunk-sgm7k1ae.js";import{z as j}from"zod";var F=j.object({action:j.literal("disabled"),installation:q.optional(),organization:w.optional(),repository:x,sender:k});function I(A){return F.safeParse(A).success}export{I as isBranchProtectionConfigurationDisabledEvent,F as BranchProtectionConfigurationDisabledEventSchema};
3
+ export{F as De,I as Ee};
4
4
 
5
- //# debugId=A340619D964B95B464756E2164756E21
5
+ //# debugId=B4CA4F385A40F7AF64756E2164756E21
@@ -4,7 +4,7 @@
4
4
  "sourcesContent": [
5
5
  "/**\n * Auto-generated Zod schema for BranchProtectionConfigurationDisabledEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { BranchProtectionConfigurationDisabledEvent as BranchProtectionConfigurationDisabledEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n InstallationLiteSchema,\n OrganizationSchema,\n RepositorySchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const BranchProtectionConfigurationDisabledEventSchema = z.object({\n action: z.literal('disabled'),\n installation: InstallationLiteSchema.optional(),\n organization: OrganizationSchema.optional(),\n repository: RepositorySchema,\n sender: UserSchema,\n}) satisfies z.ZodType<BranchProtectionConfigurationDisabledEventOctokit>;\n\nexport type BranchProtectionConfigurationDisabledEvent =\n BranchProtectionConfigurationDisabledEventOctokit;\n\nexport function isBranchProtectionConfigurationDisabledEvent(\n value: unknown,\n): value is BranchProtectionConfigurationDisabledEvent {\n return BranchProtectionConfigurationDisabledEventSchema.safeParse(value).success;\n}\n"
6
6
  ],
7
- "mappings": ";4qEAMA,mBAAS,WASF,UAAM,KAAmD,CAAE,MAAO,FACvE,UAAQ,GAAE,EAAQ,iCAAU,2BAC5B,mBAAc,CAAuB,kBAAS,AAC9C,uBAAc,KAAmB,oBAAS,LAC1C,iCAAY,gBACZ,FAAQ,KACV,wBAAC,oBAKM,kBAAS,RAA4C,SAC1D,CACqD,aACrD,cAAO,YAAiD,mBAAU,QAAK,iBAAE",
8
- "debugId": "A340619D964B95B464756E2164756E21",
7
+ "mappings": ";8sEAMA,WAAS,mBASF,KAAM,SAAmD,CAAE,EAAO,gBACvE,QAAQ,UAAE,WAAQ,GAAU,JAC5B,sBAAc,CAAuB,kBAAS,DAC9C,mBAAc,YAAmB,kBAAS,EAC1C,iCAAY,NACZ,8BAAQ,DACV,LAAC,EAKM,gBAAS,IAA4C,AAC1D,YACqD,aACrD,WAAO,oBAAiD,OAAU,AAAK,IAAE",
8
+ "debugId": "B4CA4F385A40F7AF64756E2164756E21",
9
9
  "names": []
10
10
  }
@@ -23,7 +23,7 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
23
23
  members_url: z.ZodString;
24
24
  public_members_url: z.ZodString;
25
25
  avatar_url: z.ZodString;
26
- description: z.ZodString;
26
+ description: z.ZodNullable<z.ZodString>;
27
27
  }, z.core.$strip>>;
28
28
  repository: z.ZodObject<{
29
29
  id: z.ZodNumber;
@@ -36,7 +36,7 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
36
36
  id: z.ZodNumber;
37
37
  node_id: z.ZodString;
38
38
  name: z.ZodOptional<z.ZodString>;
39
- email: z.ZodOptional<z.ZodString>;
39
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  avatar_url: z.ZodString;
41
41
  gravatar_id: z.ZodString;
42
42
  url: z.ZodString;
@@ -54,7 +54,7 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
54
54
  site_admin: z.ZodBoolean;
55
55
  }, z.core.$strip>;
56
56
  html_url: z.ZodString;
57
- description: z.ZodString;
57
+ description: z.ZodNullable<z.ZodString>;
58
58
  fork: z.ZodBoolean;
59
59
  url: z.ZodString;
60
60
  forks_url: z.ZodString;
@@ -95,32 +95,32 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
95
95
  deployments_url: z.ZodString;
96
96
  created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
97
97
  updated_at: z.ZodString;
98
- pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
98
+ pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
99
99
  git_url: z.ZodString;
100
100
  ssh_url: z.ZodString;
101
101
  clone_url: z.ZodString;
102
102
  svn_url: z.ZodString;
103
- homepage: z.ZodString;
103
+ homepage: z.ZodNullable<z.ZodString>;
104
104
  size: z.ZodNumber;
105
105
  stargazers_count: z.ZodNumber;
106
106
  watchers_count: z.ZodNumber;
107
- language: z.ZodString;
107
+ language: z.ZodNullable<z.ZodString>;
108
108
  has_issues: z.ZodBoolean;
109
109
  has_projects: z.ZodBoolean;
110
110
  has_downloads: z.ZodBoolean;
111
111
  has_wiki: z.ZodBoolean;
112
112
  has_pages: z.ZodBoolean;
113
- has_discussions: z.ZodOptional<z.ZodBoolean>;
113
+ has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
114
114
  forks_count: z.ZodNumber;
115
- mirror_url: z.ZodString;
115
+ mirror_url: z.ZodNullable<z.ZodString>;
116
116
  archived: z.ZodBoolean;
117
- disabled: z.ZodOptional<z.ZodBoolean>;
117
+ disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
118
118
  open_issues_count: z.ZodNumber;
119
119
  license: z.ZodNullable<z.ZodObject<{
120
120
  key: z.ZodString;
121
121
  name: z.ZodString;
122
122
  spdx_id: z.ZodString;
123
- url: z.ZodString;
123
+ url: z.ZodNullable<z.ZodString>;
124
124
  node_id: z.ZodString;
125
125
  }, z.core.$strip>>;
126
126
  forks: z.ZodNumber;
@@ -128,13 +128,13 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
128
128
  watchers: z.ZodNumber;
129
129
  stargazers: z.ZodOptional<z.ZodNumber>;
130
130
  default_branch: z.ZodString;
131
- allow_squash_merge: z.ZodOptional<z.ZodBoolean>;
132
- allow_merge_commit: z.ZodOptional<z.ZodBoolean>;
133
- allow_rebase_merge: z.ZodOptional<z.ZodBoolean>;
134
- allow_auto_merge: z.ZodOptional<z.ZodBoolean>;
135
- allow_forking: z.ZodOptional<z.ZodBoolean>;
136
- allow_update_branch: z.ZodOptional<z.ZodBoolean>;
137
- use_squash_pr_title_as_default: z.ZodOptional<z.ZodBoolean>;
131
+ allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
132
+ allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
133
+ allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
134
+ allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
135
+ allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
136
+ allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
137
+ use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
138
138
  squash_merge_commit_message: z.ZodOptional<z.ZodString>;
139
139
  squash_merge_commit_title: z.ZodOptional<z.ZodString>;
140
140
  merge_commit_message: z.ZodOptional<z.ZodString>;
@@ -143,25 +143,25 @@ export declare const BranchProtectionConfigurationEnabledEventSchema: z.ZodObjec
143
143
  web_commit_signoff_required: z.ZodBoolean;
144
144
  topics: z.ZodArray<z.ZodString>;
145
145
  visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
146
- delete_branch_on_merge: z.ZodOptional<z.ZodBoolean>;
146
+ delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
147
147
  master_branch: z.ZodOptional<z.ZodString>;
148
- permissions: z.ZodObject<{
148
+ permissions: z.ZodOptional<z.ZodObject<{
149
149
  pull: z.ZodBoolean;
150
150
  push: z.ZodBoolean;
151
151
  admin: z.ZodBoolean;
152
- maintain: z.ZodOptional<z.ZodBoolean>;
153
- triage: z.ZodOptional<z.ZodBoolean>;
154
- }, z.core.$strip>;
155
- public: z.ZodOptional<z.ZodBoolean>;
152
+ maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
153
+ triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
154
+ }, z.core.$strip>>;
155
+ public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
156
156
  organization: z.ZodOptional<z.ZodString>;
157
- custom_properties: z.ZodObject<{}, z.core.$strip>;
157
+ custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
158
158
  }, z.core.$strip>;
159
159
  sender: z.ZodObject<{
160
160
  login: z.ZodString;
161
161
  id: z.ZodNumber;
162
162
  node_id: z.ZodString;
163
163
  name: z.ZodOptional<z.ZodString>;
164
- email: z.ZodOptional<z.ZodString>;
164
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
165
  avatar_url: z.ZodString;
166
166
  gravatar_id: z.ZodString;
167
167
  url: z.ZodString;
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./shared/index.js";import"./shared/marketplace-purchase.js";import"./shared/pull-request.js";import"./shared/simple-pull-request.js";import"./shared/sponsorship-tier.js";import"./shared/project-card.js";import{wh as w}from"./shared/organization.js";import"./shared/deployment.js";import"./shared/projects-v2-item.js";import"./shared/alert-instance.js";import"./shared/release.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/git-hub-org.js";import"./shared/deployment-workflow-run.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/commit.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/pull-request-review-comment.js";import"./shared/link.js";import{ei as q}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-issue-title.js";import"./shared/secret-scanning-location-commit.js";import"./shared/package-nuget-metadata.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/workflow-job.js";import"./shared/workflow-step-in-progress.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-auto-merge.js";import"./shared/security-advisory-cvss.js";import"./shared/package-npm-metadata.js";import"./shared/organization-custom-property.js";import"./shared/security-advisory-cwes.js";import"./shared/project-column.js";import"./shared/issue.js";import"./shared/label.js";import"./shared/release-asset.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/workflow.js";import"./shared/check-run-deployment.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/referenced-workflow.js";import"./shared/project.js";import"./shared/check-run-pull-request.js";import"./shared/repo-ref.js";import"./shared/simple-commit.js";import"./shared/committer.js";import"./shared/membership.js";import"./shared/issue-comment.js";import"./shared/reactions.js";import"./shared/app.js";import{uj as x}from"./shared/repository.js";import"./shared/license.js";import"./shared/milestone.js";import{Aj as k}from"./shared/user.js";import"./shared/custom-property-value.js";import{z as j}from"zod";var D=j.object({action:j.literal("enabled"),installation:q.optional(),organization:w.optional(),repository:x,sender:k});function H(A){return D.safeParse(A).success}export{H as isBranchProtectionConfigurationEnabledEvent,D as BranchProtectionConfigurationEnabledEventSchema};
3
- export{D as Me,H as Ne};
2
+ import"./shared/index.js";import"./shared/project-card.js";import"./shared/marketplace-purchase.js";import"./shared/project-column.js";import"./shared/package-npm-metadata.js";import"./shared/pull-request.js";import"./shared/workflow.js";import"./shared/organization-custom-property.js";import"./shared/alert-instance.js";import"./shared/custom-property-value.js";import"./shared/sponsorship-tier.js";import"./shared/commit.js";import"./shared/project.js";import"./shared/package-nuget-metadata.js";import"./shared/installation.js";import"./shared/branch-protection-rule.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/deployment-workflow-run.js";import"./shared/check-run-pull-request.js";import"./shared/issue-comment.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/issue.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/git-hub-org.js";import"./shared/release.js";import"./shared/release-asset.js";import"./shared/check-run-deployment.js";import"./shared/projects-v2-item.js";import"./shared/workflow-job.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-step-in-progress.js";import{wi as q}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-commit.js";import"./shared/membership.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/simple-commit.js";import"./shared/referenced-workflow.js";import"./shared/repo-ref.js";import"./shared/committer.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/simple-pull-request.js";import"./shared/pull-request-auto-merge.js";import"./shared/label.js";import"./shared/milestone.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/deployment.js";import"./shared/secret-scanning-location-issue-title.js";import{gj as x}from"./shared/repository.js";import{ij as w}from"./shared/organization.js";import"./shared/app.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/security-advisory-cwes.js";import"./shared/security-advisory-cvss.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-review-comment.js";import"./shared/reactions.js";import"./shared/link.js";import{Cj as k}from"./shared/user.js";import"./shared/license.js";import"../chunk-sgm7k1ae.js";import{z as j}from"zod";var D=j.object({action:j.literal("enabled"),installation:q.optional(),organization:w.optional(),repository:x,sender:k});function H(A){return D.safeParse(A).success}export{H as isBranchProtectionConfigurationEnabledEvent,D as BranchProtectionConfigurationEnabledEventSchema};
3
+ export{D as Je,H as Ke};
4
4
 
5
- //# debugId=D01B87891B15015364756E2164756E21
5
+ //# debugId=5C5328B1E639A28E64756E2164756E21
@@ -4,7 +4,7 @@
4
4
  "sourcesContent": [
5
5
  "/**\n * Auto-generated Zod schema for BranchProtectionConfigurationEnabledEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { BranchProtectionConfigurationEnabledEvent as BranchProtectionConfigurationEnabledEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n InstallationLiteSchema,\n OrganizationSchema,\n RepositorySchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const BranchProtectionConfigurationEnabledEventSchema = z.object({\n action: z.literal('enabled'),\n installation: InstallationLiteSchema.optional(),\n organization: OrganizationSchema.optional(),\n repository: RepositorySchema,\n sender: UserSchema,\n}) satisfies z.ZodType<BranchProtectionConfigurationEnabledEventOctokit>;\n\nexport type BranchProtectionConfigurationEnabledEvent =\n BranchProtectionConfigurationEnabledEventOctokit;\n\nexport function isBranchProtectionConfigurationEnabledEvent(\n value: unknown,\n): value is BranchProtectionConfigurationEnabledEvent {\n return BranchProtectionConfigurationEnabledEventSchema.safeParse(value).success;\n}\n"
6
6
  ],
7
- "mappings": ";4qEAMA,mBAAS,WASF,UAAM,KAAkD,CAAE,MAAO,FACtE,UAAQ,GAAE,EAAQ,gCAAS,2BAC3B,mBAAc,CAAuB,kBAAS,AAC9C,uBAAc,KAAmB,oBAAS,LAC1C,iCAAY,gBACZ,FAAQ,KACV,wBAAC,oBAKM,kBAAS,RAA2C,SACzD,CACoD,aACpD,cAAO,YAAgD,mBAAU,QAAK,iBAAE",
8
- "debugId": "D01B87891B15015364756E2164756E21",
7
+ "mappings": ";8sEAMA,WAAS,mBASF,KAAM,SAAkD,CAAE,EAAO,gBACtE,QAAQ,UAAE,WAAQ,EAAS,JAC3B,sBAAc,CAAuB,kBAAS,DAC9C,mBAAc,YAAmB,kBAAS,EAC1C,iCAAY,NACZ,8BAAQ,DACV,LAAC,EAKM,gBAAS,IAA2C,AACzD,YACoD,aACpD,WAAO,oBAAgD,OAAU,AAAK,IAAE",
8
+ "debugId": "5C5328B1E639A28E64756E2164756E21",
9
9
  "names": []
10
10
  }
@@ -18,14 +18,14 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
18
18
  require_code_owner_review: z.ZodBoolean;
19
19
  authorized_dismissal_actors_only: z.ZodBoolean;
20
20
  ignore_approvals_from_contributors: z.ZodBoolean;
21
- require_last_push_approval: z.ZodOptional<z.ZodBoolean>;
21
+ require_last_push_approval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
22
22
  required_status_checks: z.ZodArray<z.ZodString>;
23
23
  required_status_checks_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
24
24
  strict_required_status_checks_policy: z.ZodBoolean;
25
25
  signature_requirement_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
26
26
  linear_history_requirement_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
27
27
  admin_enforced: z.ZodBoolean;
28
- create_protected: z.ZodOptional<z.ZodBoolean>;
28
+ create_protected: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
29
29
  allow_force_pushes_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
30
30
  allow_deletions_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
31
31
  merge_queue_enforcement_level: z.ZodUnion<readonly [z.ZodLiteral<"off">, z.ZodLiteral<"non_admins">, z.ZodLiteral<"everyone">]>;
@@ -45,7 +45,7 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
45
45
  id: z.ZodNumber;
46
46
  node_id: z.ZodString;
47
47
  name: z.ZodOptional<z.ZodString>;
48
- email: z.ZodOptional<z.ZodString>;
48
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
49
  avatar_url: z.ZodString;
50
50
  gravatar_id: z.ZodString;
51
51
  url: z.ZodString;
@@ -63,7 +63,7 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
63
63
  site_admin: z.ZodBoolean;
64
64
  }, z.core.$strip>;
65
65
  html_url: z.ZodString;
66
- description: z.ZodString;
66
+ description: z.ZodNullable<z.ZodString>;
67
67
  fork: z.ZodBoolean;
68
68
  url: z.ZodString;
69
69
  forks_url: z.ZodString;
@@ -104,32 +104,32 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
104
104
  deployments_url: z.ZodString;
105
105
  created_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
106
106
  updated_at: z.ZodString;
107
- pushed_at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
107
+ pushed_at: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
108
108
  git_url: z.ZodString;
109
109
  ssh_url: z.ZodString;
110
110
  clone_url: z.ZodString;
111
111
  svn_url: z.ZodString;
112
- homepage: z.ZodString;
112
+ homepage: z.ZodNullable<z.ZodString>;
113
113
  size: z.ZodNumber;
114
114
  stargazers_count: z.ZodNumber;
115
115
  watchers_count: z.ZodNumber;
116
- language: z.ZodString;
116
+ language: z.ZodNullable<z.ZodString>;
117
117
  has_issues: z.ZodBoolean;
118
118
  has_projects: z.ZodBoolean;
119
119
  has_downloads: z.ZodBoolean;
120
120
  has_wiki: z.ZodBoolean;
121
121
  has_pages: z.ZodBoolean;
122
- has_discussions: z.ZodOptional<z.ZodBoolean>;
122
+ has_discussions: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
123
123
  forks_count: z.ZodNumber;
124
- mirror_url: z.ZodString;
124
+ mirror_url: z.ZodNullable<z.ZodString>;
125
125
  archived: z.ZodBoolean;
126
- disabled: z.ZodOptional<z.ZodBoolean>;
126
+ disabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
127
127
  open_issues_count: z.ZodNumber;
128
128
  license: z.ZodNullable<z.ZodObject<{
129
129
  key: z.ZodString;
130
130
  name: z.ZodString;
131
131
  spdx_id: z.ZodString;
132
- url: z.ZodString;
132
+ url: z.ZodNullable<z.ZodString>;
133
133
  node_id: z.ZodString;
134
134
  }, z.core.$strip>>;
135
135
  forks: z.ZodNumber;
@@ -137,13 +137,13 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
137
137
  watchers: z.ZodNumber;
138
138
  stargazers: z.ZodOptional<z.ZodNumber>;
139
139
  default_branch: z.ZodString;
140
- allow_squash_merge: z.ZodOptional<z.ZodBoolean>;
141
- allow_merge_commit: z.ZodOptional<z.ZodBoolean>;
142
- allow_rebase_merge: z.ZodOptional<z.ZodBoolean>;
143
- allow_auto_merge: z.ZodOptional<z.ZodBoolean>;
144
- allow_forking: z.ZodOptional<z.ZodBoolean>;
145
- allow_update_branch: z.ZodOptional<z.ZodBoolean>;
146
- use_squash_pr_title_as_default: z.ZodOptional<z.ZodBoolean>;
140
+ allow_squash_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
141
+ allow_merge_commit: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
142
+ allow_rebase_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
143
+ allow_auto_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
144
+ allow_forking: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
145
+ allow_update_branch: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
146
+ use_squash_pr_title_as_default: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
147
147
  squash_merge_commit_message: z.ZodOptional<z.ZodString>;
148
148
  squash_merge_commit_title: z.ZodOptional<z.ZodString>;
149
149
  merge_commit_message: z.ZodOptional<z.ZodString>;
@@ -152,25 +152,25 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
152
152
  web_commit_signoff_required: z.ZodBoolean;
153
153
  topics: z.ZodArray<z.ZodString>;
154
154
  visibility: z.ZodUnion<readonly [z.ZodLiteral<"public">, z.ZodLiteral<"private">, z.ZodLiteral<"internal">]>;
155
- delete_branch_on_merge: z.ZodOptional<z.ZodBoolean>;
155
+ delete_branch_on_merge: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
156
156
  master_branch: z.ZodOptional<z.ZodString>;
157
- permissions: z.ZodObject<{
157
+ permissions: z.ZodOptional<z.ZodObject<{
158
158
  pull: z.ZodBoolean;
159
159
  push: z.ZodBoolean;
160
160
  admin: z.ZodBoolean;
161
- maintain: z.ZodOptional<z.ZodBoolean>;
162
- triage: z.ZodOptional<z.ZodBoolean>;
163
- }, z.core.$strip>;
164
- public: z.ZodOptional<z.ZodBoolean>;
161
+ maintain: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
162
+ triage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
163
+ }, z.core.$strip>>;
164
+ public: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
165
165
  organization: z.ZodOptional<z.ZodString>;
166
- custom_properties: z.ZodObject<{}, z.core.$strip>;
166
+ custom_properties: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
167
167
  }, z.core.$strip>;
168
168
  sender: z.ZodObject<{
169
169
  login: z.ZodString;
170
170
  id: z.ZodNumber;
171
171
  node_id: z.ZodString;
172
172
  name: z.ZodOptional<z.ZodString>;
173
- email: z.ZodOptional<z.ZodString>;
173
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
174
174
  avatar_url: z.ZodString;
175
175
  gravatar_id: z.ZodString;
176
176
  url: z.ZodString;
@@ -204,7 +204,7 @@ export declare const BranchProtectionRuleCreatedEventSchema: z.ZodObject<{
204
204
  members_url: z.ZodString;
205
205
  public_members_url: z.ZodString;
206
206
  avatar_url: z.ZodString;
207
- description: z.ZodString;
207
+ description: z.ZodNullable<z.ZodString>;
208
208
  }, z.core.$strip>>;
209
209
  }, z.core.$strip>;
210
210
  export type BranchProtectionRuleCreatedEvent = BranchProtectionRuleCreatedEventOctokit;
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./shared/index.js";import"./shared/marketplace-purchase.js";import"./shared/pull-request.js";import"./shared/simple-pull-request.js";import"./shared/sponsorship-tier.js";import"./shared/project-card.js";import{wh as q}from"./shared/organization.js";import"./shared/deployment.js";import"./shared/projects-v2-item.js";import"./shared/alert-instance.js";import"./shared/release.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/installation.js";import{Oh as j}from"./shared/branch-protection-rule.js";import"./shared/git-hub-org.js";import"./shared/deployment-workflow-run.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/commit.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/pull-request-review-comment.js";import"./shared/link.js";import{ei as k}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-issue-title.js";import"./shared/secret-scanning-location-commit.js";import"./shared/package-nuget-metadata.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/workflow-job.js";import"./shared/workflow-step-in-progress.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-auto-merge.js";import"./shared/security-advisory-cvss.js";import"./shared/package-npm-metadata.js";import"./shared/organization-custom-property.js";import"./shared/security-advisory-cwes.js";import"./shared/project-column.js";import"./shared/issue.js";import"./shared/label.js";import"./shared/release-asset.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/workflow.js";import"./shared/check-run-deployment.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/referenced-workflow.js";import"./shared/project.js";import"./shared/check-run-pull-request.js";import"./shared/repo-ref.js";import"./shared/simple-commit.js";import"./shared/committer.js";import"./shared/membership.js";import"./shared/issue-comment.js";import"./shared/reactions.js";import"./shared/app.js";import{uj as w}from"./shared/repository.js";import"./shared/license.js";import"./shared/milestone.js";import{Aj as f}from"./shared/user.js";import"./shared/custom-property-value.js";import{z as b}from"zod";var A=b.object({action:b.literal("created"),rule:j,repository:w,sender:f,installation:k.optional(),organization:q.optional()});function G(x){return A.safeParse(x).success}export{G as isBranchProtectionRuleCreatedEvent,A as BranchProtectionRuleCreatedEventSchema};
3
- export{A as Ed,G as Fd};
2
+ import"./shared/index.js";import"./shared/project-card.js";import"./shared/marketplace-purchase.js";import"./shared/project-column.js";import"./shared/package-npm-metadata.js";import"./shared/pull-request.js";import"./shared/workflow.js";import"./shared/organization-custom-property.js";import"./shared/alert-instance.js";import"./shared/custom-property-value.js";import"./shared/sponsorship-tier.js";import"./shared/commit.js";import"./shared/project.js";import"./shared/package-nuget-metadata.js";import"./shared/installation.js";import{Qh as j}from"./shared/branch-protection-rule.js";import"./shared/discussion.js";import"./shared/discussion-category.js";import"./shared/deployment-workflow-run.js";import"./shared/check-run-pull-request.js";import"./shared/issue-comment.js";import"./shared/secret-scanning-location-issue-body.js";import"./shared/issue.js";import"./shared/repository-vulnerability-alert-alert.js";import"./shared/git-hub-org.js";import"./shared/release.js";import"./shared/release-asset.js";import"./shared/check-run-deployment.js";import"./shared/projects-v2-item.js";import"./shared/workflow-job.js";import"./shared/workflow-step-completed.js";import"./shared/workflow-step-in-progress.js";import{wi as k}from"./shared/installation-lite.js";import"./shared/secret-scanning-location-commit.js";import"./shared/membership.js";import"./shared/workflow-run.js";import"./shared/repository-lite.js";import"./shared/simple-commit.js";import"./shared/referenced-workflow.js";import"./shared/repo-ref.js";import"./shared/committer.js";import"./shared/secret-scanning-location-issue-comment.js";import"./shared/pull-request-review.js";import"./shared/simple-pull-request.js";import"./shared/pull-request-auto-merge.js";import"./shared/label.js";import"./shared/milestone.js";import"./shared/team.js";import"./shared/secret-scanning-alert.js";import"./shared/deployment.js";import"./shared/secret-scanning-location-issue-title.js";import{gj as w}from"./shared/repository.js";import{ij as q}from"./shared/organization.js";import"./shared/app.js";import"./shared/dependabot-alert.js";import"./shared/dependabot-alert-package.js";import"./shared/security-advisory-cwes.js";import"./shared/security-advisory-cvss.js";import"./shared/workflow-step-queued.js";import"./shared/pull-request-review-comment.js";import"./shared/reactions.js";import"./shared/link.js";import{Cj as f}from"./shared/user.js";import"./shared/license.js";import"../chunk-sgm7k1ae.js";import{z as b}from"zod";var A=b.object({action:b.literal("created"),rule:j,repository:w,sender:f,installation:k.optional(),organization:q.optional()});function G(x){return A.safeParse(x).success}export{G as isBranchProtectionRuleCreatedEvent,A as BranchProtectionRuleCreatedEventSchema};
3
+ export{A as z,G as A};
4
4
 
5
- //# debugId=51CE6AE11B9AC4C964756E2164756E21
5
+ //# debugId=328B19AC5CCD83E164756E2164756E21
@@ -4,7 +4,7 @@
4
4
  "sourcesContent": [
5
5
  "/**\n * Auto-generated Zod schema for BranchProtectionRuleCreatedEvent\n * DO NOT MODIFY - regenerate with: bun run generate:schemas\n */\n\nimport type { BranchProtectionRuleCreatedEvent as BranchProtectionRuleCreatedEventOctokit } from '@octokit/webhooks-types';\nimport { z } from 'zod';\n\nimport {\n BranchProtectionRuleSchema,\n InstallationLiteSchema,\n OrganizationSchema,\n RepositorySchema,\n UserSchema,\n} from './shared/index.js';\n\nexport const BranchProtectionRuleCreatedEventSchema = z.object({\n action: z.literal('created'),\n rule: BranchProtectionRuleSchema,\n repository: RepositorySchema,\n sender: UserSchema,\n installation: InstallationLiteSchema.optional(),\n organization: OrganizationSchema.optional(),\n}) satisfies z.ZodType<BranchProtectionRuleCreatedEventOctokit>;\n\nexport type BranchProtectionRuleCreatedEvent = BranchProtectionRuleCreatedEventOctokit;\n\nexport function isBranchProtectionRuleCreatedEvent(\n value: unknown,\n): value is BranchProtectionRuleCreatedEvent {\n return BranchProtectionRuleCreatedEventSchema.safeParse(value).success;\n}\n"
6
6
  ],
7
- "mappings": ";yrEAMA,mBAAS,WAUF,UAAM,KAAyC,CAAE,MAAO,FAC7D,UAAQ,GAAE,EAAQ,gCAAS,2BAC3B,WAAM,CACN,oBAAY,AACZ,iBAAQ,KACR,wBAAc,LAAuB,+BAAS,gBAC9C,IAAc,MAAmB,gCAAS,mBAC5C,UAAC,PAIM,iBAAS,AAAkC,aAChD,SAC2C,WAC3C,gBAAO,SAAuC,yBAAU,UAAK,GAAE",
8
- "debugId": "51CE6AE11B9AC4C964756E2164756E21",
7
+ "mappings": ";2tEAMA,WAAS,mBAUF,KAAM,SAAyC,CAAE,EAAO,gBAC7D,QAAQ,UAAE,WAAQ,EAAS,JAC3B,cAAM,CACN,oBAAY,DACZ,aAAQ,YACR,sBAAc,EAAuB,+BAAS,NAC9C,oCAAc,AAAmB,GAAS,CAC5C,QAAC,KAIM,QAAS,WAAkC,aAChD,MAC2C,mBAC3C,IAAO,CAAuC,YAAU,CAAK,QAAE",
8
+ "debugId": "328B19AC5CCD83E164756E2164756E21",
9
9
  "names": []
10
10
  }