codecraftai-restclient-github-public 1.2.0__py3-none-any.whl

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 (579) hide show
  1. ccai/restclient/github/public/__init__.py +0 -0
  2. ccai/restclient/github/public/generation/githubrestclientgenerator.py +56 -0
  3. ccai/restclient/github/public/generation/specs/api-hints.json +172 -0
  4. ccai/restclient/github/public/generation/specs/api-public.json +306020 -0
  5. ccai/restclient/github/public/generation/specs/pagination-hints.json +31 -0
  6. ccai/restclient/github/public/githubpublicrestclient.py +262 -0
  7. ccai/restclient/github/public/githubrestclientbase.py +120 -0
  8. ccai/restclient/github/public/groups/__init__.py +0 -0
  9. ccai/restclient/github/public/groups/actions.py +8042 -0
  10. ccai/restclient/github/public/groups/activity.py +1488 -0
  11. ccai/restclient/github/public/groups/apiinsights.py +478 -0
  12. ccai/restclient/github/public/groups/apps.py +1662 -0
  13. ccai/restclient/github/public/groups/billing.py +401 -0
  14. ccai/restclient/github/public/groups/campaigns.py +262 -0
  15. ccai/restclient/github/public/groups/checks.py +632 -0
  16. ccai/restclient/github/public/groups/classroom.py +276 -0
  17. ccai/restclient/github/public/groups/codescanning.py +1203 -0
  18. ccai/restclient/github/public/groups/codesecurity.py +997 -0
  19. ccai/restclient/github/public/groups/codesofconduct.py +92 -0
  20. ccai/restclient/github/public/groups/codespaces.py +2271 -0
  21. ccai/restclient/github/public/groups/copilot.py +517 -0
  22. ccai/restclient/github/public/groups/credentials.py +62 -0
  23. ccai/restclient/github/public/groups/dependabot.py +1155 -0
  24. ccai/restclient/github/public/groups/dependencygraph.py +152 -0
  25. ccai/restclient/github/public/groups/emojis.py +51 -0
  26. ccai/restclient/github/public/groups/gists.py +909 -0
  27. ccai/restclient/github/public/groups/git.py +734 -0
  28. ccai/restclient/github/public/groups/gitignore.py +96 -0
  29. ccai/restclient/github/public/groups/hostedcompute.py +290 -0
  30. ccai/restclient/github/public/groups/interactions.py +389 -0
  31. ccai/restclient/github/public/groups/issues.py +2460 -0
  32. ccai/restclient/github/public/groups/licenses.py +153 -0
  33. ccai/restclient/github/public/groups/markdown.py +88 -0
  34. ccai/restclient/github/public/groups/meta.py +213 -0
  35. ccai/restclient/github/public/groups/migrations.py +1079 -0
  36. ccai/restclient/github/public/groups/oidc.py +102 -0
  37. ccai/restclient/github/public/groups/orgs.py +3958 -0
  38. ccai/restclient/github/public/groups/packages.py +1316 -0
  39. ccai/restclient/github/public/groups/privateregistries.py +294 -0
  40. ccai/restclient/github/public/groups/projectsclassic.py +1154 -0
  41. ccai/restclient/github/public/groups/pulls.py +1469 -0
  42. ccai/restclient/github/public/groups/ratelimit.py +68 -0
  43. ccai/restclient/github/public/groups/reactions.py +1247 -0
  44. ccai/restclient/github/public/groups/repos.py +9741 -0
  45. ccai/restclient/github/public/groups/search.py +417 -0
  46. ccai/restclient/github/public/groups/secretscanning.py +568 -0
  47. ccai/restclient/github/public/groups/securityadvisories.py +541 -0
  48. ccai/restclient/github/public/groups/teams.py +2985 -0
  49. ccai/restclient/github/public/groups/users.py +2054 -0
  50. ccai/restclient/github/public/py.typed +0 -0
  51. ccai/restclient/github/public/schemas/__init__.py +0 -0
  52. ccai/restclient/github/public/schemas/actions.py +418 -0
  53. ccai/restclient/github/public/schemas/activity.py +95 -0
  54. ccai/restclient/github/public/schemas/actor.py +20 -0
  55. ccai/restclient/github/public/schemas/addedtoprojectissueevent.py +24 -0
  56. ccai/restclient/github/public/schemas/apps.py +151 -0
  57. ccai/restclient/github/public/schemas/assignedissueevent.py +25 -0
  58. ccai/restclient/github/public/schemas/authenticationtoken.py +20 -0
  59. ccai/restclient/github/public/schemas/automerge.py +16 -0
  60. ccai/restclient/github/public/schemas/basicerror.py +16 -0
  61. ccai/restclient/github/public/schemas/billing.py +27 -0
  62. ccai/restclient/github/public/schemas/billingusagereport.py +12 -0
  63. ccai/restclient/github/public/schemas/billingusagereportuser.py +12 -0
  64. ccai/restclient/github/public/schemas/campaigns.py +27 -0
  65. ccai/restclient/github/public/schemas/checkrunwithsimplechecksuite.py +31 -0
  66. ccai/restclient/github/public/schemas/checks.py +80 -0
  67. ccai/restclient/github/public/schemas/classroom.py +109 -0
  68. ccai/restclient/github/public/schemas/codeofconductsimple.py +18 -0
  69. ccai/restclient/github/public/schemas/codescanning.py +197 -0
  70. ccai/restclient/github/public/schemas/codescanningalertlocation.py +17 -0
  71. ccai/restclient/github/public/schemas/codescanningalertrule.py +20 -0
  72. ccai/restclient/github/public/schemas/codescanningalertrulesummary.py +20 -0
  73. ccai/restclient/github/public/schemas/codescanninganalysistool.py +14 -0
  74. ccai/restclient/github/public/schemas/codescanningautofixcommitsresponse.py +11 -0
  75. ccai/restclient/github/public/schemas/codescanningdefaultsetupupdateresponse.py +15 -0
  76. ccai/restclient/github/public/schemas/codescanningsarifsreceipt.py +11 -0
  77. ccai/restclient/github/public/schemas/codescanningvariantanalysisrepository.py +20 -0
  78. ccai/restclient/github/public/schemas/codescanningvariantanalysisskippedrepogroup.py +13 -0
  79. ccai/restclient/github/public/schemas/codesecurity.py +73 -0
  80. ccai/restclient/github/public/schemas/codesofconduct.py +19 -0
  81. ccai/restclient/github/public/schemas/codespaces.py +130 -0
  82. ccai/restclient/github/public/schemas/codespacewithfullrepository.py +45 -0
  83. ccai/restclient/github/public/schemas/commit.py +25 -0
  84. ccai/restclient/github/public/schemas/contenttree.py +27 -0
  85. ccai/restclient/github/public/schemas/convertednotetoissueissueevent.py +24 -0
  86. ccai/restclient/github/public/schemas/copilot.py +50 -0
  87. ccai/restclient/github/public/schemas/copilotdotcomchat.py +16 -0
  88. ccai/restclient/github/public/schemas/copilotdotcompullrequests.py +16 -0
  89. ccai/restclient/github/public/schemas/copilotidechat.py +16 -0
  90. ccai/restclient/github/public/schemas/copilotidecodecompletions.py +17 -0
  91. ccai/restclient/github/public/schemas/copilotorganizationseatbreakdown.py +18 -0
  92. ccai/restclient/github/public/schemas/cvssseverities.py +13 -0
  93. ccai/restclient/github/public/schemas/demilestonedissueevent.py +24 -0
  94. ccai/restclient/github/public/schemas/dependabot.py +87 -0
  95. ccai/restclient/github/public/schemas/dependabotalertpackage.py +14 -0
  96. ccai/restclient/github/public/schemas/dependabotalertsecurityadvisory.py +29 -0
  97. ccai/restclient/github/public/schemas/dependabotalertsecurityvulnerability.py +18 -0
  98. ccai/restclient/github/public/schemas/dependency.py +16 -0
  99. ccai/restclient/github/public/schemas/dependencygraph.py +29 -0
  100. ccai/restclient/github/public/schemas/deploymentsimple.py +28 -0
  101. ccai/restclient/github/public/schemas/discussion.py +37 -0
  102. ccai/restclient/github/public/schemas/enterprise.py +24 -0
  103. ccai/restclient/github/public/schemas/enterpriseteam.py +27 -0
  104. ccai/restclient/github/public/schemas/enterprisewebhooks.py +26 -0
  105. ccai/restclient/github/public/schemas/gisthistory.py +19 -0
  106. ccai/restclient/github/public/schemas/gists.py +88 -0
  107. ccai/restclient/github/public/schemas/git.py +71 -0
  108. ccai/restclient/github/public/schemas/gitignore.py +14 -0
  109. ccai/restclient/github/public/schemas/hookdelivery.py +29 -0
  110. ccai/restclient/github/public/schemas/hookdeliveryitem.py +26 -0
  111. ccai/restclient/github/public/schemas/hookresponse.py +14 -0
  112. ccai/restclient/github/public/schemas/hostedcompute.py +30 -0
  113. ccai/restclient/github/public/schemas/installation.py +35 -0
  114. ccai/restclient/github/public/schemas/installationtoken.py +22 -0
  115. ccai/restclient/github/public/schemas/interactions.py +23 -0
  116. ccai/restclient/github/public/schemas/issuedependenciessummary.py +13 -0
  117. ccai/restclient/github/public/schemas/issueeventdismissedreview.py +15 -0
  118. ccai/restclient/github/public/schemas/issueeventlabel.py +16 -0
  119. ccai/restclient/github/public/schemas/issueeventmilestone.py +13 -0
  120. ccai/restclient/github/public/schemas/issueeventprojectcard.py +18 -0
  121. ccai/restclient/github/public/schemas/issueeventrename.py +14 -0
  122. ccai/restclient/github/public/schemas/issuefieldvalue.py +19 -0
  123. ccai/restclient/github/public/schemas/issues.py +135 -0
  124. ccai/restclient/github/public/schemas/labeledissueevent.py +24 -0
  125. ccai/restclient/github/public/schemas/licenses.py +58 -0
  126. ccai/restclient/github/public/schemas/link.py +13 -0
  127. ccai/restclient/github/public/schemas/linkwithtype.py +14 -0
  128. ccai/restclient/github/public/schemas/lockedissueevent.py +24 -0
  129. ccai/restclient/github/public/schemas/manifest.py +15 -0
  130. ccai/restclient/github/public/schemas/marketplaceaccount.py +18 -0
  131. ccai/restclient/github/public/schemas/mergegroup.py +17 -0
  132. ccai/restclient/github/public/schemas/meta.py +67 -0
  133. ccai/restclient/github/public/schemas/migrations.py +84 -0
  134. ccai/restclient/github/public/schemas/milestonedissueevent.py +24 -0
  135. ccai/restclient/github/public/schemas/minimalrepository.py +102 -0
  136. ccai/restclient/github/public/schemas/movedcolumninprojectissueevent.py +24 -0
  137. ccai/restclient/github/public/schemas/nullableactionshostedrunnerpoolimage.py +16 -0
  138. ccai/restclient/github/public/schemas/nullablecodeofconductsimple.py +18 -0
  139. ccai/restclient/github/public/schemas/nullablecodespacemachine.py +21 -0
  140. ccai/restclient/github/public/schemas/nullablecollaborator.py +37 -0
  141. ccai/restclient/github/public/schemas/nullablecommunityhealthfile.py +11 -0
  142. ccai/restclient/github/public/schemas/nullablegituser.py +15 -0
  143. ccai/restclient/github/public/schemas/nullableintegration.py +28 -0
  144. ccai/restclient/github/public/schemas/nullableissue.py +52 -0
  145. ccai/restclient/github/public/schemas/nullablelicensesimple.py +20 -0
  146. ccai/restclient/github/public/schemas/nullablemilestone.py +30 -0
  147. ccai/restclient/github/public/schemas/nullableminimalrepository.py +102 -0
  148. ccai/restclient/github/public/schemas/nullableorganizationsimple.py +26 -0
  149. ccai/restclient/github/public/schemas/nullableprojectsv2statusupdate.py +24 -0
  150. ccai/restclient/github/public/schemas/nullablerepository.py +110 -0
  151. ccai/restclient/github/public/schemas/nullablerepositorywebhooks.py +115 -0
  152. ccai/restclient/github/public/schemas/nullablescopedinstallation.py +18 -0
  153. ccai/restclient/github/public/schemas/nullablesimplecommit.py +20 -0
  154. ccai/restclient/github/public/schemas/nullablesimplerepository.py +60 -0
  155. ccai/restclient/github/public/schemas/nullablesimpleuser.py +36 -0
  156. ccai/restclient/github/public/schemas/nullableteamsimple.py +27 -0
  157. ccai/restclient/github/public/schemas/oidc.py +15 -0
  158. ccai/restclient/github/public/schemas/organizationinvitation.py +26 -0
  159. ccai/restclient/github/public/schemas/organizationsimplewebhooks.py +27 -0
  160. ccai/restclient/github/public/schemas/orgprivateregistryconfigurationwithselectedrepositories.py +21 -0
  161. ccai/restclient/github/public/schemas/orgs.py +332 -0
  162. ccai/restclient/github/public/schemas/packages.py +42 -0
  163. ccai/restclient/github/public/schemas/pagebuildstatus.py +14 -0
  164. ccai/restclient/github/public/schemas/pageshttpscertificate.py +15 -0
  165. ccai/restclient/github/public/schemas/pagessourcehash.py +11 -0
  166. ccai/restclient/github/public/schemas/personalaccesstokenrequest.py +28 -0
  167. ccai/restclient/github/public/schemas/privateregistries.py +20 -0
  168. ccai/restclient/github/public/schemas/projectsclassic.py +70 -0
  169. ccai/restclient/github/public/schemas/projectsv2.py +31 -0
  170. ccai/restclient/github/public/schemas/projectsv2item.py +23 -0
  171. ccai/restclient/github/public/schemas/projectsv2iterationsetting.py +20 -0
  172. ccai/restclient/github/public/schemas/projectsv2singleselectoption.py +18 -0
  173. ccai/restclient/github/public/schemas/projectsv2statusupdate.py +24 -0
  174. ccai/restclient/github/public/schemas/protectedbranchrequiredstatuscheck.py +20 -0
  175. ccai/restclient/github/public/schemas/publicip.py +15 -0
  176. ccai/restclient/github/public/schemas/pullrequestminimal.py +16 -0
  177. ccai/restclient/github/public/schemas/pullrequestsimple.py +50 -0
  178. ccai/restclient/github/public/schemas/pulls.py +185 -0
  179. ccai/restclient/github/public/schemas/ratelimit.py +23 -0
  180. ccai/restclient/github/public/schemas/reactions.py +17 -0
  181. ccai/restclient/github/public/schemas/referencedworkflow.py +15 -0
  182. ccai/restclient/github/public/schemas/removedfromprojectissueevent.py +24 -0
  183. ccai/restclient/github/public/schemas/renamedissueevent.py +24 -0
  184. ccai/restclient/github/public/schemas/repos.py +952 -0
  185. ccai/restclient/github/public/schemas/repository.py +110 -0
  186. ccai/restclient/github/public/schemas/repositoryadvisorycredit.py +15 -0
  187. ccai/restclient/github/public/schemas/repositoryadvisoryvulnerability.py +18 -0
  188. ccai/restclient/github/public/schemas/repositoryrulebranchnamepattern.py +16 -0
  189. ccai/restclient/github/public/schemas/repositoryrulecodescanning.py +16 -0
  190. ccai/restclient/github/public/schemas/repositoryrulecommitauthoremailpattern.py +16 -0
  191. ccai/restclient/github/public/schemas/repositoryrulecommitmessagepattern.py +16 -0
  192. ccai/restclient/github/public/schemas/repositoryrulecommitteremailpattern.py +16 -0
  193. ccai/restclient/github/public/schemas/repositoryrulecreation.py +13 -0
  194. ccai/restclient/github/public/schemas/repositoryruledeletion.py +13 -0
  195. ccai/restclient/github/public/schemas/repositoryrulefileextensionrestriction.py +16 -0
  196. ccai/restclient/github/public/schemas/repositoryrulefilepathrestriction.py +16 -0
  197. ccai/restclient/github/public/schemas/repositoryrulemaxfilepathlength.py +16 -0
  198. ccai/restclient/github/public/schemas/repositoryrulemaxfilesize.py +16 -0
  199. ccai/restclient/github/public/schemas/repositoryrulemergequeue.py +16 -0
  200. ccai/restclient/github/public/schemas/repositoryrulenonfastforward.py +13 -0
  201. ccai/restclient/github/public/schemas/repositoryruleparamscodescanningtool.py +15 -0
  202. ccai/restclient/github/public/schemas/repositoryruleparamsrequiredreviewerconfiguration.py +17 -0
  203. ccai/restclient/github/public/schemas/repositoryruleparamsrestrictedcommits.py +14 -0
  204. ccai/restclient/github/public/schemas/repositoryruleparamsreviewer.py +14 -0
  205. ccai/restclient/github/public/schemas/repositoryruleparamsstatuscheckconfiguration.py +14 -0
  206. ccai/restclient/github/public/schemas/repositoryruleparamsworkflowfilereference.py +16 -0
  207. ccai/restclient/github/public/schemas/repositoryrulepullrequest.py +16 -0
  208. ccai/restclient/github/public/schemas/repositoryrulerequireddeployments.py +16 -0
  209. ccai/restclient/github/public/schemas/repositoryrulerequiredlinearhistory.py +13 -0
  210. ccai/restclient/github/public/schemas/repositoryrulerequiredsignatures.py +13 -0
  211. ccai/restclient/github/public/schemas/repositoryrulerequiredstatuschecks.py +16 -0
  212. ccai/restclient/github/public/schemas/repositoryrulerulesetinfo.py +15 -0
  213. ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositoryidtarget.py +15 -0
  214. ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositorynametarget.py +15 -0
  215. ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositorypropertyspec.py +17 -0
  216. ccai/restclient/github/public/schemas/repositoryrulesetconditionsrepositorypropertytarget.py +15 -0
  217. ccai/restclient/github/public/schemas/repositoryruletagnamepattern.py +16 -0
  218. ccai/restclient/github/public/schemas/repositoryruleupdate.py +16 -0
  219. ccai/restclient/github/public/schemas/repositoryruleviolationerror.py +18 -0
  220. ccai/restclient/github/public/schemas/repositoryruleworkflows.py +16 -0
  221. ccai/restclient/github/public/schemas/repositorywebhooks.py +115 -0
  222. ccai/restclient/github/public/schemas/reviewdismissedissueevent.py +24 -0
  223. ccai/restclient/github/public/schemas/reviewrequestedissueevent.py +26 -0
  224. ccai/restclient/github/public/schemas/reviewrequestremovedissueevent.py +26 -0
  225. ccai/restclient/github/public/schemas/rulesetversion.py +17 -0
  226. ccai/restclient/github/public/schemas/runnerlabel.py +15 -0
  227. ccai/restclient/github/public/schemas/scimerror.py +20 -0
  228. ccai/restclient/github/public/schemas/search.py +263 -0
  229. ccai/restclient/github/public/schemas/secretscanning.py +96 -0
  230. ccai/restclient/github/public/schemas/secretscanningalertwebhook.py +33 -0
  231. ccai/restclient/github/public/schemas/secretscanninglocationcommit.py +21 -0
  232. ccai/restclient/github/public/schemas/secretscanninglocationdiscussionbody.py +13 -0
  233. ccai/restclient/github/public/schemas/secretscanninglocationdiscussioncomment.py +13 -0
  234. ccai/restclient/github/public/schemas/secretscanninglocationdiscussiontitle.py +13 -0
  235. ccai/restclient/github/public/schemas/secretscanninglocationissuebody.py +13 -0
  236. ccai/restclient/github/public/schemas/secretscanninglocationissuecomment.py +13 -0
  237. ccai/restclient/github/public/schemas/secretscanninglocationissuetitle.py +13 -0
  238. ccai/restclient/github/public/schemas/secretscanninglocationpullrequestbody.py +13 -0
  239. ccai/restclient/github/public/schemas/secretscanninglocationpullrequestcomment.py +13 -0
  240. ccai/restclient/github/public/schemas/secretscanninglocationpullrequestreview.py +13 -0
  241. ccai/restclient/github/public/schemas/secretscanninglocationpullrequestreviewcomment.py +13 -0
  242. ccai/restclient/github/public/schemas/secretscanninglocationpullrequesttitle.py +13 -0
  243. ccai/restclient/github/public/schemas/secretscanninglocationwikicommit.py +21 -0
  244. ccai/restclient/github/public/schemas/secretscanningpatternoverride.py +23 -0
  245. ccai/restclient/github/public/schemas/secretscanningscan.py +18 -0
  246. ccai/restclient/github/public/schemas/securityadvisories.py +106 -0
  247. ccai/restclient/github/public/schemas/securityadvisoryepss.py +14 -0
  248. ccai/restclient/github/public/schemas/securityandanalysis.py +18 -0
  249. ccai/restclient/github/public/schemas/shortblob.py +14 -0
  250. ccai/restclient/github/public/schemas/simplechecksuite.py +28 -0
  251. ccai/restclient/github/public/schemas/simpleclassroomorganization.py +20 -0
  252. ccai/restclient/github/public/schemas/simpleclassroomrepository.py +18 -0
  253. ccai/restclient/github/public/schemas/simpleclassroomuser.py +16 -0
  254. ccai/restclient/github/public/schemas/simplecommit.py +20 -0
  255. ccai/restclient/github/public/schemas/simplecommitstatus.py +22 -0
  256. ccai/restclient/github/public/schemas/simpleinstallation.py +16 -0
  257. ccai/restclient/github/public/schemas/simplerepository.py +60 -0
  258. ccai/restclient/github/public/schemas/statechangeissueevent.py +24 -0
  259. ccai/restclient/github/public/schemas/subissuessummary.py +12 -0
  260. ccai/restclient/github/public/schemas/teamorganization.py +63 -0
  261. ccai/restclient/github/public/schemas/teams.py +202 -0
  262. ccai/restclient/github/public/schemas/timelineassignedissueevent.py +24 -0
  263. ccai/restclient/github/public/schemas/timelinecommentevent.py +30 -0
  264. ccai/restclient/github/public/schemas/timelinecommitcommentedevent.py +18 -0
  265. ccai/restclient/github/public/schemas/timelinecommittedevent.py +25 -0
  266. ccai/restclient/github/public/schemas/timelinecrossreferencedevent.py +19 -0
  267. ccai/restclient/github/public/schemas/timelinelinecommentedevent.py +17 -0
  268. ccai/restclient/github/public/schemas/timelinereviewedevent.py +29 -0
  269. ccai/restclient/github/public/schemas/timelineunassignedissueevent.py +24 -0
  270. ccai/restclient/github/public/schemas/traffic.py +12 -0
  271. ccai/restclient/github/public/schemas/unassignedissueevent.py +25 -0
  272. ccai/restclient/github/public/schemas/unlabeledissueevent.py +24 -0
  273. ccai/restclient/github/public/schemas/users.py +183 -0
  274. ccai/restclient/github/public/schemas/validationerror.py +17 -0
  275. ccai/restclient/github/public/schemas/validationerrorsimple.py +17 -0
  276. ccai/restclient/github/public/schemas/verification.py +16 -0
  277. ccai/restclient/github/public/schemas/vulnerability.py +18 -0
  278. ccai/restclient/github/public/schemas/webhookbranchprotectionconfigurationdisabled.py +15 -0
  279. ccai/restclient/github/public/schemas/webhookbranchprotectionconfigurationenabled.py +15 -0
  280. ccai/restclient/github/public/schemas/webhookbranchprotectionrulecreated.py +16 -0
  281. ccai/restclient/github/public/schemas/webhookbranchprotectionruledeleted.py +16 -0
  282. ccai/restclient/github/public/schemas/webhookbranchprotectionruleedited.py +19 -0
  283. ccai/restclient/github/public/schemas/webhookcheckruncompleted.py +15 -0
  284. ccai/restclient/github/public/schemas/webhookcheckruncompletedformencoded.py +13 -0
  285. ccai/restclient/github/public/schemas/webhookcheckruncreated.py +15 -0
  286. ccai/restclient/github/public/schemas/webhookcheckruncreatedformencoded.py +13 -0
  287. ccai/restclient/github/public/schemas/webhookcheckrunrequestedaction.py +18 -0
  288. ccai/restclient/github/public/schemas/webhookcheckrunrequestedactionformencoded.py +13 -0
  289. ccai/restclient/github/public/schemas/webhookcheckrunrerequested.py +15 -0
  290. ccai/restclient/github/public/schemas/webhookcheckrunrerequestedformencoded.py +13 -0
  291. ccai/restclient/github/public/schemas/webhookchecksuitecompleted.py +18 -0
  292. ccai/restclient/github/public/schemas/webhookchecksuiterequested.py +18 -0
  293. ccai/restclient/github/public/schemas/webhookchecksuitererequested.py +18 -0
  294. ccai/restclient/github/public/schemas/webhookcodescanningalertappearedinbranch.py +20 -0
  295. ccai/restclient/github/public/schemas/webhookcodescanningalertclosedbyuser.py +20 -0
  296. ccai/restclient/github/public/schemas/webhookcodescanningalertcreated.py +20 -0
  297. ccai/restclient/github/public/schemas/webhookcodescanningalertfixed.py +20 -0
  298. ccai/restclient/github/public/schemas/webhookcodescanningalertreopened.py +20 -0
  299. ccai/restclient/github/public/schemas/webhookcodescanningalertreopenedbyuser.py +20 -0
  300. ccai/restclient/github/public/schemas/webhookcommitcommentcreated.py +18 -0
  301. ccai/restclient/github/public/schemas/webhookcreate.py +21 -0
  302. ccai/restclient/github/public/schemas/webhookcustompropertycreated.py +15 -0
  303. ccai/restclient/github/public/schemas/webhookcustompropertydeleted.py +17 -0
  304. ccai/restclient/github/public/schemas/webhookcustompropertypromotedtoenterprise.py +15 -0
  305. ccai/restclient/github/public/schemas/webhookcustompropertyupdated.py +15 -0
  306. ccai/restclient/github/public/schemas/webhookcustompropertyvaluesupdated.py +19 -0
  307. ccai/restclient/github/public/schemas/webhookdelete.py +17 -0
  308. ccai/restclient/github/public/schemas/webhookdependabotalertautodismissed.py +16 -0
  309. ccai/restclient/github/public/schemas/webhookdependabotalertautoreopened.py +16 -0
  310. ccai/restclient/github/public/schemas/webhookdependabotalertcreated.py +16 -0
  311. ccai/restclient/github/public/schemas/webhookdependabotalertdismissed.py +16 -0
  312. ccai/restclient/github/public/schemas/webhookdependabotalertfixed.py +16 -0
  313. ccai/restclient/github/public/schemas/webhookdependabotalertreintroduced.py +16 -0
  314. ccai/restclient/github/public/schemas/webhookdependabotalertreopened.py +16 -0
  315. ccai/restclient/github/public/schemas/webhookdeploykeycreated.py +16 -0
  316. ccai/restclient/github/public/schemas/webhookdeploykeydeleted.py +16 -0
  317. ccai/restclient/github/public/schemas/webhookdeploymentcreated.py +20 -0
  318. ccai/restclient/github/public/schemas/webhookdeploymentprotectionrulerequested.py +21 -0
  319. ccai/restclient/github/public/schemas/webhookdeploymentreviewapproved.py +24 -0
  320. ccai/restclient/github/public/schemas/webhookdeploymentreviewrejected.py +24 -0
  321. ccai/restclient/github/public/schemas/webhookdeploymentreviewrequested.py +23 -0
  322. ccai/restclient/github/public/schemas/webhookdeploymentstatuscreated.py +22 -0
  323. ccai/restclient/github/public/schemas/webhookdiscussionanswered.py +17 -0
  324. ccai/restclient/github/public/schemas/webhookdiscussioncategorychanged.py +19 -0
  325. ccai/restclient/github/public/schemas/webhookdiscussionclosed.py +16 -0
  326. ccai/restclient/github/public/schemas/webhookdiscussioncommentcreated.py +17 -0
  327. ccai/restclient/github/public/schemas/webhookdiscussioncommentdeleted.py +17 -0
  328. ccai/restclient/github/public/schemas/webhookdiscussioncommentedited.py +20 -0
  329. ccai/restclient/github/public/schemas/webhookdiscussioncreated.py +16 -0
  330. ccai/restclient/github/public/schemas/webhookdiscussiondeleted.py +16 -0
  331. ccai/restclient/github/public/schemas/webhookdiscussionedited.py +19 -0
  332. ccai/restclient/github/public/schemas/webhookdiscussionlabeled.py +17 -0
  333. ccai/restclient/github/public/schemas/webhookdiscussionlocked.py +16 -0
  334. ccai/restclient/github/public/schemas/webhookdiscussionpinned.py +16 -0
  335. ccai/restclient/github/public/schemas/webhookdiscussionreopened.py +16 -0
  336. ccai/restclient/github/public/schemas/webhookdiscussiontransferred.py +19 -0
  337. ccai/restclient/github/public/schemas/webhookdiscussionunanswered.py +15 -0
  338. ccai/restclient/github/public/schemas/webhookdiscussionunlabeled.py +17 -0
  339. ccai/restclient/github/public/schemas/webhookdiscussionunlocked.py +16 -0
  340. ccai/restclient/github/public/schemas/webhookdiscussionunpinned.py +16 -0
  341. ccai/restclient/github/public/schemas/webhookfork.py +18 -0
  342. ccai/restclient/github/public/schemas/webhookgithubappauthorizationrevoked.py +11 -0
  343. ccai/restclient/github/public/schemas/webhookgollum.py +17 -0
  344. ccai/restclient/github/public/schemas/webhookinstallationcreated.py +19 -0
  345. ccai/restclient/github/public/schemas/webhookinstallationdeleted.py +19 -0
  346. ccai/restclient/github/public/schemas/webhookinstallationnewpermissionsaccepted.py +19 -0
  347. ccai/restclient/github/public/schemas/webhookinstallationrepositoriesadded.py +21 -0
  348. ccai/restclient/github/public/schemas/webhookinstallationrepositoriesremoved.py +21 -0
  349. ccai/restclient/github/public/schemas/webhookinstallationsuspend.py +19 -0
  350. ccai/restclient/github/public/schemas/webhookinstallationtargetrenamed.py +20 -0
  351. ccai/restclient/github/public/schemas/webhookinstallationunsuspend.py +19 -0
  352. ccai/restclient/github/public/schemas/webhookissuecommentcreated.py +19 -0
  353. ccai/restclient/github/public/schemas/webhookissuecommentdeleted.py +17 -0
  354. ccai/restclient/github/public/schemas/webhookissuecommentedited.py +18 -0
  355. ccai/restclient/github/public/schemas/webhookissuedependenciesblockedbyadded.py +19 -0
  356. ccai/restclient/github/public/schemas/webhookissuedependenciesblockedbyremoved.py +19 -0
  357. ccai/restclient/github/public/schemas/webhookissuedependenciesblockingadded.py +19 -0
  358. ccai/restclient/github/public/schemas/webhookissuedependenciesblockingremoved.py +19 -0
  359. ccai/restclient/github/public/schemas/webhookissuesassigned.py +17 -0
  360. ccai/restclient/github/public/schemas/webhookissuesclosed.py +16 -0
  361. ccai/restclient/github/public/schemas/webhookissuesdeleted.py +18 -0
  362. ccai/restclient/github/public/schemas/webhookissuesdemilestoned.py +19 -0
  363. ccai/restclient/github/public/schemas/webhookissuesedited.py +20 -0
  364. ccai/restclient/github/public/schemas/webhookissueslabeled.py +19 -0
  365. ccai/restclient/github/public/schemas/webhookissueslocked.py +18 -0
  366. ccai/restclient/github/public/schemas/webhookissuesmilestoned.py +19 -0
  367. ccai/restclient/github/public/schemas/webhookissuesopened.py +19 -0
  368. ccai/restclient/github/public/schemas/webhookissuespinned.py +16 -0
  369. ccai/restclient/github/public/schemas/webhookissuesreopened.py +18 -0
  370. ccai/restclient/github/public/schemas/webhookissuestransferred.py +19 -0
  371. ccai/restclient/github/public/schemas/webhookissuestyped.py +17 -0
  372. ccai/restclient/github/public/schemas/webhookissuesunassigned.py +17 -0
  373. ccai/restclient/github/public/schemas/webhookissuesunlabeled.py +17 -0
  374. ccai/restclient/github/public/schemas/webhookissuesunlocked.py +18 -0
  375. ccai/restclient/github/public/schemas/webhookissuesunpinned.py +16 -0
  376. ccai/restclient/github/public/schemas/webhookissuesuntyped.py +17 -0
  377. ccai/restclient/github/public/schemas/webhooklabelcreated.py +16 -0
  378. ccai/restclient/github/public/schemas/webhooklabeldeleted.py +16 -0
  379. ccai/restclient/github/public/schemas/webhooklabeledited.py +19 -0
  380. ccai/restclient/github/public/schemas/webhookmarketplacepurchasecancelled.py +18 -0
  381. ccai/restclient/github/public/schemas/webhookmarketplacepurchasechanged.py +20 -0
  382. ccai/restclient/github/public/schemas/webhookmarketplacepurchasependingchange.py +20 -0
  383. ccai/restclient/github/public/schemas/webhookmarketplacepurchasependingchangecancelled.py +20 -0
  384. ccai/restclient/github/public/schemas/webhookmarketplacepurchasepurchased.py +18 -0
  385. ccai/restclient/github/public/schemas/webhookmemberadded.py +19 -0
  386. ccai/restclient/github/public/schemas/webhookmemberedited.py +19 -0
  387. ccai/restclient/github/public/schemas/webhookmemberremoved.py +16 -0
  388. ccai/restclient/github/public/schemas/webhookmembershipadded.py +20 -0
  389. ccai/restclient/github/public/schemas/webhookmembershipremoved.py +20 -0
  390. ccai/restclient/github/public/schemas/webhookmergegroupchecksrequested.py +15 -0
  391. ccai/restclient/github/public/schemas/webhookmergegroupdestroyed.py +16 -0
  392. ccai/restclient/github/public/schemas/webhookmetadeleted.py +19 -0
  393. ccai/restclient/github/public/schemas/webhookmilestoneclosed.py +16 -0
  394. ccai/restclient/github/public/schemas/webhookmilestonecreated.py +16 -0
  395. ccai/restclient/github/public/schemas/webhookmilestonedeleted.py +16 -0
  396. ccai/restclient/github/public/schemas/webhookmilestoneedited.py +19 -0
  397. ccai/restclient/github/public/schemas/webhookmilestoneopened.py +16 -0
  398. ccai/restclient/github/public/schemas/webhookorganizationdeleted.py +16 -0
  399. ccai/restclient/github/public/schemas/webhookorganizationmemberadded.py +16 -0
  400. ccai/restclient/github/public/schemas/webhookorganizationmemberinvited.py +19 -0
  401. ccai/restclient/github/public/schemas/webhookorganizationmemberremoved.py +16 -0
  402. ccai/restclient/github/public/schemas/webhookorganizationrenamed.py +19 -0
  403. ccai/restclient/github/public/schemas/webhookorgblockblocked.py +16 -0
  404. ccai/restclient/github/public/schemas/webhookorgblockunblocked.py +16 -0
  405. ccai/restclient/github/public/schemas/webhookpackagepublished.py +18 -0
  406. ccai/restclient/github/public/schemas/webhookpackageupdated.py +18 -0
  407. ccai/restclient/github/public/schemas/webhookpagebuild.py +18 -0
  408. ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestapproved.py +15 -0
  409. ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestcancelled.py +15 -0
  410. ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestcreated.py +15 -0
  411. ccai/restclient/github/public/schemas/webhookpersonalaccesstokenrequestdenied.py +15 -0
  412. ccai/restclient/github/public/schemas/webhookping.py +17 -0
  413. ccai/restclient/github/public/schemas/webhookpingformencoded.py +13 -0
  414. ccai/restclient/github/public/schemas/webhookprojectcardconverted.py +19 -0
  415. ccai/restclient/github/public/schemas/webhookprojectcardcreated.py +16 -0
  416. ccai/restclient/github/public/schemas/webhookprojectcarddeleted.py +18 -0
  417. ccai/restclient/github/public/schemas/webhookprojectcardedited.py +19 -0
  418. ccai/restclient/github/public/schemas/webhookprojectcardmoved.py +19 -0
  419. ccai/restclient/github/public/schemas/webhookprojectclosed.py +16 -0
  420. ccai/restclient/github/public/schemas/webhookprojectcolumncreated.py +16 -0
  421. ccai/restclient/github/public/schemas/webhookprojectcolumndeleted.py +16 -0
  422. ccai/restclient/github/public/schemas/webhookprojectcolumnedited.py +19 -0
  423. ccai/restclient/github/public/schemas/webhookprojectcolumnmoved.py +16 -0
  424. ccai/restclient/github/public/schemas/webhookprojectcreated.py +16 -0
  425. ccai/restclient/github/public/schemas/webhookprojectdeleted.py +16 -0
  426. ccai/restclient/github/public/schemas/webhookprojectedited.py +19 -0
  427. ccai/restclient/github/public/schemas/webhookprojectreopened.py +16 -0
  428. ccai/restclient/github/public/schemas/webhookprojectsv2itemarchived.py +15 -0
  429. ccai/restclient/github/public/schemas/webhookprojectsv2itemconverted.py +17 -0
  430. ccai/restclient/github/public/schemas/webhookprojectsv2itemcreated.py +14 -0
  431. ccai/restclient/github/public/schemas/webhookprojectsv2itemdeleted.py +14 -0
  432. ccai/restclient/github/public/schemas/webhookprojectsv2itemedited.py +17 -0
  433. ccai/restclient/github/public/schemas/webhookprojectsv2itemreordered.py +17 -0
  434. ccai/restclient/github/public/schemas/webhookprojectsv2itemrestored.py +15 -0
  435. ccai/restclient/github/public/schemas/webhookprojectsv2projectclosed.py +14 -0
  436. ccai/restclient/github/public/schemas/webhookprojectsv2projectcreated.py +17 -0
  437. ccai/restclient/github/public/schemas/webhookprojectsv2projectdeleted.py +14 -0
  438. ccai/restclient/github/public/schemas/webhookprojectsv2projectedited.py +17 -0
  439. ccai/restclient/github/public/schemas/webhookprojectsv2projectreopened.py +14 -0
  440. ccai/restclient/github/public/schemas/webhookprojectsv2statusupdatecreated.py +14 -0
  441. ccai/restclient/github/public/schemas/webhookprojectsv2statusupdatedeleted.py +14 -0
  442. ccai/restclient/github/public/schemas/webhookprojectsv2statusupdateedited.py +17 -0
  443. ccai/restclient/github/public/schemas/webhookpublic.py +14 -0
  444. ccai/restclient/github/public/schemas/webhookpullrequestassigned.py +20 -0
  445. ccai/restclient/github/public/schemas/webhookpullrequestautomergedisabled.py +20 -0
  446. ccai/restclient/github/public/schemas/webhookpullrequestautomergeenabled.py +20 -0
  447. ccai/restclient/github/public/schemas/webhookpullrequestclosed.py +17 -0
  448. ccai/restclient/github/public/schemas/webhookpullrequestconvertedtodraft.py +17 -0
  449. ccai/restclient/github/public/schemas/webhookpullrequestdemilestoned.py +17 -0
  450. ccai/restclient/github/public/schemas/webhookpullrequestdequeued.py +20 -0
  451. ccai/restclient/github/public/schemas/webhookpullrequestedited.py +20 -0
  452. ccai/restclient/github/public/schemas/webhookpullrequestenqueued.py +19 -0
  453. ccai/restclient/github/public/schemas/webhookpullrequestlabeled.py +20 -0
  454. ccai/restclient/github/public/schemas/webhookpullrequestlocked.py +19 -0
  455. ccai/restclient/github/public/schemas/webhookpullrequestmilestoned.py +17 -0
  456. ccai/restclient/github/public/schemas/webhookpullrequestopened.py +17 -0
  457. ccai/restclient/github/public/schemas/webhookpullrequestreadyforreview.py +17 -0
  458. ccai/restclient/github/public/schemas/webhookpullrequestreopened.py +17 -0
  459. ccai/restclient/github/public/schemas/webhookpullrequestreviewcommentcreated.py +19 -0
  460. ccai/restclient/github/public/schemas/webhookpullrequestreviewcommentdeleted.py +19 -0
  461. ccai/restclient/github/public/schemas/webhookpullrequestreviewcommentedited.py +20 -0
  462. ccai/restclient/github/public/schemas/webhookpullrequestreviewdismissed.py +19 -0
  463. ccai/restclient/github/public/schemas/webhookpullrequestreviewedited.py +20 -0
  464. ccai/restclient/github/public/schemas/webhookpullrequestreviewsubmitted.py +19 -0
  465. ccai/restclient/github/public/schemas/webhookpullrequestreviewthreadresolved.py +20 -0
  466. ccai/restclient/github/public/schemas/webhookpullrequestreviewthreadunresolved.py +20 -0
  467. ccai/restclient/github/public/schemas/webhookpullrequestsynchronize.py +21 -0
  468. ccai/restclient/github/public/schemas/webhookpullrequestunassigned.py +20 -0
  469. ccai/restclient/github/public/schemas/webhookpullrequestunlabeled.py +20 -0
  470. ccai/restclient/github/public/schemas/webhookpullrequestunlocked.py +19 -0
  471. ccai/restclient/github/public/schemas/webhookpush.py +27 -0
  472. ccai/restclient/github/public/schemas/webhookregistrypackagepublished.py +18 -0
  473. ccai/restclient/github/public/schemas/webhookregistrypackageupdated.py +18 -0
  474. ccai/restclient/github/public/schemas/webhookreleasecreated.py +16 -0
  475. ccai/restclient/github/public/schemas/webhookreleasedeleted.py +16 -0
  476. ccai/restclient/github/public/schemas/webhookreleaseedited.py +19 -0
  477. ccai/restclient/github/public/schemas/webhookreleaseprereleased.py +18 -0
  478. ccai/restclient/github/public/schemas/webhookreleasepublished.py +16 -0
  479. ccai/restclient/github/public/schemas/webhookreleasereleased.py +16 -0
  480. ccai/restclient/github/public/schemas/webhookreleaseunpublished.py +16 -0
  481. ccai/restclient/github/public/schemas/webhookrepositoryadvisorypublished.py +16 -0
  482. ccai/restclient/github/public/schemas/webhookrepositoryadvisoryreported.py +16 -0
  483. ccai/restclient/github/public/schemas/webhookrepositoryarchived.py +15 -0
  484. ccai/restclient/github/public/schemas/webhookrepositorycreated.py +15 -0
  485. ccai/restclient/github/public/schemas/webhookrepositorydeleted.py +15 -0
  486. ccai/restclient/github/public/schemas/webhookrepositorydispatchsample.py +19 -0
  487. ccai/restclient/github/public/schemas/webhookrepositoryedited.py +18 -0
  488. ccai/restclient/github/public/schemas/webhookrepositoryimport.py +15 -0
  489. ccai/restclient/github/public/schemas/webhookrepositoryprivatized.py +15 -0
  490. ccai/restclient/github/public/schemas/webhookrepositorypublicized.py +15 -0
  491. ccai/restclient/github/public/schemas/webhookrepositoryrenamed.py +18 -0
  492. ccai/restclient/github/public/schemas/webhookrepositoryrulesetcreated.py +16 -0
  493. ccai/restclient/github/public/schemas/webhookrepositoryrulesetdeleted.py +16 -0
  494. ccai/restclient/github/public/schemas/webhookrepositoryrulesetedited.py +19 -0
  495. ccai/restclient/github/public/schemas/webhookrepositorytransferred.py +18 -0
  496. ccai/restclient/github/public/schemas/webhookrepositoryunarchived.py +15 -0
  497. ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertcreate.py +16 -0
  498. ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertdismiss.py +18 -0
  499. ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertreopen.py +16 -0
  500. ccai/restclient/github/public/schemas/webhookrepositoryvulnerabilityalertresolve.py +18 -0
  501. ccai/restclient/github/public/schemas/webhookrubygemsmetadata.py +21 -0
  502. ccai/restclient/github/public/schemas/webhooksalert.py +31 -0
  503. ccai/restclient/github/public/schemas/webhooksanswer.py +24 -0
  504. ccai/restclient/github/public/schemas/webhooksapprover.py +28 -0
  505. ccai/restclient/github/public/schemas/webhookschanges.py +15 -0
  506. ccai/restclient/github/public/schemas/webhookschanges8.py +12 -0
  507. ccai/restclient/github/public/schemas/webhookscomment.py +24 -0
  508. ccai/restclient/github/public/schemas/webhooksdeploykey.py +24 -0
  509. ccai/restclient/github/public/schemas/webhooksecretscanningalertcreated.py +16 -0
  510. ccai/restclient/github/public/schemas/webhooksecretscanningalertlocationcreated.py +16 -0
  511. ccai/restclient/github/public/schemas/webhooksecretscanningalertlocationcreatedformencoded.py +10 -0
  512. ccai/restclient/github/public/schemas/webhooksecretscanningalertpubliclyleaked.py +16 -0
  513. ccai/restclient/github/public/schemas/webhooksecretscanningalertreopened.py +16 -0
  514. ccai/restclient/github/public/schemas/webhooksecretscanningalertresolved.py +16 -0
  515. ccai/restclient/github/public/schemas/webhooksecretscanningalertvalidated.py +16 -0
  516. ccai/restclient/github/public/schemas/webhooksecretscanningscancompleted.py +24 -0
  517. ccai/restclient/github/public/schemas/webhooksecurityadvisorypublished.py +16 -0
  518. ccai/restclient/github/public/schemas/webhooksecurityadvisoryupdated.py +16 -0
  519. ccai/restclient/github/public/schemas/webhooksecurityadvisorywithdrawn.py +18 -0
  520. ccai/restclient/github/public/schemas/webhooksecurityandanalysis.py +17 -0
  521. ccai/restclient/github/public/schemas/webhooksissue.py +48 -0
  522. ccai/restclient/github/public/schemas/webhooksissue2.py +48 -0
  523. ccai/restclient/github/public/schemas/webhooksissuecomment.py +26 -0
  524. ccai/restclient/github/public/schemas/webhookslabel.py +18 -0
  525. ccai/restclient/github/public/schemas/webhooksmarketplacepurchase.py +18 -0
  526. ccai/restclient/github/public/schemas/webhooksmembership.py +21 -0
  527. ccai/restclient/github/public/schemas/webhooksmilestone.py +30 -0
  528. ccai/restclient/github/public/schemas/webhooksmilestone3.py +30 -0
  529. ccai/restclient/github/public/schemas/webhooksponsorshipcancelled.py +16 -0
  530. ccai/restclient/github/public/schemas/webhooksponsorshipcreated.py +16 -0
  531. ccai/restclient/github/public/schemas/webhooksponsorshipedited.py +19 -0
  532. ccai/restclient/github/public/schemas/webhooksponsorshippendingcancellation.py +17 -0
  533. ccai/restclient/github/public/schemas/webhooksponsorshippendingtierchange.py +18 -0
  534. ccai/restclient/github/public/schemas/webhooksponsorshiptierchanged.py +17 -0
  535. ccai/restclient/github/public/schemas/webhookspreviousmarketplacepurchase.py +18 -0
  536. ccai/restclient/github/public/schemas/webhooksproject.py +24 -0
  537. ccai/restclient/github/public/schemas/webhooksprojectcard.py +24 -0
  538. ccai/restclient/github/public/schemas/webhooksprojectchanges.py +12 -0
  539. ccai/restclient/github/public/schemas/webhooksprojectcolumn.py +20 -0
  540. ccai/restclient/github/public/schemas/webhookspullrequest5.py +59 -0
  541. ccai/restclient/github/public/schemas/webhooksrelease.py +36 -0
  542. ccai/restclient/github/public/schemas/webhooksrelease1.py +36 -0
  543. ccai/restclient/github/public/schemas/webhooksreview.py +26 -0
  544. ccai/restclient/github/public/schemas/webhooksreviewcomment.py +41 -0
  545. ccai/restclient/github/public/schemas/webhooksrule.py +42 -0
  546. ccai/restclient/github/public/schemas/webhookssecurityadvisory.py +27 -0
  547. ccai/restclient/github/public/schemas/webhookssponsorship.py +18 -0
  548. ccai/restclient/github/public/schemas/webhookstarcreated.py +18 -0
  549. ccai/restclient/github/public/schemas/webhookstardeleted.py +18 -0
  550. ccai/restclient/github/public/schemas/webhookstatus.py +28 -0
  551. ccai/restclient/github/public/schemas/webhooksteam.py +28 -0
  552. ccai/restclient/github/public/schemas/webhooksteam1.py +28 -0
  553. ccai/restclient/github/public/schemas/webhooksubissuesparentissueadded.py +19 -0
  554. ccai/restclient/github/public/schemas/webhooksubissuesparentissueremoved.py +19 -0
  555. ccai/restclient/github/public/schemas/webhooksubissuessubissueadded.py +19 -0
  556. ccai/restclient/github/public/schemas/webhooksubissuessubissueremoved.py +19 -0
  557. ccai/restclient/github/public/schemas/webhooksuser.py +33 -0
  558. ccai/restclient/github/public/schemas/webhooksusermannequin.py +33 -0
  559. ccai/restclient/github/public/schemas/webhooksworkflow.py +19 -0
  560. ccai/restclient/github/public/schemas/webhooksworkflowjobrun.py +19 -0
  561. ccai/restclient/github/public/schemas/webhookteamadd.py +15 -0
  562. ccai/restclient/github/public/schemas/webhookteamaddedtorepository.py +18 -0
  563. ccai/restclient/github/public/schemas/webhookteamcreated.py +18 -0
  564. ccai/restclient/github/public/schemas/webhookteamdeleted.py +18 -0
  565. ccai/restclient/github/public/schemas/webhookteamedited.py +19 -0
  566. ccai/restclient/github/public/schemas/webhookteamremovedfromrepository.py +18 -0
  567. ccai/restclient/github/public/schemas/webhookwatchstarted.py +15 -0
  568. ccai/restclient/github/public/schemas/webhookworkflowdispatch.py +19 -0
  569. ccai/restclient/github/public/schemas/webhookworkflowjobcompleted.py +17 -0
  570. ccai/restclient/github/public/schemas/webhookworkflowjobinprogress.py +17 -0
  571. ccai/restclient/github/public/schemas/webhookworkflowjobqueued.py +19 -0
  572. ccai/restclient/github/public/schemas/webhookworkflowjobwaiting.py +19 -0
  573. ccai/restclient/github/public/schemas/webhookworkflowruncompleted.py +19 -0
  574. ccai/restclient/github/public/schemas/webhookworkflowruninprogress.py +19 -0
  575. ccai/restclient/github/public/schemas/webhookworkflowrunrequested.py +19 -0
  576. codecraftai_restclient_github_public-1.2.0.dist-info/METADATA +87 -0
  577. codecraftai_restclient_github_public-1.2.0.dist-info/RECORD +579 -0
  578. codecraftai_restclient_github_public-1.2.0.dist-info/WHEEL +4 -0
  579. codecraftai_restclient_github_public-1.2.0.dist-info/licenses/LICENSE.md +204 -0
