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,1154 @@
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.projectsclassic import Project
9
+ from ccai.restclient.github.public.schemas.projectsclassic import ProjectCard
10
+ from ccai.restclient.github.public.schemas.projectsclassic import ProjectCollaboratorPermission
11
+ from ccai.restclient.github.public.schemas.projectsclassic import ProjectColumn
12
+ from ccai.restclient.github.public.schemas.repos import SimpleUser
13
+
14
+
15
+ class ProjectsClassicApiGroup(RestApiGroup):
16
+ """
17
+ Interact with GitHub Projects (classic).
18
+ """
19
+
20
+ def add_collaborator(self, project_id: int, username: str, body: Optional[Dict[str, Any]], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
21
+ """
22
+ Add project collaborator
23
+
24
+ > [!WARNING]
25
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
26
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
27
+ """
28
+ client = self.client
29
+ if aspects is None:
30
+ aspects = client.aspects
31
+
32
+ header_params = client.headers
33
+ if headers is not None:
34
+ header_params = headers
35
+
36
+ leaf_template = "/projects/{project_id}/collaborators/{username}"
37
+ path_params = {
38
+ 'project_id': project_id,
39
+ 'username': username,
40
+ }
41
+ call_leaf = leaf_template.format(**path_params)
42
+
43
+ query_params = None
44
+
45
+
46
+ if exp_status is None:
47
+ exp_status = [204]
48
+
49
+ resp = client.perform_call(
50
+ leaf=call_leaf,
51
+ method="PUT",
52
+ params=query_params if query_params else None,
53
+ body=body,
54
+ exp_status=exp_status,
55
+ headers=header_params if header_params else None,
56
+ context_msg=None,
57
+ aspects=aspects,
58
+ )
59
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
60
+ rtnval = None
61
+ else:
62
+ rtnval = resp.json()
63
+ return rtnval
64
+
65
+ def create_card(self, column_id: int, body: Union[Dict[str, Any], Dict[str, Any]], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
66
+ """
67
+ Create a project card
68
+
69
+ > [!WARNING]
70
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
71
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
72
+ """
73
+ client = self.client
74
+ if aspects is None:
75
+ aspects = client.aspects
76
+
77
+ header_params = client.headers
78
+ if headers is not None:
79
+ header_params = headers
80
+
81
+ leaf_template = "/projects/columns/{column_id}/cards"
82
+ path_params = {
83
+ 'column_id': column_id,
84
+ }
85
+ call_leaf = leaf_template.format(**path_params)
86
+
87
+ query_params = None
88
+
89
+
90
+ if exp_status is None:
91
+ exp_status = [201]
92
+
93
+ resp = client.perform_call(
94
+ leaf=call_leaf,
95
+ method="POST",
96
+ params=query_params if query_params else None,
97
+ body=body,
98
+ exp_status=exp_status,
99
+ headers=header_params if header_params else None,
100
+ context_msg=None,
101
+ aspects=aspects,
102
+ )
103
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
104
+ rtnval = None
105
+ else:
106
+ rtnval = resp.json()
107
+ return rtnval
108
+
109
+ def create_column(self, project_id: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
110
+ """
111
+ Create a project column
112
+
113
+ > [!WARNING]
114
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
115
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
116
+ """
117
+ client = self.client
118
+ if aspects is None:
119
+ aspects = client.aspects
120
+
121
+ header_params = client.headers
122
+ if headers is not None:
123
+ header_params = headers
124
+
125
+ leaf_template = "/projects/{project_id}/columns"
126
+ path_params = {
127
+ 'project_id': project_id,
128
+ }
129
+ call_leaf = leaf_template.format(**path_params)
130
+
131
+ query_params = None
132
+
133
+
134
+ if exp_status is None:
135
+ exp_status = [201]
136
+
137
+ resp = client.perform_call(
138
+ leaf=call_leaf,
139
+ method="POST",
140
+ params=query_params if query_params else None,
141
+ body=body,
142
+ exp_status=exp_status,
143
+ headers=header_params if header_params else None,
144
+ context_msg=None,
145
+ aspects=aspects,
146
+ )
147
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
148
+ rtnval = None
149
+ else:
150
+ rtnval = resp.json()
151
+ return rtnval
152
+
153
+ def create_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:
154
+ """
155
+ Create a user project
156
+
157
+ > [!WARNING]
158
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
159
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
160
+ """
161
+ client = self.client
162
+ if aspects is None:
163
+ aspects = client.aspects
164
+
165
+ header_params = client.headers
166
+ if headers is not None:
167
+ header_params = headers
168
+
169
+ call_leaf = "/user/projects"
170
+
171
+ query_params = None
172
+
173
+
174
+ if exp_status is None:
175
+ exp_status = [201]
176
+
177
+ resp = client.perform_call(
178
+ leaf=call_leaf,
179
+ method="POST",
180
+ params=query_params if query_params else None,
181
+ body=body,
182
+ exp_status=exp_status,
183
+ headers=header_params if header_params else None,
184
+ context_msg=None,
185
+ aspects=aspects,
186
+ )
187
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
188
+ rtnval = None
189
+ else:
190
+ rtnval = resp.json()
191
+ return rtnval
192
+
193
+ def create_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:
194
+ """
195
+ Create an organization project
196
+
197
+ > [!WARNING]
198
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
199
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
200
+ """
201
+ client = self.client
202
+ if aspects is None:
203
+ aspects = client.aspects
204
+
205
+ header_params = client.headers
206
+ if headers is not None:
207
+ header_params = headers
208
+
209
+ leaf_template = "/orgs/{org}/projects"
210
+ path_params = {
211
+ 'org': org,
212
+ }
213
+ call_leaf = leaf_template.format(**path_params)
214
+
215
+ query_params = None
216
+
217
+
218
+ if exp_status is None:
219
+ exp_status = [201]
220
+
221
+ resp = client.perform_call(
222
+ leaf=call_leaf,
223
+ method="POST",
224
+ params=query_params if query_params else None,
225
+ body=body,
226
+ exp_status=exp_status,
227
+ headers=header_params if header_params else None,
228
+ context_msg=None,
229
+ aspects=aspects,
230
+ )
231
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
232
+ rtnval = None
233
+ else:
234
+ rtnval = resp.json()
235
+ return rtnval
236
+
237
+ def create_for_repo(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:
238
+ """
239
+ Create a repository project
240
+
241
+ > [!WARNING]
242
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
243
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
244
+ """
245
+ client = self.client
246
+ if aspects is None:
247
+ aspects = client.aspects
248
+
249
+ header_params = client.headers
250
+ if headers is not None:
251
+ header_params = headers
252
+
253
+ leaf_template = "/repos/{owner}/{repo}/projects"
254
+ path_params = {
255
+ 'owner': owner,
256
+ 'repo': repo,
257
+ }
258
+ call_leaf = leaf_template.format(**path_params)
259
+
260
+ query_params = None
261
+
262
+
263
+ if exp_status is None:
264
+ exp_status = [201]
265
+
266
+ resp = client.perform_call(
267
+ leaf=call_leaf,
268
+ method="POST",
269
+ params=query_params if query_params else None,
270
+ body=body,
271
+ exp_status=exp_status,
272
+ headers=header_params if header_params else None,
273
+ context_msg=None,
274
+ aspects=aspects,
275
+ )
276
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
277
+ rtnval = None
278
+ else:
279
+ rtnval = resp.json()
280
+ return rtnval
281
+
282
+ def delete(self, project_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
283
+ """
284
+ Delete a project
285
+
286
+ > [!WARNING]
287
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
288
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
289
+ """
290
+ client = self.client
291
+ if aspects is None:
292
+ aspects = client.aspects
293
+
294
+ header_params = client.headers
295
+ if headers is not None:
296
+ header_params = headers
297
+
298
+ leaf_template = "/projects/{project_id}"
299
+ path_params = {
300
+ 'project_id': project_id,
301
+ }
302
+ call_leaf = leaf_template.format(**path_params)
303
+
304
+ query_params = None
305
+
306
+
307
+ if exp_status is None:
308
+ exp_status = [204]
309
+
310
+ resp = client.perform_call(
311
+ leaf=call_leaf,
312
+ method="DELETE",
313
+ params=query_params if query_params else None,
314
+ body=None,
315
+ exp_status=exp_status,
316
+ headers=header_params if header_params else None,
317
+ context_msg=None,
318
+ aspects=aspects,
319
+ )
320
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
321
+ rtnval = None
322
+ else:
323
+ rtnval = resp.json()
324
+ return rtnval
325
+
326
+ def delete_card(self, card_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
327
+ """
328
+ Delete a project card
329
+
330
+ > [!WARNING]
331
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
332
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
333
+ """
334
+ client = self.client
335
+ if aspects is None:
336
+ aspects = client.aspects
337
+
338
+ header_params = client.headers
339
+ if headers is not None:
340
+ header_params = headers
341
+
342
+ leaf_template = "/projects/columns/cards/{card_id}"
343
+ path_params = {
344
+ 'card_id': card_id,
345
+ }
346
+ call_leaf = leaf_template.format(**path_params)
347
+
348
+ query_params = None
349
+
350
+
351
+ if exp_status is None:
352
+ exp_status = [204]
353
+
354
+ resp = client.perform_call(
355
+ leaf=call_leaf,
356
+ method="DELETE",
357
+ params=query_params if query_params else None,
358
+ body=None,
359
+ exp_status=exp_status,
360
+ headers=header_params if header_params else None,
361
+ context_msg=None,
362
+ aspects=aspects,
363
+ )
364
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
365
+ rtnval = None
366
+ else:
367
+ rtnval = resp.json()
368
+ return rtnval
369
+
370
+ def delete_column(self, column_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
371
+ """
372
+ Delete a project column
373
+
374
+ > [!WARNING]
375
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
376
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
377
+ """
378
+ client = self.client
379
+ if aspects is None:
380
+ aspects = client.aspects
381
+
382
+ header_params = client.headers
383
+ if headers is not None:
384
+ header_params = headers
385
+
386
+ leaf_template = "/projects/columns/{column_id}"
387
+ path_params = {
388
+ 'column_id': column_id,
389
+ }
390
+ call_leaf = leaf_template.format(**path_params)
391
+
392
+ query_params = None
393
+
394
+
395
+ if exp_status is None:
396
+ exp_status = [204]
397
+
398
+ resp = client.perform_call(
399
+ leaf=call_leaf,
400
+ method="DELETE",
401
+ params=query_params if query_params else None,
402
+ body=None,
403
+ exp_status=exp_status,
404
+ headers=header_params if header_params else None,
405
+ context_msg=None,
406
+ aspects=aspects,
407
+ )
408
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
409
+ rtnval = None
410
+ else:
411
+ rtnval = resp.json()
412
+ return rtnval
413
+
414
+ def get(self, project_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Project:
415
+ """
416
+ Get a project
417
+
418
+ > [!WARNING]
419
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
420
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
421
+ """
422
+ client = self.client
423
+ if aspects is None:
424
+ aspects = client.aspects
425
+
426
+ header_params = client.headers
427
+ if headers is not None:
428
+ header_params = headers
429
+
430
+ leaf_template = "/projects/{project_id}"
431
+ path_params = {
432
+ 'project_id': project_id,
433
+ }
434
+ call_leaf = leaf_template.format(**path_params)
435
+
436
+ query_params = None
437
+
438
+
439
+ if exp_status is None:
440
+ exp_status = [200]
441
+
442
+ resp = client.perform_call(
443
+ leaf=call_leaf,
444
+ method="GET",
445
+ params=query_params if query_params else None,
446
+ body=None,
447
+ exp_status=exp_status,
448
+ headers=header_params if header_params else None,
449
+ context_msg=None,
450
+ aspects=aspects,
451
+ )
452
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
453
+ rtnobj = None
454
+ else:
455
+ raw_data = resp.json()
456
+ rtnobj = Project.from_dict(raw_data)
457
+ return rtnobj
458
+
459
+ def get_card(self, card_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> ProjectCard:
460
+ """
461
+ Get a project card
462
+
463
+ > [!WARNING]
464
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
465
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
466
+ """
467
+ client = self.client
468
+ if aspects is None:
469
+ aspects = client.aspects
470
+
471
+ header_params = client.headers
472
+ if headers is not None:
473
+ header_params = headers
474
+
475
+ leaf_template = "/projects/columns/cards/{card_id}"
476
+ path_params = {
477
+ 'card_id': card_id,
478
+ }
479
+ call_leaf = leaf_template.format(**path_params)
480
+
481
+ query_params = None
482
+
483
+
484
+ if exp_status is None:
485
+ exp_status = [200]
486
+
487
+ resp = client.perform_call(
488
+ leaf=call_leaf,
489
+ method="GET",
490
+ params=query_params if query_params else None,
491
+ body=None,
492
+ exp_status=exp_status,
493
+ headers=header_params if header_params else None,
494
+ context_msg=None,
495
+ aspects=aspects,
496
+ )
497
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
498
+ rtnobj = None
499
+ else:
500
+ raw_data = resp.json()
501
+ rtnobj = ProjectCard.from_dict(raw_data)
502
+ return rtnobj
503
+
504
+ def get_column(self, column_id: int, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> ProjectColumn:
505
+ """
506
+ Get a project column
507
+
508
+ > [!WARNING]
509
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
510
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
511
+ """
512
+ client = self.client
513
+ if aspects is None:
514
+ aspects = client.aspects
515
+
516
+ header_params = client.headers
517
+ if headers is not None:
518
+ header_params = headers
519
+
520
+ leaf_template = "/projects/columns/{column_id}"
521
+ path_params = {
522
+ 'column_id': column_id,
523
+ }
524
+ call_leaf = leaf_template.format(**path_params)
525
+
526
+ query_params = None
527
+
528
+
529
+ if exp_status is None:
530
+ exp_status = [200]
531
+
532
+ resp = client.perform_call(
533
+ leaf=call_leaf,
534
+ method="GET",
535
+ params=query_params if query_params else None,
536
+ body=None,
537
+ exp_status=exp_status,
538
+ headers=header_params if header_params else None,
539
+ context_msg=None,
540
+ aspects=aspects,
541
+ )
542
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
543
+ rtnobj = None
544
+ else:
545
+ raw_data = resp.json()
546
+ rtnobj = ProjectColumn.from_dict(raw_data)
547
+ return rtnobj
548
+
549
+ def get_permission_for_user(self, project_id: int, username: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> ProjectCollaboratorPermission:
550
+ """
551
+ Get project permission for a user
552
+
553
+ > [!WARNING]
554
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
555
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
556
+ """
557
+ client = self.client
558
+ if aspects is None:
559
+ aspects = client.aspects
560
+
561
+ header_params = client.headers
562
+ if headers is not None:
563
+ header_params = headers
564
+
565
+ leaf_template = "/projects/{project_id}/collaborators/{username}/permission"
566
+ path_params = {
567
+ 'project_id': project_id,
568
+ 'username': username,
569
+ }
570
+ call_leaf = leaf_template.format(**path_params)
571
+
572
+ query_params = None
573
+
574
+
575
+ if exp_status is None:
576
+ exp_status = [200]
577
+
578
+ resp = client.perform_call(
579
+ leaf=call_leaf,
580
+ method="GET",
581
+ params=query_params if query_params else None,
582
+ body=None,
583
+ exp_status=exp_status,
584
+ headers=header_params if header_params else None,
585
+ context_msg=None,
586
+ aspects=aspects,
587
+ )
588
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
589
+ rtnobj = None
590
+ else:
591
+ raw_data = resp.json()
592
+ rtnobj = ProjectCollaboratorPermission.from_dict(raw_data)
593
+ return rtnobj
594
+
595
+ def list_cards(self, column_id: int, *, archived_state: Optional[str] = "not_archived", 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[ProjectCard]:
596
+ """
597
+ List project cards
598
+
599
+ > [!WARNING]
600
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
601
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
602
+ """
603
+ client = self.client
604
+ if aspects is None:
605
+ aspects = client.aspects
606
+
607
+ header_params = client.headers
608
+ if headers is not None:
609
+ header_params = headers
610
+
611
+ leaf_template = "/projects/columns/{column_id}/cards"
612
+ path_params = {
613
+ 'column_id': column_id,
614
+ }
615
+ call_leaf = leaf_template.format(**path_params)
616
+
617
+ query_params = {}
618
+ if archived_state is not None:
619
+ query_params['archived_state'] = archived_state
620
+ if per_page is not None:
621
+ query_params['per_page'] = per_page
622
+ if page is not None:
623
+ query_params['page'] = page
624
+
625
+
626
+ if exp_status is None:
627
+ exp_status = [200]
628
+
629
+ resp = client.perform_call(
630
+ leaf=call_leaf,
631
+ method="GET",
632
+ params=query_params if query_params else None,
633
+ body=None,
634
+ exp_status=exp_status,
635
+ headers=header_params if header_params else None,
636
+ context_msg=None,
637
+ aspects=aspects,
638
+ )
639
+ raw_data = resp.json()
640
+ items = [self._parse_item(item, ProjectCard) for item in raw_data]
641
+ rtnval = PagedList[ProjectCard](items, dict(resp.headers), raw_data)
642
+ return rtnval
643
+
644
+ def list_collaborators(self, project_id: int, *, affiliation: Optional[str] = "all", 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[SimpleUser]:
645
+ """
646
+ List project collaborators
647
+
648
+ > [!WARNING]
649
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
650
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
651
+ """
652
+ client = self.client
653
+ if aspects is None:
654
+ aspects = client.aspects
655
+
656
+ header_params = client.headers
657
+ if headers is not None:
658
+ header_params = headers
659
+
660
+ leaf_template = "/projects/{project_id}/collaborators"
661
+ path_params = {
662
+ 'project_id': project_id,
663
+ }
664
+ call_leaf = leaf_template.format(**path_params)
665
+
666
+ query_params = {}
667
+ if affiliation is not None:
668
+ query_params['affiliation'] = affiliation
669
+ if per_page is not None:
670
+ query_params['per_page'] = per_page
671
+ if page is not None:
672
+ query_params['page'] = page
673
+
674
+
675
+ if exp_status is None:
676
+ exp_status = [200]
677
+
678
+ resp = client.perform_call(
679
+ leaf=call_leaf,
680
+ method="GET",
681
+ params=query_params if query_params else None,
682
+ body=None,
683
+ exp_status=exp_status,
684
+ headers=header_params if header_params else None,
685
+ context_msg=None,
686
+ aspects=aspects,
687
+ )
688
+ raw_data = resp.json()
689
+ items = [self._parse_item(item, SimpleUser) for item in raw_data]
690
+ rtnval = PagedList[SimpleUser](items, dict(resp.headers), raw_data)
691
+ return rtnval
692
+
693
+ def list_columns(self, project_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[ProjectColumn]:
694
+ """
695
+ List project columns
696
+
697
+ > [!WARNING]
698
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
699
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
700
+ """
701
+ client = self.client
702
+ if aspects is None:
703
+ aspects = client.aspects
704
+
705
+ header_params = client.headers
706
+ if headers is not None:
707
+ header_params = headers
708
+
709
+ leaf_template = "/projects/{project_id}/columns"
710
+ path_params = {
711
+ 'project_id': project_id,
712
+ }
713
+ call_leaf = leaf_template.format(**path_params)
714
+
715
+ query_params = {}
716
+ if per_page is not None:
717
+ query_params['per_page'] = per_page
718
+ if page is not None:
719
+ query_params['page'] = page
720
+
721
+
722
+ if exp_status is None:
723
+ exp_status = [200]
724
+
725
+ resp = client.perform_call(
726
+ leaf=call_leaf,
727
+ method="GET",
728
+ params=query_params if query_params else None,
729
+ body=None,
730
+ exp_status=exp_status,
731
+ headers=header_params if header_params else None,
732
+ context_msg=None,
733
+ aspects=aspects,
734
+ )
735
+ raw_data = resp.json()
736
+ items = [self._parse_item(item, ProjectColumn) for item in raw_data]
737
+ rtnval = PagedList[ProjectColumn](items, dict(resp.headers), raw_data)
738
+ return rtnval
739
+
740
+ def list_for_org(self, org: str, *, state: Optional[str] = "open", 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[Project]:
741
+ """
742
+ List organization projects
743
+
744
+ > [!WARNING]
745
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
746
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
747
+ """
748
+ client = self.client
749
+ if aspects is None:
750
+ aspects = client.aspects
751
+
752
+ header_params = client.headers
753
+ if headers is not None:
754
+ header_params = headers
755
+
756
+ leaf_template = "/orgs/{org}/projects"
757
+ path_params = {
758
+ 'org': org,
759
+ }
760
+ call_leaf = leaf_template.format(**path_params)
761
+
762
+ query_params = {}
763
+ if state is not None:
764
+ query_params['state'] = state
765
+ if per_page is not None:
766
+ query_params['per_page'] = per_page
767
+ if page is not None:
768
+ query_params['page'] = page
769
+
770
+
771
+ if exp_status is None:
772
+ exp_status = [200]
773
+
774
+ resp = client.perform_call(
775
+ leaf=call_leaf,
776
+ method="GET",
777
+ params=query_params if query_params else None,
778
+ body=None,
779
+ exp_status=exp_status,
780
+ headers=header_params if header_params else None,
781
+ context_msg=None,
782
+ aspects=aspects,
783
+ )
784
+ raw_data = resp.json()
785
+ items = [self._parse_item(item, Project) for item in raw_data]
786
+ rtnval = PagedList[Project](items, dict(resp.headers), raw_data)
787
+ return rtnval
788
+
789
+ def list_for_repo(self, owner: str, repo: str, *, state: Optional[str] = "open", 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[Project]:
790
+ """
791
+ List repository projects
792
+
793
+ > [!WARNING]
794
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
795
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
796
+ """
797
+ client = self.client
798
+ if aspects is None:
799
+ aspects = client.aspects
800
+
801
+ header_params = client.headers
802
+ if headers is not None:
803
+ header_params = headers
804
+
805
+ leaf_template = "/repos/{owner}/{repo}/projects"
806
+ path_params = {
807
+ 'owner': owner,
808
+ 'repo': repo,
809
+ }
810
+ call_leaf = leaf_template.format(**path_params)
811
+
812
+ query_params = {}
813
+ if state is not None:
814
+ query_params['state'] = state
815
+ if per_page is not None:
816
+ query_params['per_page'] = per_page
817
+ if page is not None:
818
+ query_params['page'] = page
819
+
820
+
821
+ if exp_status is None:
822
+ exp_status = [200]
823
+
824
+ resp = client.perform_call(
825
+ leaf=call_leaf,
826
+ method="GET",
827
+ params=query_params if query_params else None,
828
+ body=None,
829
+ exp_status=exp_status,
830
+ headers=header_params if header_params else None,
831
+ context_msg=None,
832
+ aspects=aspects,
833
+ )
834
+ raw_data = resp.json()
835
+ items = [self._parse_item(item, Project) for item in raw_data]
836
+ rtnval = PagedList[Project](items, dict(resp.headers), raw_data)
837
+ return rtnval
838
+
839
+ def list_for_user(self, username: str, *, state: Optional[str] = "open", 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[Project]:
840
+ """
841
+ List user projects
842
+
843
+ > [!WARNING]
844
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
845
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
846
+ """
847
+ client = self.client
848
+ if aspects is None:
849
+ aspects = client.aspects
850
+
851
+ header_params = client.headers
852
+ if headers is not None:
853
+ header_params = headers
854
+
855
+ leaf_template = "/users/{username}/projects"
856
+ path_params = {
857
+ 'username': username,
858
+ }
859
+ call_leaf = leaf_template.format(**path_params)
860
+
861
+ query_params = {}
862
+ if state is not None:
863
+ query_params['state'] = state
864
+ if per_page is not None:
865
+ query_params['per_page'] = per_page
866
+ if page is not None:
867
+ query_params['page'] = page
868
+
869
+
870
+ if exp_status is None:
871
+ exp_status = [200]
872
+
873
+ resp = client.perform_call(
874
+ leaf=call_leaf,
875
+ method="GET",
876
+ params=query_params if query_params else None,
877
+ body=None,
878
+ exp_status=exp_status,
879
+ headers=header_params if header_params else None,
880
+ context_msg=None,
881
+ aspects=aspects,
882
+ )
883
+ raw_data = resp.json()
884
+ items = [self._parse_item(item, Project) for item in raw_data]
885
+ rtnval = PagedList[Project](items, dict(resp.headers), raw_data)
886
+ return rtnval
887
+
888
+ def move_card(self, card_id: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
889
+ """
890
+ Move a project card
891
+
892
+ > [!WARNING]
893
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
894
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
895
+ """
896
+ client = self.client
897
+ if aspects is None:
898
+ aspects = client.aspects
899
+
900
+ header_params = client.headers
901
+ if headers is not None:
902
+ header_params = headers
903
+
904
+ leaf_template = "/projects/columns/cards/{card_id}/moves"
905
+ path_params = {
906
+ 'card_id': card_id,
907
+ }
908
+ call_leaf = leaf_template.format(**path_params)
909
+
910
+ query_params = None
911
+
912
+
913
+ if exp_status is None:
914
+ exp_status = [201]
915
+
916
+ resp = client.perform_call(
917
+ leaf=call_leaf,
918
+ method="POST",
919
+ params=query_params if query_params else None,
920
+ body=body,
921
+ exp_status=exp_status,
922
+ headers=header_params if header_params else None,
923
+ context_msg=None,
924
+ aspects=aspects,
925
+ )
926
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
927
+ rtnval = None
928
+ else:
929
+ rtnval = resp.json()
930
+ return rtnval
931
+
932
+ def move_column(self, column_id: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
933
+ """
934
+ Move a project column
935
+
936
+ > [!WARNING]
937
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
938
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
939
+ """
940
+ client = self.client
941
+ if aspects is None:
942
+ aspects = client.aspects
943
+
944
+ header_params = client.headers
945
+ if headers is not None:
946
+ header_params = headers
947
+
948
+ leaf_template = "/projects/columns/{column_id}/moves"
949
+ path_params = {
950
+ 'column_id': column_id,
951
+ }
952
+ call_leaf = leaf_template.format(**path_params)
953
+
954
+ query_params = None
955
+
956
+
957
+ if exp_status is None:
958
+ exp_status = [201]
959
+
960
+ resp = client.perform_call(
961
+ leaf=call_leaf,
962
+ method="POST",
963
+ params=query_params if query_params else None,
964
+ body=body,
965
+ exp_status=exp_status,
966
+ headers=header_params if header_params else None,
967
+ context_msg=None,
968
+ aspects=aspects,
969
+ )
970
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
971
+ rtnval = None
972
+ else:
973
+ rtnval = resp.json()
974
+ return rtnval
975
+
976
+ def remove_collaborator(self, project_id: int, username: str, *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Any:
977
+ """
978
+ Remove user as a collaborator
979
+
980
+ > [!WARNING]
981
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
982
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
983
+ """
984
+ client = self.client
985
+ if aspects is None:
986
+ aspects = client.aspects
987
+
988
+ header_params = client.headers
989
+ if headers is not None:
990
+ header_params = headers
991
+
992
+ leaf_template = "/projects/{project_id}/collaborators/{username}"
993
+ path_params = {
994
+ 'project_id': project_id,
995
+ 'username': username,
996
+ }
997
+ call_leaf = leaf_template.format(**path_params)
998
+
999
+ query_params = None
1000
+
1001
+
1002
+ if exp_status is None:
1003
+ exp_status = [204]
1004
+
1005
+ resp = client.perform_call(
1006
+ leaf=call_leaf,
1007
+ method="DELETE",
1008
+ params=query_params if query_params else None,
1009
+ body=None,
1010
+ exp_status=exp_status,
1011
+ headers=header_params if header_params else None,
1012
+ context_msg=None,
1013
+ aspects=aspects,
1014
+ )
1015
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1016
+ rtnval = None
1017
+ else:
1018
+ rtnval = resp.json()
1019
+ return rtnval
1020
+
1021
+ def update(self, project_id: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> Project:
1022
+ """
1023
+ Update a project
1024
+
1025
+ > [!WARNING]
1026
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
1027
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
1028
+ """
1029
+ client = self.client
1030
+ if aspects is None:
1031
+ aspects = client.aspects
1032
+
1033
+ header_params = client.headers
1034
+ if headers is not None:
1035
+ header_params = headers
1036
+
1037
+ leaf_template = "/projects/{project_id}"
1038
+ path_params = {
1039
+ 'project_id': project_id,
1040
+ }
1041
+ call_leaf = leaf_template.format(**path_params)
1042
+
1043
+ query_params = None
1044
+
1045
+
1046
+ if exp_status is None:
1047
+ exp_status = [200]
1048
+
1049
+ resp = client.perform_call(
1050
+ leaf=call_leaf,
1051
+ method="PATCH",
1052
+ params=query_params if query_params else None,
1053
+ body=body,
1054
+ exp_status=exp_status,
1055
+ headers=header_params if header_params else None,
1056
+ context_msg=None,
1057
+ aspects=aspects,
1058
+ )
1059
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1060
+ rtnobj = None
1061
+ else:
1062
+ raw_data = resp.json()
1063
+ rtnobj = Project.from_dict(raw_data)
1064
+ return rtnobj
1065
+
1066
+ def update_card(self, card_id: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> ProjectCard:
1067
+ """
1068
+ Update an existing project card
1069
+
1070
+ > [!WARNING]
1071
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
1072
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
1073
+ """
1074
+ client = self.client
1075
+ if aspects is None:
1076
+ aspects = client.aspects
1077
+
1078
+ header_params = client.headers
1079
+ if headers is not None:
1080
+ header_params = headers
1081
+
1082
+ leaf_template = "/projects/columns/cards/{card_id}"
1083
+ path_params = {
1084
+ 'card_id': card_id,
1085
+ }
1086
+ call_leaf = leaf_template.format(**path_params)
1087
+
1088
+ query_params = None
1089
+
1090
+
1091
+ if exp_status is None:
1092
+ exp_status = [200]
1093
+
1094
+ resp = client.perform_call(
1095
+ leaf=call_leaf,
1096
+ method="PATCH",
1097
+ params=query_params if query_params else None,
1098
+ body=body,
1099
+ exp_status=exp_status,
1100
+ headers=header_params if header_params else None,
1101
+ context_msg=None,
1102
+ aspects=aspects,
1103
+ )
1104
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1105
+ rtnobj = None
1106
+ else:
1107
+ raw_data = resp.json()
1108
+ rtnobj = ProjectCard.from_dict(raw_data)
1109
+ return rtnobj
1110
+
1111
+ def update_column(self, column_id: int, body: Dict[str, Any], *, exp_status: Optional[List[int]] = None, headers: Optional[Dict[str, str]] = None, aspects: Optional[AspectsRest] = None) -> ProjectColumn:
1112
+ """
1113
+ Update an existing project column
1114
+
1115
+ > [!WARNING]
1116
+ > **Closing down notice:** Projects (classic) is being deprecated in favor of the new Projects experience.
1117
+ > See the [changelog](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) for more information.
1118
+ """
1119
+ client = self.client
1120
+ if aspects is None:
1121
+ aspects = client.aspects
1122
+
1123
+ header_params = client.headers
1124
+ if headers is not None:
1125
+ header_params = headers
1126
+
1127
+ leaf_template = "/projects/columns/{column_id}"
1128
+ path_params = {
1129
+ 'column_id': column_id,
1130
+ }
1131
+ call_leaf = leaf_template.format(**path_params)
1132
+
1133
+ query_params = None
1134
+
1135
+
1136
+ if exp_status is None:
1137
+ exp_status = [200]
1138
+
1139
+ resp = client.perform_call(
1140
+ leaf=call_leaf,
1141
+ method="PATCH",
1142
+ params=query_params if query_params else None,
1143
+ body=body,
1144
+ exp_status=exp_status,
1145
+ headers=header_params if header_params else None,
1146
+ context_msg=None,
1147
+ aspects=aspects,
1148
+ )
1149
+ if resp.status_code in (204, 205) or (resp.status_code == 202 and len(resp.content) == 0):
1150
+ rtnobj = None
1151
+ else:
1152
+ raw_data = resp.json()
1153
+ rtnobj = ProjectColumn.from_dict(raw_data)
1154
+ return rtnobj