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,1079 @@
1
+ # Auto-generated by RestClientGenerator. DO NOT EDIT.
2
+
3
+ from typing import Any, Dict, List, Optional
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.migrations import Import
9
+ from ccai.restclient.github.public.schemas.migrations import Migration
10
+ from ccai.restclient.github.public.schemas.migrations import PorterAuthor
11
+ from ccai.restclient.github.public.schemas.migrations import PorterLargeFile
12
+ from ccai.restclient.github.public.schemas.minimalrepository import MinimalRepository
13
+
14
+
15
+ class MigrationsApiGroup(RestApiGroup):
16
+ """
17
+ Move projects to or from GitHub.
18
+ """
19
+
20
+ def cancel_import(self, owner: str, repo: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
21
+ """
22
+ Cancel an import
23
+
24
+ Stop an import for a repository.
25
+
26
+ > [!WARNING]
27
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
28
+ """
29
+ client = self.client
30
+ if aspects is None:
31
+ aspects = client.aspects
32
+
33
+ header_params = client.headers
34
+ if headers is not None:
35
+ header_params = headers
36
+
37
+ leaf_template = "/repos/{owner}/{repo}/import"
38
+ path_params = {
39
+ 'owner': owner,
40
+ 'repo': repo,
41
+ }
42
+ call_leaf = leaf_template.format(**path_params)
43
+
44
+ query_params = None
45
+
46
+
47
+ if exp_status is None:
48
+ exp_status = [204]
49
+
50
+ resp = client.perform_call(
51
+ leaf=call_leaf,
52
+ method="DELETE",
53
+ params=query_params if query_params else None,
54
+ body=None,
55
+ exp_status=exp_status,
56
+ headers=header_params if header_params else None,
57
+ context_msg=None,
58
+ aspects=aspects,
59
+ )
60
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
61
+ rtnval = None
62
+ else:
63
+ rtnval = resp.json()
64
+ return rtnval
65
+
66
+ def delete_archive_for_authenticated_user(self, migration_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
67
+ """
68
+ Delete a user migration archive
69
+
70
+ Deletes a previous migration archive. Downloadable migration archives are automatically deleted after seven days. Migration metadata, which is returned in the [List user migrations](https://docs.github.com/rest/migrations/users#list-user-migrations) and [Get a user migration status](https://docs.github.com/rest/migrations/users#get-a-user-migration-status) endpoints, will continue to be available even after an archive is deleted.
71
+ """
72
+ client = self.client
73
+ if aspects is None:
74
+ aspects = client.aspects
75
+
76
+ header_params = client.headers
77
+ if headers is not None:
78
+ header_params = headers
79
+
80
+ leaf_template = "/user/migrations/{migration_id}/archive"
81
+ path_params = {
82
+ 'migration_id': migration_id,
83
+ }
84
+ call_leaf = leaf_template.format(**path_params)
85
+
86
+ query_params = None
87
+
88
+
89
+ if exp_status is None:
90
+ exp_status = [204]
91
+
92
+ resp = client.perform_call(
93
+ leaf=call_leaf,
94
+ method="DELETE",
95
+ params=query_params if query_params else None,
96
+ body=None,
97
+ exp_status=exp_status,
98
+ headers=header_params if header_params else None,
99
+ context_msg=None,
100
+ aspects=aspects,
101
+ )
102
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
103
+ rtnval = None
104
+ else:
105
+ rtnval = resp.json()
106
+ return rtnval
107
+
108
+ def delete_archive_for_org(self, org: str, migration_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
109
+ """
110
+ Delete an organization migration archive
111
+
112
+ Deletes a previous migration archive. Migration archives are automatically deleted after seven days.
113
+ """
114
+ client = self.client
115
+ if aspects is None:
116
+ aspects = client.aspects
117
+
118
+ header_params = client.headers
119
+ if headers is not None:
120
+ header_params = headers
121
+
122
+ leaf_template = "/orgs/{org}/migrations/{migration_id}/archive"
123
+ path_params = {
124
+ 'org': org,
125
+ 'migration_id': migration_id,
126
+ }
127
+ call_leaf = leaf_template.format(**path_params)
128
+
129
+ query_params = None
130
+
131
+
132
+ if exp_status is None:
133
+ exp_status = [204]
134
+
135
+ resp = client.perform_call(
136
+ leaf=call_leaf,
137
+ method="DELETE",
138
+ params=query_params if query_params else None,
139
+ body=None,
140
+ exp_status=exp_status,
141
+ headers=header_params if header_params else None,
142
+ context_msg=None,
143
+ aspects=aspects,
144
+ )
145
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
146
+ rtnval = None
147
+ else:
148
+ rtnval = resp.json()
149
+ return rtnval
150
+
151
+ def download_archive_for_org(self, org: str, migration_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
152
+ """
153
+ Download an organization migration archive
154
+
155
+ Fetches the URL to a migration archive.
156
+ """
157
+ client = self.client
158
+ if aspects is None:
159
+ aspects = client.aspects
160
+
161
+ header_params = client.headers
162
+ if headers is not None:
163
+ header_params = headers
164
+
165
+ leaf_template = "/orgs/{org}/migrations/{migration_id}/archive"
166
+ path_params = {
167
+ 'org': org,
168
+ 'migration_id': migration_id,
169
+ }
170
+ call_leaf = leaf_template.format(**path_params)
171
+
172
+ query_params = None
173
+
174
+
175
+ if exp_status is None:
176
+ exp_status = [200]
177
+
178
+ resp = client.perform_call(
179
+ leaf=call_leaf,
180
+ method="GET",
181
+ params=query_params if query_params else None,
182
+ body=None,
183
+ exp_status=exp_status,
184
+ headers=header_params if header_params else None,
185
+ context_msg=None,
186
+ aspects=aspects,
187
+ )
188
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
189
+ rtnval = None
190
+ else:
191
+ rtnval = resp.json()
192
+ return rtnval
193
+
194
+ def get_archive_for_authenticated_user(self, migration_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
195
+ """
196
+ Download a user migration archive
197
+
198
+ Fetches the URL to download the migration archive as a `tar.gz` file. Depending on the resources your repository uses, the migration archive can contain JSON files with data for these objects:
199
+
200
+ * attachments
201
+ * bases
202
+ * commit_comments
203
+ * issue_comments
204
+ * issue_events
205
+ * issues
206
+ * milestones
207
+ * organizations
208
+ * projects
209
+ * protected_branches
210
+ * pull_request_reviews
211
+ * pull_requests
212
+ * releases
213
+ * repositories
214
+ * review_comments
215
+ * schema
216
+ * users
217
+
218
+ The archive will also contain an `attachments` directory that includes all attachment files uploaded to GitHub.com and a `repositories` directory that contains the repository's Git data.
219
+ """
220
+ client = self.client
221
+ if aspects is None:
222
+ aspects = client.aspects
223
+
224
+ header_params = client.headers
225
+ if headers is not None:
226
+ header_params = headers
227
+
228
+ leaf_template = "/user/migrations/{migration_id}/archive"
229
+ path_params = {
230
+ 'migration_id': migration_id,
231
+ }
232
+ call_leaf = leaf_template.format(**path_params)
233
+
234
+ query_params = None
235
+
236
+
237
+ if exp_status is None:
238
+ exp_status = [200]
239
+
240
+ resp = client.perform_call(
241
+ leaf=call_leaf,
242
+ method="GET",
243
+ params=query_params if query_params else None,
244
+ body=None,
245
+ exp_status=exp_status,
246
+ headers=header_params if header_params else None,
247
+ context_msg=None,
248
+ aspects=aspects,
249
+ )
250
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
251
+ rtnval = None
252
+ else:
253
+ rtnval = resp.json()
254
+ return rtnval
255
+
256
+ def get_import_status(self, owner: str, repo: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Import:
257
+ """
258
+ Get an import status
259
+
260
+ View the progress of an import.
261
+
262
+ > [!WARNING]
263
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
264
+
265
+ **Import status**
266
+
267
+ This section includes details about the possible values of the `status` field of the Import Progress response.
268
+
269
+ An import that does not have errors will progress through these steps:
270
+
271
+ * `detecting` - the "detection" step of the import is in progress because the request did not include a `vcs` parameter. The import is identifying the type of source control present at the URL.
272
+ * `importing` - the "raw" step of the import is in progress. This is where commit data is fetched from the original repository. The import progress response will include `commit_count` (the total number of raw commits that will be imported) and `percent` (0 - 100, the current progress through the import).
273
+ * `mapping` - the "rewrite" step of the import is in progress. This is where SVN branches are converted to Git branches, and where author updates are applied. The import progress response does not include progress information.
274
+ * `pushing` - the "push" step of the import is in progress. This is where the importer updates the repository on GitHub. The import progress response will include `push_percent`, which is the percent value reported by `git push` when it is "Writing objects".
275
+ * `complete` - the import is complete, and the repository is ready on GitHub.
276
+
277
+ If there are problems, you will see one of these in the `status` field:
278
+
279
+ * `auth_failed` - the import requires authentication in order to connect to the original repository. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
280
+ * `error` - the import encountered an error. The import progress response will include the `failed_step` and an error message. Contact [GitHub Support](https://support.github.com/contact?tags=dotcom-rest-api) for more information.
281
+ * `detection_needs_auth` - the importer requires authentication for the originating repository to continue detection. To update authentication for the import, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
282
+ * `detection_found_nothing` - the importer didn't recognize any source control at the URL. To resolve, [Cancel the import](https://docs.github.com/rest/migrations/source-imports#cancel-an-import) and [retry](https://docs.github.com/rest/migrations/source-imports#start-an-import) with the correct URL.
283
+ * `detection_found_multiple` - the importer found several projects or repositories at the provided URL. When this is the case, the Import Progress response will also include a `project_choices` field with the possible project choices as values. To update project choice, please see the [Update an import](https://docs.github.com/rest/migrations/source-imports#update-an-import) section.
284
+
285
+ **The project_choices field**
286
+
287
+ When multiple projects are found at the provided URL, the response hash will include a `project_choices` field, the value of which is an array of hashes each representing a project choice. The exact key/value pairs of the project hashes will differ depending on the version control type.
288
+
289
+ **Git LFS related fields**
290
+
291
+ This section includes details about Git LFS related fields that may be present in the Import Progress response.
292
+
293
+ * `use_lfs` - describes whether the import has been opted in or out of using Git LFS. The value can be `opt_in`, `opt_out`, or `undecided` if no action has been taken.
294
+ * `has_large_files` - the boolean value describing whether files larger than 100MB were found during the `importing` step.
295
+ * `large_files_size` - the total size in gigabytes of files larger than 100MB found in the originating repository.
296
+ * `large_files_count` - the total number of files larger than 100MB found in the originating repository. To see a list of these files, make a "Get Large Files" request.
297
+ """
298
+ client = self.client
299
+ if aspects is None:
300
+ aspects = client.aspects
301
+
302
+ header_params = client.headers
303
+ if headers is not None:
304
+ header_params = headers
305
+
306
+ leaf_template = "/repos/{owner}/{repo}/import"
307
+ path_params = {
308
+ 'owner': owner,
309
+ 'repo': repo,
310
+ }
311
+ call_leaf = leaf_template.format(**path_params)
312
+
313
+ query_params = None
314
+
315
+
316
+ if exp_status is None:
317
+ exp_status = [200]
318
+
319
+ resp = client.perform_call(
320
+ leaf=call_leaf,
321
+ method="GET",
322
+ params=query_params if query_params else None,
323
+ body=None,
324
+ exp_status=exp_status,
325
+ headers=header_params if header_params else None,
326
+ context_msg=None,
327
+ aspects=aspects,
328
+ )
329
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
330
+ rtnobj = None
331
+ else:
332
+ raw_data = resp.json()
333
+ rtnobj = Import.from_dict(raw_data)
334
+ return rtnobj
335
+
336
+ def get_status_for_authenticated_user(self, migration_id: int, *, exclude: Optional[List[str]] = None, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Migration:
337
+ """
338
+ Get a user migration status
339
+
340
+ Fetches a single user migration. The response includes the `state` of the migration, which can be one of the following values:
341
+
342
+ * `pending` - the migration hasn't started yet.
343
+ * `exporting` - the migration is in progress.
344
+ * `exported` - the migration finished successfully.
345
+ * `failed` - the migration failed.
346
+
347
+ Once the migration has been `exported` you can [download the migration archive](https://docs.github.com/rest/migrations/users#download-a-user-migration-archive).
348
+ """
349
+ client = self.client
350
+ if aspects is None:
351
+ aspects = client.aspects
352
+
353
+ header_params = client.headers
354
+ if headers is not None:
355
+ header_params = headers
356
+
357
+ leaf_template = "/user/migrations/{migration_id}"
358
+ path_params = {
359
+ 'migration_id': migration_id,
360
+ }
361
+ call_leaf = leaf_template.format(**path_params)
362
+
363
+ query_params = {}
364
+ if exclude is not None:
365
+ query_params['exclude'] = exclude
366
+
367
+
368
+ if exp_status is None:
369
+ exp_status = [200]
370
+
371
+ resp = client.perform_call(
372
+ leaf=call_leaf,
373
+ method="GET",
374
+ params=query_params if query_params else None,
375
+ body=None,
376
+ exp_status=exp_status,
377
+ headers=header_params if header_params else None,
378
+ context_msg=None,
379
+ aspects=aspects,
380
+ )
381
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
382
+ rtnobj = None
383
+ else:
384
+ raw_data = resp.json()
385
+ rtnobj = Migration.from_dict(raw_data)
386
+ return rtnobj
387
+
388
+ def get_status_for_org(self, org: str, migration_id: int, *, exclude: Optional[List[str]] = None, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Migration:
389
+ """
390
+ Get an organization migration status
391
+
392
+ Fetches the status of a migration.
393
+
394
+ The `state` of a migration can be one of the following values:
395
+
396
+ * `pending`, which means the migration hasn't started yet.
397
+ * `exporting`, which means the migration is in progress.
398
+ * `exported`, which means the migration finished successfully.
399
+ * `failed`, which means the migration failed.
400
+ """
401
+ client = self.client
402
+ if aspects is None:
403
+ aspects = client.aspects
404
+
405
+ header_params = client.headers
406
+ if headers is not None:
407
+ header_params = headers
408
+
409
+ leaf_template = "/orgs/{org}/migrations/{migration_id}"
410
+ path_params = {
411
+ 'org': org,
412
+ 'migration_id': migration_id,
413
+ }
414
+ call_leaf = leaf_template.format(**path_params)
415
+
416
+ query_params = {}
417
+ if exclude is not None:
418
+ query_params['exclude'] = exclude
419
+
420
+
421
+ if exp_status is None:
422
+ exp_status = [200]
423
+
424
+ resp = client.perform_call(
425
+ leaf=call_leaf,
426
+ method="GET",
427
+ params=query_params if query_params else None,
428
+ body=None,
429
+ exp_status=exp_status,
430
+ headers=header_params if header_params else None,
431
+ context_msg=None,
432
+ aspects=aspects,
433
+ )
434
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
435
+ rtnobj = None
436
+ else:
437
+ raw_data = resp.json()
438
+ rtnobj = Migration.from_dict(raw_data)
439
+ return rtnobj
440
+
441
+ def list_commit_authors(self, owner: str, repo: str, *, since: Optional[int] = None, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> List[PorterAuthor]:
442
+ """
443
+ Get commit authors
444
+
445
+ Each type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username `hubot` into something like `hubot <hubot@12341234-abab-fefe-8787-fedcba987654>`.
446
+
447
+ This endpoint and the [Map a commit author](https://docs.github.com/rest/migrations/source-imports#map-a-commit-author) endpoint allow you to provide correct Git author information.
448
+
449
+ > [!WARNING]
450
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
451
+ """
452
+ client = self.client
453
+ if aspects is None:
454
+ aspects = client.aspects
455
+
456
+ header_params = client.headers
457
+ if headers is not None:
458
+ header_params = headers
459
+
460
+ leaf_template = "/repos/{owner}/{repo}/import/authors"
461
+ path_params = {
462
+ 'owner': owner,
463
+ 'repo': repo,
464
+ }
465
+ call_leaf = leaf_template.format(**path_params)
466
+
467
+ query_params = {}
468
+ if since is not None:
469
+ query_params['since'] = since
470
+
471
+
472
+ if exp_status is None:
473
+ exp_status = [200]
474
+
475
+ resp = client.perform_call(
476
+ leaf=call_leaf,
477
+ method="GET",
478
+ params=query_params if query_params else None,
479
+ body=None,
480
+ exp_status=exp_status,
481
+ headers=header_params if header_params else None,
482
+ context_msg=None,
483
+ aspects=aspects,
484
+ )
485
+ raw_data = resp.json()
486
+ items = [self._parse_item(item, PorterAuthor) for item in raw_data]
487
+ return items
488
+
489
+ def list_for_authenticated_user(self, *, 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) -> PagedList[Migration]:
490
+ """
491
+ List user migrations
492
+
493
+ Lists all migrations a user has started.
494
+ """
495
+ client = self.client
496
+ if aspects is None:
497
+ aspects = client.aspects
498
+
499
+ header_params = client.headers
500
+ if headers is not None:
501
+ header_params = headers
502
+
503
+ call_leaf = "/user/migrations"
504
+
505
+ query_params = {}
506
+ if per_page is not None:
507
+ query_params['per_page'] = per_page
508
+ if page is not None:
509
+ query_params['page'] = page
510
+
511
+
512
+ if exp_status is None:
513
+ exp_status = [200]
514
+
515
+ resp = client.perform_call(
516
+ leaf=call_leaf,
517
+ method="GET",
518
+ params=query_params if query_params else None,
519
+ body=None,
520
+ exp_status=exp_status,
521
+ headers=header_params if header_params else None,
522
+ context_msg=None,
523
+ aspects=aspects,
524
+ )
525
+ raw_data = resp.json()
526
+ items = [self._parse_item(item, Migration) for item in raw_data]
527
+ rtnval = PagedList[Migration](items, dict(resp.headers), raw_data)
528
+ return rtnval
529
+
530
+ def list_for_org(self, org: str, *, per_page: Optional[int] = 30, page: Optional[int] = 1, exclude: Optional[List[str]] = None, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> PagedList[Migration]:
531
+ """
532
+ List organization migrations
533
+
534
+ Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).
535
+
536
+ A list of `repositories` is only returned for export migrations.
537
+ """
538
+ client = self.client
539
+ if aspects is None:
540
+ aspects = client.aspects
541
+
542
+ header_params = client.headers
543
+ if headers is not None:
544
+ header_params = headers
545
+
546
+ leaf_template = "/orgs/{org}/migrations"
547
+ path_params = {
548
+ 'org': org,
549
+ }
550
+ call_leaf = leaf_template.format(**path_params)
551
+
552
+ query_params = {}
553
+ if per_page is not None:
554
+ query_params['per_page'] = per_page
555
+ if page is not None:
556
+ query_params['page'] = page
557
+ if exclude is not None:
558
+ query_params['exclude'] = exclude
559
+
560
+
561
+ if exp_status is None:
562
+ exp_status = [200]
563
+
564
+ resp = client.perform_call(
565
+ leaf=call_leaf,
566
+ method="GET",
567
+ params=query_params if query_params else None,
568
+ body=None,
569
+ exp_status=exp_status,
570
+ headers=header_params if header_params else None,
571
+ context_msg=None,
572
+ aspects=aspects,
573
+ )
574
+ raw_data = resp.json()
575
+ items = [self._parse_item(item, Migration) for item in raw_data]
576
+ rtnval = PagedList[Migration](items, dict(resp.headers), raw_data)
577
+ return rtnval
578
+
579
+ def list_large_files(self, owner: str, repo: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> List[PorterLargeFile]:
580
+ """
581
+ Get large files
582
+
583
+ List files larger than 100MB found during the import
584
+
585
+ > [!WARNING]
586
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
587
+ """
588
+ client = self.client
589
+ if aspects is None:
590
+ aspects = client.aspects
591
+
592
+ header_params = client.headers
593
+ if headers is not None:
594
+ header_params = headers
595
+
596
+ leaf_template = "/repos/{owner}/{repo}/import/large_files"
597
+ path_params = {
598
+ 'owner': owner,
599
+ 'repo': repo,
600
+ }
601
+ call_leaf = leaf_template.format(**path_params)
602
+
603
+ query_params = None
604
+
605
+
606
+ if exp_status is None:
607
+ exp_status = [200]
608
+
609
+ resp = client.perform_call(
610
+ leaf=call_leaf,
611
+ method="GET",
612
+ params=query_params if query_params else None,
613
+ body=None,
614
+ exp_status=exp_status,
615
+ headers=header_params if header_params else None,
616
+ context_msg=None,
617
+ aspects=aspects,
618
+ )
619
+ raw_data = resp.json()
620
+ items = [self._parse_item(item, PorterLargeFile) for item in raw_data]
621
+ return items
622
+
623
+ def list_repos_for_authenticated_user(self, migration_id: int, *, 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) -> PagedList[MinimalRepository]:
624
+ """
625
+ List repositories for a user migration
626
+
627
+ Lists all the repositories for this user migration.
628
+ """
629
+ client = self.client
630
+ if aspects is None:
631
+ aspects = client.aspects
632
+
633
+ header_params = client.headers
634
+ if headers is not None:
635
+ header_params = headers
636
+
637
+ leaf_template = "/user/migrations/{migration_id}/repositories"
638
+ path_params = {
639
+ 'migration_id': migration_id,
640
+ }
641
+ call_leaf = leaf_template.format(**path_params)
642
+
643
+ query_params = {}
644
+ if per_page is not None:
645
+ query_params['per_page'] = per_page
646
+ if page is not None:
647
+ query_params['page'] = page
648
+
649
+
650
+ if exp_status is None:
651
+ exp_status = [200]
652
+
653
+ resp = client.perform_call(
654
+ leaf=call_leaf,
655
+ method="GET",
656
+ params=query_params if query_params else None,
657
+ body=None,
658
+ exp_status=exp_status,
659
+ headers=header_params if header_params else None,
660
+ context_msg=None,
661
+ aspects=aspects,
662
+ )
663
+ raw_data = resp.json()
664
+ items = [self._parse_item(item, MinimalRepository) for item in raw_data]
665
+ rtnval = PagedList[MinimalRepository](items, dict(resp.headers), raw_data)
666
+ return rtnval
667
+
668
+ def list_repos_for_org(self, org: str, migration_id: int, *, 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) -> PagedList[MinimalRepository]:
669
+ """
670
+ List repositories in an organization migration
671
+
672
+ List all the repositories for this organization migration.
673
+ """
674
+ client = self.client
675
+ if aspects is None:
676
+ aspects = client.aspects
677
+
678
+ header_params = client.headers
679
+ if headers is not None:
680
+ header_params = headers
681
+
682
+ leaf_template = "/orgs/{org}/migrations/{migration_id}/repositories"
683
+ path_params = {
684
+ 'org': org,
685
+ 'migration_id': migration_id,
686
+ }
687
+ call_leaf = leaf_template.format(**path_params)
688
+
689
+ query_params = {}
690
+ if per_page is not None:
691
+ query_params['per_page'] = per_page
692
+ if page is not None:
693
+ query_params['page'] = page
694
+
695
+
696
+ if exp_status is None:
697
+ exp_status = [200]
698
+
699
+ resp = client.perform_call(
700
+ leaf=call_leaf,
701
+ method="GET",
702
+ params=query_params if query_params else None,
703
+ body=None,
704
+ exp_status=exp_status,
705
+ headers=header_params if header_params else None,
706
+ context_msg=None,
707
+ aspects=aspects,
708
+ )
709
+ raw_data = resp.json()
710
+ items = [self._parse_item(item, MinimalRepository) for item in raw_data]
711
+ rtnval = PagedList[MinimalRepository](items, dict(resp.headers), raw_data)
712
+ return rtnval
713
+
714
+ def map_commit_author(self, owner: str, repo: str, author_id: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> PorterAuthor:
715
+ """
716
+ Map a commit author
717
+
718
+ Update an author's identity for the import. Your application can continue updating authors any time before you push
719
+ new commits to the repository.
720
+
721
+ > [!WARNING]
722
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
723
+ """
724
+ client = self.client
725
+ if aspects is None:
726
+ aspects = client.aspects
727
+
728
+ header_params = client.headers
729
+ if headers is not None:
730
+ header_params = headers
731
+
732
+ leaf_template = "/repos/{owner}/{repo}/import/authors/{author_id}"
733
+ path_params = {
734
+ 'owner': owner,
735
+ 'repo': repo,
736
+ 'author_id': author_id,
737
+ }
738
+ call_leaf = leaf_template.format(**path_params)
739
+
740
+ query_params = None
741
+
742
+
743
+ if exp_status is None:
744
+ exp_status = [200]
745
+
746
+ resp = client.perform_call(
747
+ leaf=call_leaf,
748
+ method="PATCH",
749
+ params=query_params if query_params else None,
750
+ body=body,
751
+ exp_status=exp_status,
752
+ headers=header_params if header_params else None,
753
+ context_msg=None,
754
+ aspects=aspects,
755
+ )
756
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
757
+ rtnobj = None
758
+ else:
759
+ raw_data = resp.json()
760
+ rtnobj = PorterAuthor.from_dict(raw_data)
761
+ return rtnobj
762
+
763
+ def set_lfs_preference(self, owner: str, repo: str, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Import:
764
+ """
765
+ Update Git LFS preference
766
+
767
+ You can import repositories from Subversion, Mercurial, and TFS that include files larger than 100MB. This ability
768
+ is powered by [Git LFS](https://git-lfs.com).
769
+
770
+ You can learn more about our LFS feature and working with large files [on our help
771
+ site](https://docs.github.com/repositories/working-with-files/managing-large-files).
772
+
773
+ > [!WARNING]
774
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
775
+ """
776
+ client = self.client
777
+ if aspects is None:
778
+ aspects = client.aspects
779
+
780
+ header_params = client.headers
781
+ if headers is not None:
782
+ header_params = headers
783
+
784
+ leaf_template = "/repos/{owner}/{repo}/import/lfs"
785
+ path_params = {
786
+ 'owner': owner,
787
+ 'repo': repo,
788
+ }
789
+ call_leaf = leaf_template.format(**path_params)
790
+
791
+ query_params = None
792
+
793
+
794
+ if exp_status is None:
795
+ exp_status = [200]
796
+
797
+ resp = client.perform_call(
798
+ leaf=call_leaf,
799
+ method="PATCH",
800
+ params=query_params if query_params else None,
801
+ body=body,
802
+ exp_status=exp_status,
803
+ headers=header_params if header_params else None,
804
+ context_msg=None,
805
+ aspects=aspects,
806
+ )
807
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
808
+ rtnobj = None
809
+ else:
810
+ raw_data = resp.json()
811
+ rtnobj = Import.from_dict(raw_data)
812
+ return rtnobj
813
+
814
+ def start_for_authenticated_user(self, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
815
+ """
816
+ Start a user migration
817
+
818
+ Initiates the generation of a user migration archive.
819
+ """
820
+ client = self.client
821
+ if aspects is None:
822
+ aspects = client.aspects
823
+
824
+ header_params = client.headers
825
+ if headers is not None:
826
+ header_params = headers
827
+
828
+ call_leaf = "/user/migrations"
829
+
830
+ query_params = None
831
+
832
+
833
+ if exp_status is None:
834
+ exp_status = [201]
835
+
836
+ resp = client.perform_call(
837
+ leaf=call_leaf,
838
+ method="POST",
839
+ params=query_params if query_params else None,
840
+ body=body,
841
+ exp_status=exp_status,
842
+ headers=header_params if header_params else None,
843
+ context_msg=None,
844
+ aspects=aspects,
845
+ )
846
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
847
+ rtnval = None
848
+ else:
849
+ rtnval = resp.json()
850
+ return rtnval
851
+
852
+ def start_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:
853
+ """
854
+ Start an organization migration
855
+
856
+ Initiates the generation of a migration archive.
857
+ """
858
+ client = self.client
859
+ if aspects is None:
860
+ aspects = client.aspects
861
+
862
+ header_params = client.headers
863
+ if headers is not None:
864
+ header_params = headers
865
+
866
+ leaf_template = "/orgs/{org}/migrations"
867
+ path_params = {
868
+ 'org': org,
869
+ }
870
+ call_leaf = leaf_template.format(**path_params)
871
+
872
+ query_params = None
873
+
874
+
875
+ if exp_status is None:
876
+ exp_status = [201]
877
+
878
+ resp = client.perform_call(
879
+ leaf=call_leaf,
880
+ method="POST",
881
+ params=query_params if query_params else None,
882
+ body=body,
883
+ exp_status=exp_status,
884
+ headers=header_params if header_params else None,
885
+ context_msg=None,
886
+ aspects=aspects,
887
+ )
888
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
889
+ rtnval = None
890
+ else:
891
+ rtnval = resp.json()
892
+ return rtnval
893
+
894
+ def start_import(self, owner: str, repo: str, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
895
+ """
896
+ Start an import
897
+
898
+ Start a source import to a GitHub repository using GitHub Importer.
899
+ Importing into a GitHub repository with GitHub Actions enabled is not supported and will
900
+ return a status `422 Unprocessable Entity` response.
901
+
902
+ > [!WARNING]
903
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
904
+ """
905
+ client = self.client
906
+ if aspects is None:
907
+ aspects = client.aspects
908
+
909
+ header_params = client.headers
910
+ if headers is not None:
911
+ header_params = headers
912
+
913
+ leaf_template = "/repos/{owner}/{repo}/import"
914
+ path_params = {
915
+ 'owner': owner,
916
+ 'repo': repo,
917
+ }
918
+ call_leaf = leaf_template.format(**path_params)
919
+
920
+ query_params = None
921
+
922
+
923
+ if exp_status is None:
924
+ exp_status = [201]
925
+
926
+ resp = client.perform_call(
927
+ leaf=call_leaf,
928
+ method="PUT",
929
+ params=query_params if query_params else None,
930
+ body=body,
931
+ exp_status=exp_status,
932
+ headers=header_params if header_params else None,
933
+ context_msg=None,
934
+ aspects=aspects,
935
+ )
936
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
937
+ rtnval = None
938
+ else:
939
+ rtnval = resp.json()
940
+ return rtnval
941
+
942
+ def unlock_repo_for_authenticated_user(self, migration_id: int, repo_name: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
943
+ """
944
+ Unlock a user repository
945
+
946
+ Unlocks a repository. You can lock repositories when you [start a user migration](https://docs.github.com/rest/migrations/users#start-a-user-migration). Once the migration is complete you can unlock each repository to begin using it again or [delete the repository](https://docs.github.com/rest/repos/repos#delete-a-repository) if you no longer need the source data. Returns a status of `404 Not Found` if the repository is not locked.
947
+ """
948
+ client = self.client
949
+ if aspects is None:
950
+ aspects = client.aspects
951
+
952
+ header_params = client.headers
953
+ if headers is not None:
954
+ header_params = headers
955
+
956
+ leaf_template = "/user/migrations/{migration_id}/repos/{repo_name}/lock"
957
+ path_params = {
958
+ 'migration_id': migration_id,
959
+ 'repo_name': repo_name,
960
+ }
961
+ call_leaf = leaf_template.format(**path_params)
962
+
963
+ query_params = None
964
+
965
+
966
+ if exp_status is None:
967
+ exp_status = [204]
968
+
969
+ resp = client.perform_call(
970
+ leaf=call_leaf,
971
+ method="DELETE",
972
+ params=query_params if query_params else None,
973
+ body=None,
974
+ exp_status=exp_status,
975
+ headers=header_params if header_params else None,
976
+ context_msg=None,
977
+ aspects=aspects,
978
+ )
979
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
980
+ rtnval = None
981
+ else:
982
+ rtnval = resp.json()
983
+ return rtnval
984
+
985
+ def unlock_repo_for_org(self, org: str, migration_id: int, repo_name: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
986
+ """
987
+ Unlock an organization repository
988
+
989
+ Unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data.
990
+ """
991
+ client = self.client
992
+ if aspects is None:
993
+ aspects = client.aspects
994
+
995
+ header_params = client.headers
996
+ if headers is not None:
997
+ header_params = headers
998
+
999
+ leaf_template = "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"
1000
+ path_params = {
1001
+ 'org': org,
1002
+ 'migration_id': migration_id,
1003
+ 'repo_name': repo_name,
1004
+ }
1005
+ call_leaf = leaf_template.format(**path_params)
1006
+
1007
+ query_params = None
1008
+
1009
+
1010
+ if exp_status is None:
1011
+ exp_status = [204]
1012
+
1013
+ resp = client.perform_call(
1014
+ leaf=call_leaf,
1015
+ method="DELETE",
1016
+ params=query_params if query_params else None,
1017
+ body=None,
1018
+ exp_status=exp_status,
1019
+ headers=header_params if header_params else None,
1020
+ context_msg=None,
1021
+ aspects=aspects,
1022
+ )
1023
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1024
+ rtnval = None
1025
+ else:
1026
+ rtnval = resp.json()
1027
+ return rtnval
1028
+
1029
+ def update_import(self, owner: str, repo: str, body: Optional[Dict[str, Any]], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Import:
1030
+ """
1031
+ Update an import
1032
+
1033
+ An import can be updated with credentials or a project choice by passing in the appropriate parameters in this API
1034
+ request. If no parameters are provided, the import will be restarted.
1035
+
1036
+ Some servers (e.g. TFS servers) can have several projects at a single URL. In those cases the import progress will
1037
+ have the status `detection_found_multiple` and the Import Progress response will include a `project_choices` array.
1038
+ You can select the project to import by providing one of the objects in the `project_choices` array in the update request.
1039
+
1040
+ > [!WARNING]
1041
+ > **Endpoint closing down notice:** Due to very low levels of usage and available alternatives, this endpoint is closing down and will no longer be available from 00:00 UTC on April 12, 2024. For more details and alternatives, see the [changelog](https://gh.io/source-imports-api-deprecation).
1042
+ """
1043
+ client = self.client
1044
+ if aspects is None:
1045
+ aspects = client.aspects
1046
+
1047
+ header_params = client.headers
1048
+ if headers is not None:
1049
+ header_params = headers
1050
+
1051
+ leaf_template = "/repos/{owner}/{repo}/import"
1052
+ path_params = {
1053
+ 'owner': owner,
1054
+ 'repo': repo,
1055
+ }
1056
+ call_leaf = leaf_template.format(**path_params)
1057
+
1058
+ query_params = None
1059
+
1060
+
1061
+ if exp_status is None:
1062
+ exp_status = [200]
1063
+
1064
+ resp = client.perform_call(
1065
+ leaf=call_leaf,
1066
+ method="PATCH",
1067
+ params=query_params if query_params else None,
1068
+ body=body,
1069
+ exp_status=exp_status,
1070
+ headers=header_params if header_params else None,
1071
+ context_msg=None,
1072
+ aspects=aspects,
1073
+ )
1074
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1075
+ rtnobj = None
1076
+ else:
1077
+ raw_data = resp.json()
1078
+ rtnobj = Import.from_dict(raw_data)
1079
+ return rtnobj