@@ -0,0 +1,1155 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict, List, Optional, Union
4
+
5
+ from ccai.restclient.base.aspectsrest import AspectsRest
6
+ from ccai.restclient.base.pagedlist import PagedList
7
+ from ccai.restclient.base.restapigroup import RestApiGroup
8
+ from ccai.restclient.github.public.schemas.dependabot import DependabotAlert
9
+ from ccai.restclient.github.public.schemas.dependabot import DependabotAlertWithRepository
10
+ from ccai.restclient.github.public.schemas.dependabot import DependabotPublicKey
11
+ from ccai.restclient.github.public.schemas.dependabot import DependabotRepositoryAccessDetails
12
+ from ccai.restclient.github.public.schemas.dependabot import DependabotSecret
13
+ from ccai.restclient.github.public.schemas.dependabot import OrganizationDependabotSecret
14
+
15
+
16
+ class DependabotApiGroup(RestApiGroup):
17
+ """
18
+ Endpoints to manage Dependabot.
19
+ """
20
+
21
+ def add_selected_repo_to_org_secret(self, org: str, secret_name: str, repository_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
22
+ """
23
+ Add selected repository to an organization secret
24
+
25
+ Adds a repository to an organization secret when the `visibility` for
26
+ repository access is set to `selected`. The visibility is set when you [Create or
27
+ update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
28
+
29
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
30
+ """
31
+ client = self.client
32
+ if aspects is None:
33
+ aspects = client.aspects
34
+
35
+ header_params = client.headers
36
+ if headers is not None:
37
+ header_params = headers
38
+
39
+ leaf_template = "/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"
40
+ path_params = {
41
+ 'org': org,
42
+ 'secret_name': secret_name,
43
+ 'repository_id': repository_id,
44
+ }
45
+ call_leaf = leaf_template.format(**path_params)
46
+
47
+ query_params = None
48
+
49
+
50
+ if exp_status is None:
51
+ exp_status = [204]
52
+
53
+ resp = client.perform_call(
54
+ leaf=call_leaf,
55
+ method="PUT",
56
+ params=query_params if query_params else None,
57
+ body=None,
58
+ exp_status=exp_status,
59
+ headers=header_params if header_params else None,
60
+ context_msg=None,
61
+ aspects=aspects,
62
+ )
63
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
64
+ rtnval = None
65
+ else:
66
+ rtnval = resp.json()
67
+ return rtnval
68
+
69
+ def create_or_update_org_secret(self, org: str, secret_name: str, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
70
+ """
71
+ Create or update an organization secret
72
+
73
+ Creates or updates an organization secret with an encrypted value. Encrypt your secret using
74
+ [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
75
+
76
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
77
+ """
78
+ client = self.client
79
+ if aspects is None:
80
+ aspects = client.aspects
81
+
82
+ header_params = client.headers
83
+ if headers is not None:
84
+ header_params = headers
85
+
86
+ leaf_template = "/orgs/{org}/dependabot/secrets/{secret_name}"
87
+ path_params = {
88
+ 'org': org,
89
+ 'secret_name': secret_name,
90
+ }
91
+ call_leaf = leaf_template.format(**path_params)
92
+
93
+ query_params = None
94
+
95
+
96
+ if exp_status is None:
97
+ exp_status = [201, 204]
98
+
99
+ resp = client.perform_call(
100
+ leaf=call_leaf,
101
+ method="PUT",
102
+ params=query_params if query_params else None,
103
+ body=body,
104
+ exp_status=exp_status,
105
+ headers=header_params if header_params else None,
106
+ context_msg=None,
107
+ aspects=aspects,
108
+ )
109
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
110
+ rtnval = None
111
+ else:
112
+ rtnval = resp.json()
113
+ return rtnval
114
+
115
+ def create_or_update_repo_secret(self, owner: str, repo: str, secret_name: str, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
116
+ """
117
+ Create or update a repository secret
118
+
119
+ Creates or updates a repository secret with an encrypted value. Encrypt your secret using
120
+ [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
121
+
122
+ OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
123
+ """
124
+ client = self.client
125
+ if aspects is None:
126
+ aspects = client.aspects
127
+
128
+ header_params = client.headers
129
+ if headers is not None:
130
+ header_params = headers
131
+
132
+ leaf_template = "/repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
133
+ path_params = {
134
+ 'owner': owner,
135
+ 'repo': repo,
136
+ 'secret_name': secret_name,
137
+ }
138
+ call_leaf = leaf_template.format(**path_params)
139
+
140
+ query_params = None
141
+
142
+
143
+ if exp_status is None:
144
+ exp_status = [201, 204]
145
+
146
+ resp = client.perform_call(
147
+ leaf=call_leaf,
148
+ method="PUT",
149
+ params=query_params if query_params else None,
150
+ body=body,
151
+ exp_status=exp_status,
152
+ headers=header_params if header_params else None,
153
+ context_msg=None,
154
+ aspects=aspects,
155
+ )
156
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
157
+ rtnval = None
158
+ else:
159
+ rtnval = resp.json()
160
+ return rtnval
161
+
162
+ def delete_org_secret(self, org: str, secret_name: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
163
+ """
164
+ Delete an organization secret
165
+
166
+ Deletes a secret in an organization using the secret name.
167
+
168
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
169
+ """
170
+ client = self.client
171
+ if aspects is None:
172
+ aspects = client.aspects
173
+
174
+ header_params = client.headers
175
+ if headers is not None:
176
+ header_params = headers
177
+
178
+ leaf_template = "/orgs/{org}/dependabot/secrets/{secret_name}"
179
+ path_params = {
180
+ 'org': org,
181
+ 'secret_name': secret_name,
182
+ }
183
+ call_leaf = leaf_template.format(**path_params)
184
+
185
+ query_params = None
186
+
187
+
188
+ if exp_status is None:
189
+ exp_status = [204]
190
+
191
+ resp = client.perform_call(
192
+ leaf=call_leaf,
193
+ method="DELETE",
194
+ params=query_params if query_params else None,
195
+ body=None,
196
+ exp_status=exp_status,
197
+ headers=header_params if header_params else None,
198
+ context_msg=None,
199
+ aspects=aspects,
200
+ )
201
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
202
+ rtnval = None
203
+ else:
204
+ rtnval = resp.json()
205
+ return rtnval
206
+
207
+ def delete_repo_secret(self, owner: str, repo: str, secret_name: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
208
+ """
209
+ Delete a repository secret
210
+
211
+ Deletes a secret in a repository using the secret name.
212
+
213
+ OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
214
+ """
215
+ client = self.client
216
+ if aspects is None:
217
+ aspects = client.aspects
218
+
219
+ header_params = client.headers
220
+ if headers is not None:
221
+ header_params = headers
222
+
223
+ leaf_template = "/repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
224
+ path_params = {
225
+ 'owner': owner,
226
+ 'repo': repo,
227
+ 'secret_name': secret_name,
228
+ }
229
+ call_leaf = leaf_template.format(**path_params)
230
+
231
+ query_params = None
232
+
233
+
234
+ if exp_status is None:
235
+ exp_status = [204]
236
+
237
+ resp = client.perform_call(
238
+ leaf=call_leaf,
239
+ method="DELETE",
240
+ params=query_params if query_params else None,
241
+ body=None,
242
+ exp_status=exp_status,
243
+ headers=header_params if header_params else None,
244
+ context_msg=None,
245
+ aspects=aspects,
246
+ )
247
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
248
+ rtnval = None
249
+ else:
250
+ rtnval = resp.json()
251
+ return rtnval
252
+
253
+ def get_alert(self, owner: str, repo: str, alert_number: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> DependabotAlert:
254
+ """
255
+ Get a Dependabot alert
256
+
257
+ OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
258
+ """
259
+ client = self.client
260
+ if aspects is None:
261
+ aspects = client.aspects
262
+
263
+ header_params = client.headers
264
+ if headers is not None:
265
+ header_params = headers
266
+
267
+ leaf_template = "/repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
268
+ path_params = {
269
+ 'owner': owner,
270
+ 'repo': repo,
271
+ 'alert_number': alert_number,
272
+ }
273
+ call_leaf = leaf_template.format(**path_params)
274
+
275
+ query_params = None
276
+
277
+
278
+ if exp_status is None:
279
+ exp_status = [200]
280
+
281
+ resp = client.perform_call(
282
+ leaf=call_leaf,
283
+ method="GET",
284
+ params=query_params if query_params else None,
285
+ body=None,
286
+ exp_status=exp_status,
287
+ headers=header_params if header_params else None,
288
+ context_msg=None,
289
+ aspects=aspects,
290
+ )
291
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
292
+ rtnobj = None
293
+ else:
294
+ raw_data = resp.json()
295
+ rtnobj = DependabotAlert.from_dict(raw_data)
296
+ return rtnobj
297
+
298
+ def get_org_public_key(self, org: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> DependabotPublicKey:
299
+ """
300
+ Get an organization public key
301
+
302
+ Gets your public key, which you need to encrypt secrets. You need to
303
+ encrypt a secret before you can create or update secrets.
304
+
305
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
306
+ """
307
+ client = self.client
308
+ if aspects is None:
309
+ aspects = client.aspects
310
+
311
+ header_params = client.headers
312
+ if headers is not None:
313
+ header_params = headers
314
+
315
+ leaf_template = "/orgs/{org}/dependabot/secrets/public-key"
316
+ path_params = {
317
+ 'org': org,
318
+ }
319
+ call_leaf = leaf_template.format(**path_params)
320
+
321
+ query_params = None
322
+
323
+
324
+ if exp_status is None:
325
+ exp_status = [200]
326
+
327
+ resp = client.perform_call(
328
+ leaf=call_leaf,
329
+ method="GET",
330
+ params=query_params if query_params else None,
331
+ body=None,
332
+ exp_status=exp_status,
333
+ headers=header_params if header_params else None,
334
+ context_msg=None,
335
+ aspects=aspects,
336
+ )
337
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
338
+ rtnobj = None
339
+ else:
340
+ raw_data = resp.json()
341
+ rtnobj = DependabotPublicKey.from_dict(raw_data)
342
+ return rtnobj
343
+
344
+ def get_org_secret(self, org: str, secret_name: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> OrganizationDependabotSecret:
345
+ """
346
+ Get an organization secret
347
+
348
+ Gets a single organization secret without revealing its encrypted value.
349
+
350
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
351
+ """
352
+ client = self.client
353
+ if aspects is None:
354
+ aspects = client.aspects
355
+
356
+ header_params = client.headers
357
+ if headers is not None:
358
+ header_params = headers
359
+
360
+ leaf_template = "/orgs/{org}/dependabot/secrets/{secret_name}"
361
+ path_params = {
362
+ 'org': org,
363
+ 'secret_name': secret_name,
364
+ }
365
+ call_leaf = leaf_template.format(**path_params)
366
+
367
+ query_params = None
368
+
369
+
370
+ if exp_status is None:
371
+ exp_status = [200]
372
+
373
+ resp = client.perform_call(
374
+ leaf=call_leaf,
375
+ method="GET",
376
+ params=query_params if query_params else None,
377
+ body=None,
378
+ exp_status=exp_status,
379
+ headers=header_params if header_params else None,
380
+ context_msg=None,
381
+ aspects=aspects,
382
+ )
383
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
384
+ rtnobj = None
385
+ else:
386
+ raw_data = resp.json()
387
+ rtnobj = OrganizationDependabotSecret.from_dict(raw_data)
388
+ return rtnobj
389
+
390
+ def get_repo_public_key(self, owner: str, repo: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> DependabotPublicKey:
391
+ """
392
+ Get a repository public key
393
+
394
+ Gets your public key, which you need to encrypt secrets. You need to
395
+ encrypt a secret before you can create or update secrets. Anyone with read access
396
+ to the repository can use this endpoint.
397
+
398
+ OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the repository is private.
399
+ """
400
+ client = self.client
401
+ if aspects is None:
402
+ aspects = client.aspects
403
+
404
+ header_params = client.headers
405
+ if headers is not None:
406
+ header_params = headers
407
+
408
+ leaf_template = "/repos/{owner}/{repo}/dependabot/secrets/public-key"
409
+ path_params = {
410
+ 'owner': owner,
411
+ 'repo': repo,
412
+ }
413
+ call_leaf = leaf_template.format(**path_params)
414
+
415
+ query_params = None
416
+
417
+
418
+ if exp_status is None:
419
+ exp_status = [200]
420
+
421
+ resp = client.perform_call(
422
+ leaf=call_leaf,
423
+ method="GET",
424
+ params=query_params if query_params else None,
425
+ body=None,
426
+ exp_status=exp_status,
427
+ headers=header_params if header_params else None,
428
+ context_msg=None,
429
+ aspects=aspects,
430
+ )
431
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
432
+ rtnobj = None
433
+ else:
434
+ raw_data = resp.json()
435
+ rtnobj = DependabotPublicKey.from_dict(raw_data)
436
+ return rtnobj
437
+
438
+ def get_repo_secret(self, owner: str, repo: str, secret_name: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> DependabotSecret:
439
+ """
440
+ Get a repository secret
441
+
442
+ Gets a single repository secret without revealing its encrypted value.
443
+
444
+ OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
445
+ """
446
+ client = self.client
447
+ if aspects is None:
448
+ aspects = client.aspects
449
+
450
+ header_params = client.headers
451
+ if headers is not None:
452
+ header_params = headers
453
+
454
+ leaf_template = "/repos/{owner}/{repo}/dependabot/secrets/{secret_name}"
455
+ path_params = {
456
+ 'owner': owner,
457
+ 'repo': repo,
458
+ 'secret_name': secret_name,
459
+ }
460
+ call_leaf = leaf_template.format(**path_params)
461
+
462
+ query_params = None
463
+
464
+
465
+ if exp_status is None:
466
+ exp_status = [200]
467
+
468
+ resp = client.perform_call(
469
+ leaf=call_leaf,
470
+ method="GET",
471
+ params=query_params if query_params else None,
472
+ body=None,
473
+ exp_status=exp_status,
474
+ headers=header_params if header_params else None,
475
+ context_msg=None,
476
+ aspects=aspects,
477
+ )
478
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
479
+ rtnobj = None
480
+ else:
481
+ raw_data = resp.json()
482
+ rtnobj = DependabotSecret.from_dict(raw_data)
483
+ return rtnobj
484
+
485
+ def list_alerts_for_enterprise(self, enterprise: str, *, state: Optional[str] = None, severity: Optional[str] = None, ecosystem: Optional[str] = None, package: Optional[str] = None, epss_percentage: Optional[str] = None, has: Optional[Union[str, List[str]]] = None, scope: Optional[str] = None, sort: Optional[str] = "created", direction: Optional[str] = "desc", before: Optional[str] = None, after: Optional[str] = None, first: Optional[int] = 30, last: Optional[int] = None, per_page: Optional[int] = 30, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> PagedList[DependabotAlertWithRepository]:
486
+ """
487
+ List Dependabot alerts for an enterprise
488
+
489
+ Lists Dependabot alerts for repositories that are owned by the specified enterprise.
490
+
491
+ The authenticated user must be a member of the enterprise to use this endpoint.
492
+
493
+ Alerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
494
+
495
+ OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint.
496
+ """
497
+ client = self.client
498
+ if aspects is None:
499
+ aspects = client.aspects
500
+
501
+ header_params = client.headers
502
+ if headers is not None:
503
+ header_params = headers
504
+
505
+ leaf_template = "/enterprises/{enterprise}/dependabot/alerts"
506
+ path_params = {
507
+ 'enterprise': enterprise,
508
+ }
509
+ call_leaf = leaf_template.format(**path_params)
510
+
511
+ query_params = {}
512
+ if state is not None:
513
+ query_params['state'] = state
514
+ if severity is not None:
515
+ query_params['severity'] = severity
516
+ if ecosystem is not None:
517
+ query_params['ecosystem'] = ecosystem
518
+ if package is not None:
519
+ query_params['package'] = package
520
+ if epss_percentage is not None:
521
+ query_params['epss_percentage'] = epss_percentage
522
+ if has is not None:
523
+ query_params['has'] = has
524
+ if scope is not None:
525
+ query_params['scope'] = scope
526
+ if sort is not None:
527
+ query_params['sort'] = sort
528
+ if direction is not None:
529
+ query_params['direction'] = direction
530
+ if before is not None:
531
+ query_params['before'] = before
532
+ if after is not None:
533
+ query_params['after'] = after
534
+ if first is not None:
535
+ query_params['first'] = first
536
+ if last is not None:
537
+ query_params['last'] = last
538
+ if per_page is not None:
539
+ query_params['per_page'] = per_page
540
+
541
+
542
+ if exp_status is None:
543
+ exp_status = [200]
544
+
545
+ resp = client.perform_call(
546
+ leaf=call_leaf,
547
+ method="GET",
548
+ params=query_params if query_params else None,
549
+ body=None,
550
+ exp_status=exp_status,
551
+ headers=header_params if header_params else None,
552
+ context_msg=None,
553
+ aspects=aspects,
554
+ )
555
+ raw_data = resp.json()
556
+ items = [self._parse_item(item, DependabotAlertWithRepository) for item in raw_data]
557
+ rtnval = PagedList[DependabotAlertWithRepository](items, dict(resp.headers), raw_data)
558
+ return rtnval
559
+
560
+ def list_alerts_for_org(self, org: str, *, state: Optional[str] = None, severity: Optional[str] = None, ecosystem: Optional[str] = None, package: Optional[str] = None, epss_percentage: Optional[str] = None, package_registry_url: Optional[str] = None, package_registry: Optional[str] = None, has: Optional[Union[str, List[str]]] = None, scope: Optional[str] = None, sort: Optional[str] = "created", direction: Optional[str] = "desc", before: Optional[str] = None, after: Optional[str] = None, first: Optional[int] = 30, last: Optional[int] = None, per_page: Optional[int] = 30, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> PagedList[DependabotAlertWithRepository]:
561
+ """
562
+ List Dependabot alerts for an organization
563
+
564
+ Lists Dependabot alerts for an organization.
565
+
566
+ The authenticated user must be an owner or security manager for the organization to use this endpoint.
567
+
568
+ OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
569
+ """
570
+ client = self.client
571
+ if aspects is None:
572
+ aspects = client.aspects
573
+
574
+ header_params = client.headers
575
+ if headers is not None:
576
+ header_params = headers
577
+
578
+ leaf_template = "/orgs/{org}/dependabot/alerts"
579
+ path_params = {
580
+ 'org': org,
581
+ }
582
+ call_leaf = leaf_template.format(**path_params)
583
+
584
+ query_params = {}
585
+ if state is not None:
586
+ query_params['state'] = state
587
+ if severity is not None:
588
+ query_params['severity'] = severity
589
+ if ecosystem is not None:
590
+ query_params['ecosystem'] = ecosystem
591
+ if package is not None:
592
+ query_params['package'] = package
593
+ if epss_percentage is not None:
594
+ query_params['epss_percentage'] = epss_percentage
595
+ if package_registry_url is not None:
596
+ query_params['package_registry_url'] = package_registry_url
597
+ if package_registry is not None:
598
+ query_params['package_registry'] = package_registry
599
+ if has is not None:
600
+ query_params['has'] = has
601
+ if scope is not None:
602
+ query_params['scope'] = scope
603
+ if sort is not None:
604
+ query_params['sort'] = sort
605
+ if direction is not None:
606
+ query_params['direction'] = direction
607
+ if before is not None:
608
+ query_params['before'] = before
609
+ if after is not None:
610
+ query_params['after'] = after
611
+ if first is not None:
612
+ query_params['first'] = first
613
+ if last is not None:
614
+ query_params['last'] = last
615
+ if per_page is not None:
616
+ query_params['per_page'] = per_page
617
+
618
+
619
+ if exp_status is None:
620
+ exp_status = [200]
621
+
622
+ resp = client.perform_call(
623
+ leaf=call_leaf,
624
+ method="GET",
625
+ params=query_params if query_params else None,
626
+ body=None,
627
+ exp_status=exp_status,
628
+ headers=header_params if header_params else None,
629
+ context_msg=None,
630
+ aspects=aspects,
631
+ )
632
+ raw_data = resp.json()
633
+ items = [self._parse_item(item, DependabotAlertWithRepository) for item in raw_data]
634
+ rtnval = PagedList[DependabotAlertWithRepository](items, dict(resp.headers), raw_data)
635
+ return rtnval
636
+
637
+ def list_alerts_for_repo(self, owner: str, repo: str, *, state: Optional[str] = None, severity: Optional[str] = None, ecosystem: Optional[str] = None, package: Optional[str] = None, manifest: Optional[str] = None, epss_percentage: Optional[str] = None, has: Optional[Union[str, List[str]]] = None, scope: Optional[str] = None, sort: Optional[str] = "created", direction: Optional[str] = "desc", page: Optional[int] = 1, per_page: Optional[int] = 30, before: Optional[str] = None, after: Optional[str] = None, first: Optional[int] = 30, last: Optional[int] = None, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> PagedList[DependabotAlert]:
638
+ """
639
+ List Dependabot alerts for a repository
640
+
641
+ OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
642
+ """
643
+ client = self.client
644
+ if aspects is None:
645
+ aspects = client.aspects
646
+
647
+ header_params = client.headers
648
+ if headers is not None:
649
+ header_params = headers
650
+
651
+ leaf_template = "/repos/{owner}/{repo}/dependabot/alerts"
652
+ path_params = {
653
+ 'owner': owner,
654
+ 'repo': repo,
655
+ }
656
+ call_leaf = leaf_template.format(**path_params)
657
+
658
+ query_params = {}
659
+ if state is not None:
660
+ query_params['state'] = state
661
+ if severity is not None:
662
+ query_params['severity'] = severity
663
+ if ecosystem is not None:
664
+ query_params['ecosystem'] = ecosystem
665
+ if package is not None:
666
+ query_params['package'] = package
667
+ if manifest is not None:
668
+ query_params['manifest'] = manifest
669
+ if epss_percentage is not None:
670
+ query_params['epss_percentage'] = epss_percentage
671
+ if has is not None:
672
+ query_params['has'] = has
673
+ if scope is not None:
674
+ query_params['scope'] = scope
675
+ if sort is not None:
676
+ query_params['sort'] = sort
677
+ if direction is not None:
678
+ query_params['direction'] = direction
679
+ if page is not None:
680
+ query_params['page'] = page
681
+ if per_page is not None:
682
+ query_params['per_page'] = per_page
683
+ if before is not None:
684
+ query_params['before'] = before
685
+ if after is not None:
686
+ query_params['after'] = after
687
+ if first is not None:
688
+ query_params['first'] = first
689
+ if last is not None:
690
+ query_params['last'] = last
691
+
692
+
693
+ if exp_status is None:
694
+ exp_status = [200]
695
+
696
+ resp = client.perform_call(
697
+ leaf=call_leaf,
698
+ method="GET",
699
+ params=query_params if query_params else None,
700
+ body=None,
701
+ exp_status=exp_status,
702
+ headers=header_params if header_params else None,
703
+ context_msg=None,
704
+ aspects=aspects,
705
+ )
706
+ raw_data = resp.json()
707
+ items = [self._parse_item(item, DependabotAlert) for item in raw_data]
708
+ rtnval = PagedList[DependabotAlert](items, dict(resp.headers), raw_data)
709
+ return rtnval
710
+
711
+ def list_org_secrets(self, org: str, *, per_page: Optional[int] = 30, page: Optional[int] = 1, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Dict[str, Any]:
712
+ """
713
+ List organization secrets
714
+
715
+ Lists all secrets available in an organization without revealing their
716
+ encrypted values.
717
+
718
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
719
+ """
720
+ client = self.client
721
+ if aspects is None:
722
+ aspects = client.aspects
723
+
724
+ header_params = client.headers
725
+ if headers is not None:
726
+ header_params = headers
727
+
728
+ leaf_template = "/orgs/{org}/dependabot/secrets"
729
+ path_params = {
730
+ 'org': org,
731
+ }
732
+ call_leaf = leaf_template.format(**path_params)
733
+
734
+ query_params = {}
735
+ if per_page is not None:
736
+ query_params['per_page'] = per_page
737
+ if page is not None:
738
+ query_params['page'] = page
739
+
740
+
741
+ if exp_status is None:
742
+ exp_status = [200]
743
+
744
+ resp = client.perform_call(
745
+ leaf=call_leaf,
746
+ method="GET",
747
+ params=query_params if query_params else None,
748
+ body=None,
749
+ exp_status=exp_status,
750
+ headers=header_params if header_params else None,
751
+ context_msg=None,
752
+ aspects=aspects,
753
+ )
754
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
755
+ rtnval = None
756
+ else:
757
+ raw_data = resp.json()
758
+ rtnval = self._parse_item(raw_data, Dict[str, Any])
759
+ return rtnval
760
+
761
+ def list_repo_secrets(self, owner: str, repo: str, *, per_page: Optional[int] = 30, page: Optional[int] = 1, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Dict[str, Any]:
762
+ """
763
+ List repository secrets
764
+
765
+ Lists all secrets available in a repository without revealing their encrypted
766
+ values.
767
+
768
+ OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
769
+ """
770
+ client = self.client
771
+ if aspects is None:
772
+ aspects = client.aspects
773
+
774
+ header_params = client.headers
775
+ if headers is not None:
776
+ header_params = headers
777
+
778
+ leaf_template = "/repos/{owner}/{repo}/dependabot/secrets"
779
+ path_params = {
780
+ 'owner': owner,
781
+ 'repo': repo,
782
+ }
783
+ call_leaf = leaf_template.format(**path_params)
784
+
785
+ query_params = {}
786
+ if per_page is not None:
787
+ query_params['per_page'] = per_page
788
+ if page is not None:
789
+ query_params['page'] = page
790
+
791
+
792
+ if exp_status is None:
793
+ exp_status = [200]
794
+
795
+ resp = client.perform_call(
796
+ leaf=call_leaf,
797
+ method="GET",
798
+ params=query_params if query_params else None,
799
+ body=None,
800
+ exp_status=exp_status,
801
+ headers=header_params if header_params else None,
802
+ context_msg=None,
803
+ aspects=aspects,
804
+ )
805
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
806
+ rtnval = None
807
+ else:
808
+ raw_data = resp.json()
809
+ rtnval = self._parse_item(raw_data, Dict[str, Any])
810
+ return rtnval
811
+
812
+ def list_selected_repos_for_org_secret(self, org: str, secret_name: str, *, page: Optional[int] = 1, per_page: Optional[int] = 30, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Dict[str, Any]:
813
+ """
814
+ List selected repositories for an organization secret
815
+
816
+ Lists all repositories that have been selected when the `visibility`
817
+ for repository access to a secret is set to `selected`.
818
+
819
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
820
+ """
821
+ client = self.client
822
+ if aspects is None:
823
+ aspects = client.aspects
824
+
825
+ header_params = client.headers
826
+ if headers is not None:
827
+ header_params = headers
828
+
829
+ leaf_template = "/orgs/{org}/dependabot/secrets/{secret_name}/repositories"
830
+ path_params = {
831
+ 'org': org,
832
+ 'secret_name': secret_name,
833
+ }
834
+ call_leaf = leaf_template.format(**path_params)
835
+
836
+ query_params = {}
837
+ if page is not None:
838
+ query_params['page'] = page
839
+ if per_page is not None:
840
+ query_params['per_page'] = per_page
841
+
842
+
843
+ if exp_status is None:
844
+ exp_status = [200]
845
+
846
+ resp = client.perform_call(
847
+ leaf=call_leaf,
848
+ method="GET",
849
+ params=query_params if query_params else None,
850
+ body=None,
851
+ exp_status=exp_status,
852
+ headers=header_params if header_params else None,
853
+ context_msg=None,
854
+ aspects=aspects,
855
+ )
856
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
857
+ rtnval = None
858
+ else:
859
+ raw_data = resp.json()
860
+ rtnval = self._parse_item(raw_data, Dict[str, Any])
861
+ return rtnval
862
+
863
+ def remove_selected_repo_from_org_secret(self, org: str, secret_name: str, repository_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
864
+ """
865
+ Remove selected repository from an organization secret
866
+
867
+ Removes a repository from an organization secret when the `visibility`
868
+ for repository access is set to `selected`. The visibility is set when you [Create
869
+ or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
870
+
871
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
872
+ """
873
+ client = self.client
874
+ if aspects is None:
875
+ aspects = client.aspects
876
+
877
+ header_params = client.headers
878
+ if headers is not None:
879
+ header_params = headers
880
+
881
+ leaf_template = "/orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"
882
+ path_params = {
883
+ 'org': org,
884
+ 'secret_name': secret_name,
885
+ 'repository_id': repository_id,
886
+ }
887
+ call_leaf = leaf_template.format(**path_params)
888
+
889
+ query_params = None
890
+
891
+
892
+ if exp_status is None:
893
+ exp_status = [204]
894
+
895
+ resp = client.perform_call(
896
+ leaf=call_leaf,
897
+ method="DELETE",
898
+ params=query_params if query_params else None,
899
+ body=None,
900
+ exp_status=exp_status,
901
+ headers=header_params if header_params else None,
902
+ context_msg=None,
903
+ aspects=aspects,
904
+ )
905
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
906
+ rtnval = None
907
+ else:
908
+ rtnval = resp.json()
909
+ return rtnval
910
+
911
+ def repository_access_for_org(self, org: str, *, page: Optional[int] = 1, per_page: Optional[int] = 30, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> DependabotRepositoryAccessDetails:
912
+ """
913
+ Lists the repositories Dependabot can access in an organization
914
+
915
+ Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.
916
+ > [!NOTE]
917
+ > This operation supports both server-to-server and user-to-server access.
918
+ Unauthorized users will not see the existence of this endpoint.
919
+ """
920
+ client = self.client
921
+ if aspects is None:
922
+ aspects = client.aspects
923
+
924
+ header_params = client.headers
925
+ if headers is not None:
926
+ header_params = headers
927
+
928
+ leaf_template = "/organizations/{org}/dependabot/repository-access"
929
+ path_params = {
930
+ 'org': org,
931
+ }
932
+ call_leaf = leaf_template.format(**path_params)
933
+
934
+ query_params = {}
935
+ if page is not None:
936
+ query_params['page'] = page
937
+ if per_page is not None:
938
+ query_params['per_page'] = per_page
939
+
940
+
941
+ if exp_status is None:
942
+ exp_status = [200]
943
+
944
+ resp = client.perform_call(
945
+ leaf=call_leaf,
946
+ method="GET",
947
+ params=query_params if query_params else None,
948
+ body=None,
949
+ exp_status=exp_status,
950
+ headers=header_params if header_params else None,
951
+ context_msg=None,
952
+ aspects=aspects,
953
+ )
954
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
955
+ rtnobj = None
956
+ else:
957
+ raw_data = resp.json()
958
+ rtnobj = DependabotRepositoryAccessDetails.from_dict(raw_data)
959
+ return rtnobj
960
+
961
+ def set_repository_access_default_level(self, org: str, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
962
+ """
963
+ Set the default repository access level for Dependabot
964
+
965
+ Sets the default level of repository access Dependabot will have while performing an update. Available values are:
966
+ - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
967
+ - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
968
+
969
+ Unauthorized users will not see the existence of this endpoint.
970
+
971
+ This operation supports both server-to-server and user-to-server access.
972
+ """
973
+ client = self.client
974
+ if aspects is None:
975
+ aspects = client.aspects
976
+
977
+ header_params = client.headers
978
+ if headers is not None:
979
+ header_params = headers
980
+
981
+ leaf_template = "/organizations/{org}/dependabot/repository-access/default-level"
982
+ path_params = {
983
+ 'org': org,
984
+ }
985
+ call_leaf = leaf_template.format(**path_params)
986
+
987
+ query_params = None
988
+
989
+
990
+ if exp_status is None:
991
+ exp_status = [204]
992
+
993
+ resp = client.perform_call(
994
+ leaf=call_leaf,
995
+ method="PUT",
996
+ params=query_params if query_params else None,
997
+ body=body,
998
+ exp_status=exp_status,
999
+ headers=header_params if header_params else None,
1000
+ context_msg=None,
1001
+ aspects=aspects,
1002
+ )
1003
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1004
+ rtnval = None
1005
+ else:
1006
+ rtnval = resp.json()
1007
+ return rtnval
1008
+
1009
+ def set_selected_repos_for_org_secret(self, org: str, secret_name: str, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
1010
+ """
1011
+ Set selected repositories for an organization secret
1012
+
1013
+ Replaces all repositories for an organization secret when the `visibility`
1014
+ for repository access is set to `selected`. The visibility is set when you [Create
1015
+ or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).
1016
+
1017
+ OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
1018
+ """
1019
+ client = self.client
1020
+ if aspects is None:
1021
+ aspects = client.aspects
1022
+
1023
+ header_params = client.headers
1024
+ if headers is not None:
1025
+ header_params = headers
1026
+
1027
+ leaf_template = "/orgs/{org}/dependabot/secrets/{secret_name}/repositories"
1028
+ path_params = {
1029
+ 'org': org,
1030
+ 'secret_name': secret_name,
1031
+ }
1032
+ call_leaf = leaf_template.format(**path_params)
1033
+
1034
+ query_params = None
1035
+
1036
+
1037
+ if exp_status is None:
1038
+ exp_status = [204]
1039
+
1040
+ resp = client.perform_call(
1041
+ leaf=call_leaf,
1042
+ method="PUT",
1043
+ params=query_params if query_params else None,
1044
+ body=body,
1045
+ exp_status=exp_status,
1046
+ headers=header_params if header_params else None,
1047
+ context_msg=None,
1048
+ aspects=aspects,
1049
+ )
1050
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1051
+ rtnval = None
1052
+ else:
1053
+ rtnval = resp.json()
1054
+ return rtnval
1055
+
1056
+ def update_alert(self, owner: str, repo: str, alert_number: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> DependabotAlert:
1057
+ """
1058
+ Update a Dependabot alert
1059
+
1060
+ The authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "[Granting access to security alerts](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)."
1061
+
1062
+ OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
1063
+ """
1064
+ client = self.client
1065
+ if aspects is None:
1066
+ aspects = client.aspects
1067
+
1068
+ header_params = client.headers
1069
+ if headers is not None:
1070
+ header_params = headers
1071
+
1072
+ leaf_template = "/repos/{owner}/{repo}/dependabot/alerts/{alert_number}"
1073
+ path_params = {
1074
+ 'owner': owner,
1075
+ 'repo': repo,
1076
+ 'alert_number': alert_number,
1077
+ }
1078
+ call_leaf = leaf_template.format(**path_params)
1079
+
1080
+ query_params = None
1081
+
1082
+
1083
+ if exp_status is None:
1084
+ exp_status = [200]
1085
+
1086
+ resp = client.perform_call(
1087
+ leaf=call_leaf,
1088
+ method="PATCH",
1089
+ params=query_params if query_params else None,
1090
+ body=body,
1091
+ exp_status=exp_status,
1092
+ headers=header_params if header_params else None,
1093
+ context_msg=None,
1094
+ aspects=aspects,
1095
+ )
1096
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1097
+ rtnobj = None
1098
+ else:
1099
+ raw_data = resp.json()
1100
+ rtnobj = DependabotAlert.from_dict(raw_data)
1101
+ return rtnobj
1102
+
1103
+ def update_repository_access_for_org(self, org: str, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
1104
+ """
1105
+ Updates Dependabot's repository access list for an organization
1106
+
1107
+ Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.
1108
+
1109
+ > [!NOTE]
1110
+ > This operation supports both server-to-server and user-to-server access.
1111
+ Unauthorized users will not see the existence of this endpoint.
1112
+
1113
+ **Example request body:**
1114
+ ```json
1115
+ {
1116
+ "repository_ids_to_add": [123, 456],
1117
+ "repository_ids_to_remove": [789]
1118
+ }
1119
+ ```
1120
+ """
1121
+ client = self.client
1122
+ if aspects is None:
1123
+ aspects = client.aspects
1124
+
1125
+ header_params = client.headers
1126
+ if headers is not None:
1127
+ header_params = headers
1128
+
1129
+ leaf_template = "/organizations/{org}/dependabot/repository-access"
1130
+ path_params = {
1131
+ 'org': org,
1132
+ }
1133
+ call_leaf = leaf_template.format(**path_params)
1134
+
1135
+ query_params = None
1136
+
1137
+
1138
+ if exp_status is None:
1139
+ exp_status = [204]
1140
+
1141
+ resp = client.perform_call(
1142
+ leaf=call_leaf,
1143
+ method="PATCH",
1144
+ params=query_params if query_params else None,
1145
+ body=body,
1146
+ exp_status=exp_status,
1147
+ headers=header_params if header_params else None,
1148
+ context_msg=None,
1149
+ aspects=aspects,
1150
+ )
1151
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1152
+ rtnval = None
1153
+ else:
1154
+ rtnval = resp.json()
1155
+ return rtnval