@octokit/types 16.0.0 → 18.0.0

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.
@@ -88,10 +88,18 @@ export interface Endpoints {
88
88
  * @see https://docs.github.com/rest/apps/oauth-applications#delete-an-app-token
89
89
  */
90
90
  "DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
91
+ /**
92
+ * @see https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise
93
+ */
94
+ "DELETE /enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}": Operation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}", "delete">;
91
95
  /**
92
96
  * @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
93
97
  */
94
98
  "DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "delete">;
99
+ /**
100
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy
101
+ */
102
+ "DELETE /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "delete">;
95
103
  /**
96
104
  * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership
97
105
  */
@@ -128,6 +136,10 @@ export interface Endpoints {
128
136
  * @see https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription
129
137
  */
130
138
  "DELETE /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "delete">;
139
+ /**
140
+ * @see https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization
141
+ */
142
+ "DELETE /organizations/{org}/settings/billing/budgets/{budget_id}": Operation<"/organizations/{org}/settings/billing/budgets/{budget_id}", "delete">;
131
143
  /**
132
144
  * @see https://docs.github.com/rest/orgs/orgs#delete-an-organization
133
145
  */
@@ -144,6 +156,10 @@ export interface Endpoints {
144
156
  * @see https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization
145
157
  */
146
158
  "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "delete">;
159
+ /**
160
+ * @see https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization
161
+ */
162
+ "DELETE /orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}": Operation<"/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", "delete">;
147
163
  /**
148
164
  * @see https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
149
165
  */
@@ -192,6 +208,22 @@ export interface Endpoints {
192
208
  * @see https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable
193
209
  */
194
210
  "DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "delete">;
211
+ /**
212
+ * @see https://docs.github.com/rest/agents/secrets#delete-an-organization-secret
213
+ */
214
+ "DELETE /orgs/{org}/agents/secrets/{secret_name}": Operation<"/orgs/{org}/agents/secrets/{secret_name}", "delete">;
215
+ /**
216
+ * @see https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret
217
+ */
218
+ "DELETE /orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}", "delete">;
219
+ /**
220
+ * @see https://docs.github.com/rest/agents/variables#delete-an-organization-variable
221
+ */
222
+ "DELETE /orgs/{org}/agents/variables/{name}": Operation<"/orgs/{org}/agents/variables/{name}", "delete">;
223
+ /**
224
+ * @see https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable
225
+ */
226
+ "DELETE /orgs/{org}/agents/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/variables/{name}/repositories/{repository_id}", "delete">;
195
227
  /**
196
228
  * @see https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest
197
229
  */
@@ -228,6 +260,18 @@ export interface Endpoints {
228
260
  * @see https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret
229
261
  */
230
262
  "DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
263
+ /**
264
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space
265
+ */
266
+ "DELETE /orgs/{org}/copilot-spaces/{space_number}": Operation<"/orgs/{org}/copilot-spaces/{space_number}", "delete">;
267
+ /**
268
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space
269
+ */
270
+ "DELETE /orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "delete">;
271
+ /**
272
+ * @see https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space
273
+ */
274
+ "DELETE /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "delete">;
231
275
  /**
232
276
  * @see https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization
233
277
  */
@@ -236,6 +280,10 @@ export interface Endpoints {
236
280
  * @see https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization
237
281
  */
238
282
  "DELETE /orgs/{org}/copilot/billing/selected_users": Operation<"/orgs/{org}/copilot/billing/selected_users", "delete">;
283
+ /**
284
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization
285
+ */
286
+ "DELETE /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}", "delete">;
239
287
  /**
240
288
  * @see https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret
241
289
  */
@@ -256,6 +304,10 @@ export interface Endpoints {
256
304
  * @see https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation
257
305
  */
258
306
  "DELETE /orgs/{org}/invitations/{invitation_id}": Operation<"/orgs/{org}/invitations/{invitation_id}", "delete">;
307
+ /**
308
+ * @see https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization
309
+ */
310
+ "DELETE /orgs/{org}/issue-fields/{issue_field_id}": Operation<"/orgs/{org}/issue-fields/{issue_field_id}", "delete">;
259
311
  /**
260
312
  * @see https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization
261
313
  */
@@ -328,6 +380,10 @@ export interface Endpoints {
328
380
  * @see https://docs.github.com/rest/orgs/rules#delete-an-organization-repository-ruleset
329
381
  */
330
382
  "DELETE /orgs/{org}/rulesets/{ruleset_id}": Operation<"/orgs/{org}/rulesets/{ruleset_id}", "delete">;
383
+ /**
384
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-delete-organization-custom-patterns
385
+ */
386
+ "DELETE /orgs/{org}/secret-scanning/custom-patterns": Operation<"/orgs/{org}/secret-scanning/custom-patterns", "delete">;
331
387
  /**
332
388
  * @see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team
333
389
  */
@@ -344,46 +400,14 @@ export interface Endpoints {
344
400
  * @see https://docs.github.com/rest/teams/teams#delete-a-team
345
401
  */
346
402
  "DELETE /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "delete">;
347
- /**
348
- * @see https://docs.github.com/rest/teams/discussions#delete-a-discussion
349
- */
350
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "delete">;
351
- /**
352
- * @see https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment
353
- */
354
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "delete">;
355
- /**
356
- * @see https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction
357
- */
358
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", "delete">;
359
- /**
360
- * @see https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction
361
- */
362
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", "delete">;
363
403
  /**
364
404
  * @see https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user
365
405
  */
366
406
  "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "delete">;
367
- /**
368
- * @see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team
369
- */
370
- "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "delete">;
371
407
  /**
372
408
  * @see https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team
373
409
  */
374
410
  "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "delete">;
375
- /**
376
- * @see https://docs.github.com/rest/projects-classic/columns#delete-a-project-column
377
- */
378
- "DELETE /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "delete">;
379
- /**
380
- * @see https://docs.github.com/rest/projects-classic/projects#delete-a-project
381
- */
382
- "DELETE /projects/{project_id}": Operation<"/projects/{project_id}", "delete">;
383
- /**
384
- * @see https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator
385
- */
386
- "DELETE /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "delete">;
387
411
  /**
388
412
  * @see https://docs.github.com/rest/repos/repos#delete-a-repository
389
413
  */
@@ -428,6 +452,14 @@ export interface Endpoints {
428
452
  * @see https://docs.github.com/rest/actions/variables#delete-a-repository-variable
429
453
  */
430
454
  "DELETE /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "delete">;
455
+ /**
456
+ * @see https://docs.github.com/rest/agents/secrets#delete-a-repository-secret
457
+ */
458
+ "DELETE /repos/{owner}/{repo}/agents/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "delete">;
459
+ /**
460
+ * @see https://docs.github.com/rest/agents/variables#delete-a-repository-variable
461
+ */
462
+ "DELETE /repos/{owner}/{repo}/agents/variables/{name}": Operation<"/repos/{owner}/{repo}/agents/variables/{name}", "delete">;
431
463
  /**
432
464
  * @see https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository
433
465
  */
@@ -552,6 +584,10 @@ export interface Endpoints {
552
584
  * @see https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository
553
585
  */
554
586
  "DELETE /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "delete">;
587
+ /**
588
+ * @see https://docs.github.com/rest/interactions/repos#remove-users-from-the-pull-request-creation-cap-bypass-list-for-a-repository
589
+ */
590
+ "DELETE /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "delete">;
555
591
  /**
556
592
  * @see https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation
557
593
  */
@@ -560,6 +596,10 @@ export interface Endpoints {
560
596
  * @see https://docs.github.com/rest/issues/comments#delete-an-issue-comment
561
597
  */
562
598
  "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}", "delete">;
599
+ /**
600
+ * @see https://docs.github.com/rest/issues/comments#unpin-an-issue-comment
601
+ */
602
+ "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/pin": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/pin", "delete">;
563
603
  /**
564
604
  * @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction
565
605
  */
@@ -572,6 +612,10 @@ export interface Endpoints {
572
612
  * @see https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by
573
613
  */
574
614
  "DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}", "delete">;
615
+ /**
616
+ * @see https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue
617
+ */
618
+ "DELETE /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values/{issue_field_id}", "delete">;
575
619
  /**
576
620
  * @see https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue
577
621
  */
@@ -645,13 +689,13 @@ export interface Endpoints {
645
689
  */
646
690
  "DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}", "delete">;
647
691
  /**
648
- * @see https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
692
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-delete-repository-custom-patterns
649
693
  */
650
- "DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
694
+ "DELETE /repos/{owner}/{repo}/secret-scanning/custom-patterns": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "delete">;
651
695
  /**
652
- * @see https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository
696
+ * @see https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
653
697
  */
654
- "DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}": Operation<"/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", "delete">;
698
+ "DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
655
699
  /**
656
700
  * @see https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
657
701
  */
@@ -660,14 +704,6 @@ export interface Endpoints {
660
704
  * @see https://docs.github.com/rest/teams/teams#delete-a-team-legacy
661
705
  */
662
706
  "DELETE /teams/{team_id}": Operation<"/teams/{team_id}", "delete">;
663
- /**
664
- * @see https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy
665
- */
666
- "DELETE /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "delete">;
667
- /**
668
- * @see https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy
669
- */
670
- "DELETE /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "delete">;
671
707
  /**
672
708
  * @see https://docs.github.com/rest/teams/members#remove-team-member-legacy
673
709
  */
@@ -676,10 +712,6 @@ export interface Endpoints {
676
712
  * @see https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy
677
713
  */
678
714
  "DELETE /teams/{team_id}/memberships/{username}": Operation<"/teams/{team_id}/memberships/{username}", "delete">;
679
- /**
680
- * @see https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy
681
- */
682
- "DELETE /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "delete">;
683
715
  /**
684
716
  * @see https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy
685
717
  */
@@ -764,6 +796,18 @@ export interface Endpoints {
764
796
  * @see https://docs.github.com/rest/users/attestations#delete-attestations-by-id
765
797
  */
766
798
  "DELETE /users/{username}/attestations/{attestation_id}": Operation<"/users/{username}/attestations/{attestation_id}", "delete">;
799
+ /**
800
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user
801
+ */
802
+ "DELETE /users/{username}/copilot-spaces/{space_number}": Operation<"/users/{username}/copilot-spaces/{space_number}", "delete">;
803
+ /**
804
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user
805
+ */
806
+ "DELETE /users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "delete">;
807
+ /**
808
+ * @see https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user
809
+ */
810
+ "DELETE /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "delete">;
767
811
  /**
768
812
  * @see https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user
769
813
  */
@@ -788,6 +832,22 @@ export interface Endpoints {
788
832
  * @see https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory
789
833
  */
790
834
  "GET /advisories/{ghsa_id}": ReadonlyOperation<"/advisories/{ghsa_id}", "get">;
835
+ /**
836
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#list-tasks-for-repository
837
+ */
838
+ "GET /agents/repos/{owner}/{repo}/tasks": ReadonlyOperation<"/agents/repos/{owner}/{repo}/tasks", "get">;
839
+ /**
840
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#get-a-task-by-repo
841
+ */
842
+ "GET /agents/repos/{owner}/{repo}/tasks/{task_id}": ReadonlyOperation<"/agents/repos/{owner}/{repo}/tasks/{task_id}", "get">;
843
+ /**
844
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#list-tasks
845
+ */
846
+ "GET /agents/tasks": ReadonlyOperation<"/agents/tasks", "get">;
847
+ /**
848
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#get-a-task-by-id
849
+ */
850
+ "GET /agents/tasks/{task_id}": ReadonlyOperation<"/agents/tasks/{task_id}", "get">;
791
851
  /**
792
852
  * @see https://docs.github.com/rest/apps/apps#get-the-authenticated-app
793
853
  */
@@ -821,27 +881,27 @@ export interface Endpoints {
821
881
  */
822
882
  "GET /apps/{app_slug}": ReadonlyOperation<"/apps/{app_slug}", "get">;
823
883
  /**
824
- * @see https://docs.github.com/rest/classroom/classroom#get-an-assignment
884
+ * @see https://docs.github.com/rest/classroom/classroom#closing-down---get-an-assignment
825
885
  */
826
886
  "GET /assignments/{assignment_id}": ReadonlyOperation<"/assignments/{assignment_id}", "get">;
827
887
  /**
828
- * @see https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment
888
+ * @see https://docs.github.com/rest/classroom/classroom#closing-down---list-accepted-assignments-for-an-assignment
829
889
  */
830
890
  "GET /assignments/{assignment_id}/accepted_assignments": ReadonlyOperation<"/assignments/{assignment_id}/accepted_assignments", "get">;
831
891
  /**
832
- * @see https://docs.github.com/rest/classroom/classroom#get-assignment-grades
892
+ * @see https://docs.github.com/rest/classroom/classroom#closing-down---get-assignment-grades
833
893
  */
834
894
  "GET /assignments/{assignment_id}/grades": ReadonlyOperation<"/assignments/{assignment_id}/grades", "get">;
835
895
  /**
836
- * @see https://docs.github.com/rest/classroom/classroom#list-classrooms
896
+ * @see https://docs.github.com/rest/classroom/classroom#closing-down---list-classrooms
837
897
  */
838
898
  "GET /classrooms": ReadonlyOperation<"/classrooms", "get">;
839
899
  /**
840
- * @see https://docs.github.com/rest/classroom/classroom#get-a-classroom
900
+ * @see https://docs.github.com/rest/classroom/classroom#closing-down---get-a-classroom
841
901
  */
842
902
  "GET /classrooms/{classroom_id}": ReadonlyOperation<"/classrooms/{classroom_id}", "get">;
843
903
  /**
844
- * @see https://docs.github.com/rest/classroom/classroom#list-assignments-for-a-classroom
904
+ * @see https://docs.github.com/rest/classroom/classroom#closing-down---list-assignments-for-a-classroom
845
905
  */
846
906
  "GET /classrooms/{classroom_id}/assignments": ReadonlyOperation<"/classrooms/{classroom_id}/assignments", "get">;
847
907
  /**
@@ -856,6 +916,18 @@ export interface Endpoints {
856
916
  * @see https://docs.github.com/rest/emojis/emojis#get-emojis
857
917
  */
858
918
  "GET /emojis": ReadonlyOperation<"/emojis", "get">;
919
+ /**
920
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-enterprise
921
+ */
922
+ "GET /enterprises/{enterprise}/actions/cache/retention-limit": ReadonlyOperation<"/enterprises/{enterprise}/actions/cache/retention-limit", "get">;
923
+ /**
924
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise
925
+ */
926
+ "GET /enterprises/{enterprise}/actions/cache/storage-limit": ReadonlyOperation<"/enterprises/{enterprise}/actions/cache/storage-limit", "get">;
927
+ /**
928
+ * @see https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise
929
+ */
930
+ "GET /enterprises/{enterprise}/actions/oidc/customization/properties/repo": ReadonlyOperation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo", "get">;
859
931
  /**
860
932
  * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
861
933
  */
@@ -872,10 +944,38 @@ export interface Endpoints {
872
944
  * @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration
873
945
  */
874
946
  "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories": ReadonlyOperation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories", "get">;
947
+ /**
948
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day
949
+ */
950
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day", "get">;
951
+ /**
952
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics
953
+ */
954
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest", "get">;
955
+ /**
956
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day
957
+ */
958
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day", "get">;
959
+ /**
960
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day
961
+ */
962
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day", "get">;
963
+ /**
964
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day
965
+ */
966
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/users-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/users-1-day", "get">;
967
+ /**
968
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics
969
+ */
970
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest", "get">;
875
971
  /**
876
972
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
877
973
  */
878
974
  "GET /enterprises/{enterprise}/dependabot/alerts": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/alerts", "get">;
975
+ /**
976
+ * @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise
977
+ */
978
+ "GET /enterprises/{enterprise}/dependabot/repository-access": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/repository-access", "get">;
879
979
  /**
880
980
  * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams
881
981
  */
@@ -1025,21 +1125,37 @@ export interface Endpoints {
1025
1125
  */
1026
1126
  "GET /organizations": ReadonlyOperation<"/organizations", "get">;
1027
1127
  /**
1028
- * @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization
1128
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization
1129
+ */
1130
+ "GET /organizations/{org}/actions/cache/retention-limit": ReadonlyOperation<"/organizations/{org}/actions/cache/retention-limit", "get">;
1131
+ /**
1132
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization
1133
+ */
1134
+ "GET /organizations/{org}/actions/cache/storage-limit": ReadonlyOperation<"/organizations/{org}/actions/cache/storage-limit", "get">;
1135
+ /**
1136
+ * @see https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization
1137
+ */
1138
+ "GET /organizations/{org}/settings/billing/ai_credit/usage": ReadonlyOperation<"/organizations/{org}/settings/billing/ai_credit/usage", "get">;
1139
+ /**
1140
+ * @see https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization
1029
1141
  */
1030
- "GET /organizations/{org}/dependabot/repository-access": ReadonlyOperation<"/organizations/{org}/dependabot/repository-access", "get">;
1142
+ "GET /organizations/{org}/settings/billing/budgets": ReadonlyOperation<"/organizations/{org}/settings/billing/budgets", "get">;
1031
1143
  /**
1032
- * @see https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization
1144
+ * @see https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization
1033
1145
  */
1034
- "GET /organizations/{org}/org-properties/values": ReadonlyOperation<"/organizations/{org}/org-properties/values", "get">;
1146
+ "GET /organizations/{org}/settings/billing/budgets/{budget_id}": ReadonlyOperation<"/organizations/{org}/settings/billing/budgets/{budget_id}", "get">;
1035
1147
  /**
1036
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization
1148
+ * @see https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization
1037
1149
  */
1038
1150
  "GET /organizations/{org}/settings/billing/premium_request/usage": ReadonlyOperation<"/organizations/{org}/settings/billing/premium_request/usage", "get">;
1039
1151
  /**
1040
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization
1152
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization
1041
1153
  */
1042
1154
  "GET /organizations/{org}/settings/billing/usage": ReadonlyOperation<"/organizations/{org}/settings/billing/usage", "get">;
1155
+ /**
1156
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization
1157
+ */
1158
+ "GET /organizations/{org}/settings/billing/usage/summary": ReadonlyOperation<"/organizations/{org}/settings/billing/usage/summary", "get">;
1043
1159
  /**
1044
1160
  * @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
1045
1161
  * @deprecated "org_id" is now "org"
@@ -1101,6 +1217,10 @@ export interface Endpoints {
1101
1217
  * @see https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization
1102
1218
  */
1103
1219
  "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": ReadonlyOperation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "get">;
1220
+ /**
1221
+ * @see https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization
1222
+ */
1223
+ "GET /orgs/{org}/actions/oidc/customization/properties/repo": ReadonlyOperation<"/orgs/{org}/actions/oidc/customization/properties/repo", "get">;
1104
1224
  /**
1105
1225
  * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
1106
1226
  */
@@ -1205,6 +1325,42 @@ export interface Endpoints {
1205
1325
  * @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
1206
1326
  */
1207
1327
  "GET /orgs/{org}/actions/variables/{name}/repositories": ReadonlyOperation<"/orgs/{org}/actions/variables/{name}/repositories", "get">;
1328
+ /**
1329
+ * @see https://docs.github.com/rest/agents/secrets#list-organization-secrets
1330
+ */
1331
+ "GET /orgs/{org}/agents/secrets": ReadonlyOperation<"/orgs/{org}/agents/secrets", "get">;
1332
+ /**
1333
+ * @see https://docs.github.com/rest/agents/secrets#get-an-organization-public-key
1334
+ */
1335
+ "GET /orgs/{org}/agents/secrets/public-key": ReadonlyOperation<"/orgs/{org}/agents/secrets/public-key", "get">;
1336
+ /**
1337
+ * @see https://docs.github.com/rest/agents/secrets#get-an-organization-secret
1338
+ */
1339
+ "GET /orgs/{org}/agents/secrets/{secret_name}": ReadonlyOperation<"/orgs/{org}/agents/secrets/{secret_name}", "get">;
1340
+ /**
1341
+ * @see https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret
1342
+ */
1343
+ "GET /orgs/{org}/agents/secrets/{secret_name}/repositories": ReadonlyOperation<"/orgs/{org}/agents/secrets/{secret_name}/repositories", "get">;
1344
+ /**
1345
+ * @see https://docs.github.com/rest/agents/variables#list-organization-variables
1346
+ */
1347
+ "GET /orgs/{org}/agents/variables": ReadonlyOperation<"/orgs/{org}/agents/variables", "get">;
1348
+ /**
1349
+ * @see https://docs.github.com/rest/agents/variables#get-an-organization-variable
1350
+ */
1351
+ "GET /orgs/{org}/agents/variables/{name}": ReadonlyOperation<"/orgs/{org}/agents/variables/{name}", "get">;
1352
+ /**
1353
+ * @see https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable
1354
+ */
1355
+ "GET /orgs/{org}/agents/variables/{name}/repositories": ReadonlyOperation<"/orgs/{org}/agents/variables/{name}/repositories", "get">;
1356
+ /**
1357
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#get-cluster-deployment-records-job-status
1358
+ */
1359
+ "GET /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs/{job_id}": ReadonlyOperation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs/{job_id}", "get">;
1360
+ /**
1361
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records
1362
+ */
1363
+ "GET /orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records": ReadonlyOperation<"/orgs/{org}/artifacts/{subject_digest}/metadata/deployment-records", "get">;
1208
1364
  /**
1209
1365
  * @see https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records
1210
1366
  */
@@ -1273,6 +1429,26 @@ export interface Endpoints {
1273
1429
  * @see https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret
1274
1430
  */
1275
1431
  "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories": ReadonlyOperation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories", "get">;
1432
+ /**
1433
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces
1434
+ */
1435
+ "GET /orgs/{org}/copilot-spaces": ReadonlyOperation<"/orgs/{org}/copilot-spaces", "get">;
1436
+ /**
1437
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space
1438
+ */
1439
+ "GET /orgs/{org}/copilot-spaces/{space_number}": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}", "get">;
1440
+ /**
1441
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space
1442
+ */
1443
+ "GET /orgs/{org}/copilot-spaces/{space_number}/collaborators": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators", "get">;
1444
+ /**
1445
+ * @see https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space
1446
+ */
1447
+ "GET /orgs/{org}/copilot-spaces/{space_number}/resources": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/resources", "get">;
1448
+ /**
1449
+ * @see https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space
1450
+ */
1451
+ "GET /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "get">;
1276
1452
  /**
1277
1453
  * @see https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization
1278
1454
  */
@@ -1282,13 +1458,49 @@ export interface Endpoints {
1282
1458
  */
1283
1459
  "GET /orgs/{org}/copilot/billing/seats": ReadonlyOperation<"/orgs/{org}/copilot/billing/seats", "get">;
1284
1460
  /**
1285
- * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization
1461
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization
1462
+ */
1463
+ "GET /orgs/{org}/copilot/coding-agent/permissions": ReadonlyOperation<"/orgs/{org}/copilot/coding-agent/permissions", "get">;
1464
+ /**
1465
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization
1466
+ */
1467
+ "GET /orgs/{org}/copilot/coding-agent/permissions/repositories": ReadonlyOperation<"/orgs/{org}/copilot/coding-agent/permissions/repositories", "get">;
1468
+ /**
1469
+ * @see https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization
1470
+ */
1471
+ "GET /orgs/{org}/copilot/content_exclusion": ReadonlyOperation<"/orgs/{org}/copilot/content_exclusion", "get">;
1472
+ /**
1473
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day
1474
+ */
1475
+ "GET /orgs/{org}/copilot/metrics/reports/organization-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/organization-1-day", "get">;
1476
+ /**
1477
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics
1478
+ */
1479
+ "GET /orgs/{org}/copilot/metrics/reports/organization-28-day/latest": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/organization-28-day/latest", "get">;
1480
+ /**
1481
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day
1482
+ */
1483
+ "GET /orgs/{org}/copilot/metrics/reports/repos-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/repos-1-day", "get">;
1484
+ /**
1485
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day
1286
1486
  */
1287
- "GET /orgs/{org}/copilot/metrics": ReadonlyOperation<"/orgs/{org}/copilot/metrics", "get">;
1487
+ "GET /orgs/{org}/copilot/metrics/reports/user-teams-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/user-teams-1-day", "get">;
1488
+ /**
1489
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day
1490
+ */
1491
+ "GET /orgs/{org}/copilot/metrics/reports/users-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/users-1-day", "get">;
1492
+ /**
1493
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics
1494
+ */
1495
+ "GET /orgs/{org}/copilot/metrics/reports/users-28-day/latest": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/users-28-day/latest", "get">;
1288
1496
  /**
1289
1497
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
1290
1498
  */
1291
1499
  "GET /orgs/{org}/dependabot/alerts": ReadonlyOperation<"/orgs/{org}/dependabot/alerts", "get">;
1500
+ /**
1501
+ * @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization
1502
+ */
1503
+ "GET /orgs/{org}/dependabot/repository-access": ReadonlyOperation<"/orgs/{org}/dependabot/repository-access", "get">;
1292
1504
  /**
1293
1505
  * @see https://docs.github.com/rest/dependabot/secrets#list-organization-secrets
1294
1506
  */
@@ -1385,6 +1597,10 @@ export interface Endpoints {
1385
1597
  * @see https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization
1386
1598
  */
1387
1599
  "GET /orgs/{org}/interaction-limits": ReadonlyOperation<"/orgs/{org}/interaction-limits", "get">;
1600
+ /**
1601
+ * @see https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org
1602
+ */
1603
+ "GET /orgs/{org}/interaction-limits/pulls/creation-cap": ReadonlyOperation<"/orgs/{org}/interaction-limits/pulls/creation-cap", "get">;
1388
1604
  /**
1389
1605
  * @see https://docs.github.com/rest/orgs/members#list-pending-organization-invitations
1390
1606
  */
@@ -1393,6 +1609,10 @@ export interface Endpoints {
1393
1609
  * @see https://docs.github.com/rest/orgs/members#list-organization-invitation-teams
1394
1610
  */
1395
1611
  "GET /orgs/{org}/invitations/{invitation_id}/teams": ReadonlyOperation<"/orgs/{org}/invitations/{invitation_id}/teams", "get">;
1612
+ /**
1613
+ * @see https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization
1614
+ */
1615
+ "GET /orgs/{org}/issue-fields": ReadonlyOperation<"/orgs/{org}/issue-fields", "get">;
1396
1616
  /**
1397
1617
  * @see https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization
1398
1618
  */
@@ -1505,10 +1725,6 @@ export interface Endpoints {
1505
1725
  * @see https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization
1506
1726
  */
1507
1727
  "GET /orgs/{org}/private-registries/{secret_name}": ReadonlyOperation<"/orgs/{org}/private-registries/{secret_name}", "get">;
1508
- /**
1509
- * @see https://docs.github.com/rest/projects-classic/projects#list-organization-projects
1510
- */
1511
- "GET /orgs/{org}/projects": ReadonlyOperation<"/orgs/{org}/projects", "get">;
1512
1728
  /**
1513
1729
  * @see https://docs.github.com/rest/projects/projects#list-projects-for-organization
1514
1730
  */
@@ -1533,6 +1749,10 @@ export interface Endpoints {
1533
1749
  * @see https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project
1534
1750
  */
1535
1751
  "GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}": ReadonlyOperation<"/orgs/{org}/projectsV2/{project_number}/items/{item_id}", "get">;
1752
+ /**
1753
+ * @see https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view
1754
+ */
1755
+ "GET /orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": ReadonlyOperation<"/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items", "get">;
1536
1756
  /**
1537
1757
  * @see https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization
1538
1758
  */
@@ -1585,6 +1805,10 @@ export interface Endpoints {
1585
1805
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
1586
1806
  */
1587
1807
  "GET /orgs/{org}/secret-scanning/alerts": ReadonlyOperation<"/orgs/{org}/secret-scanning/alerts", "get">;
1808
+ /**
1809
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#list-organization-custom-patterns
1810
+ */
1811
+ "GET /orgs/{org}/secret-scanning/custom-patterns": ReadonlyOperation<"/orgs/{org}/secret-scanning/custom-patterns", "get">;
1588
1812
  /**
1589
1813
  * @see https://docs.github.com/rest/secret-scanning/push-protection#list-organization-pattern-configurations
1590
1814
  */
@@ -1597,18 +1821,6 @@ export interface Endpoints {
1597
1821
  * @see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams
1598
1822
  */
1599
1823
  "GET /orgs/{org}/security-managers": ReadonlyOperation<"/orgs/{org}/security-managers", "get">;
1600
- /**
1601
- * @see https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization
1602
- */
1603
- "GET /orgs/{org}/settings/billing/actions": ReadonlyOperation<"/orgs/{org}/settings/billing/actions", "get">;
1604
- /**
1605
- * @see https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization
1606
- */
1607
- "GET /orgs/{org}/settings/billing/packages": ReadonlyOperation<"/orgs/{org}/settings/billing/packages", "get">;
1608
- /**
1609
- * @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization
1610
- */
1611
- "GET /orgs/{org}/settings/billing/shared-storage": ReadonlyOperation<"/orgs/{org}/settings/billing/shared-storage", "get">;
1612
1824
  /**
1613
1825
  * @see https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization
1614
1826
  */
@@ -1629,10 +1841,6 @@ export interface Endpoints {
1629
1841
  * @see https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization
1630
1842
  */
1631
1843
  "GET /orgs/{org}/settings/network-settings/{network_settings_id}": ReadonlyOperation<"/orgs/{org}/settings/network-settings/{network_settings_id}", "get">;
1632
- /**
1633
- * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
1634
- */
1635
- "GET /orgs/{org}/team/{team_slug}/copilot/metrics": ReadonlyOperation<"/orgs/{org}/team/{team_slug}/copilot/metrics", "get">;
1636
1844
  /**
1637
1845
  * @see https://docs.github.com/rest/teams/teams#list-teams
1638
1846
  */
@@ -1641,30 +1849,6 @@ export interface Endpoints {
1641
1849
  * @see https://docs.github.com/rest/teams/teams#get-a-team-by-name
1642
1850
  */
1643
1851
  "GET /orgs/{org}/teams/{team_slug}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}", "get">;
1644
- /**
1645
- * @see https://docs.github.com/rest/teams/discussions#list-discussions
1646
- */
1647
- "GET /orgs/{org}/teams/{team_slug}/discussions": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions", "get">;
1648
- /**
1649
- * @see https://docs.github.com/rest/teams/discussions#get-a-discussion
1650
- */
1651
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "get">;
1652
- /**
1653
- * @see https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments
1654
- */
1655
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "get">;
1656
- /**
1657
- * @see https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment
1658
- */
1659
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "get">;
1660
- /**
1661
- * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment
1662
- */
1663
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "get">;
1664
- /**
1665
- * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion
1666
- */
1667
- "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "get">;
1668
1852
  /**
1669
1853
  * @see https://docs.github.com/rest/teams/members#list-pending-team-invitations
1670
1854
  */
@@ -1677,14 +1861,6 @@ export interface Endpoints {
1677
1861
  * @see https://docs.github.com/rest/teams/members#get-team-membership-for-a-user
1678
1862
  */
1679
1863
  "GET /orgs/{org}/teams/{team_slug}/memberships/{username}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "get">;
1680
- /**
1681
- * @see https://docs.github.com/rest/teams/teams#list-team-projects
1682
- */
1683
- "GET /orgs/{org}/teams/{team_slug}/projects": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/projects", "get">;
1684
- /**
1685
- * @see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project
1686
- */
1687
- "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "get">;
1688
1864
  /**
1689
1865
  * @see https://docs.github.com/rest/teams/teams#list-team-repositories
1690
1866
  */
@@ -1697,22 +1873,6 @@ export interface Endpoints {
1697
1873
  * @see https://docs.github.com/rest/teams/teams#list-child-teams
1698
1874
  */
1699
1875
  "GET /orgs/{org}/teams/{team_slug}/teams": ReadonlyOperation<"/orgs/{org}/teams/{team_slug}/teams", "get">;
1700
- /**
1701
- * @see https://docs.github.com/rest/projects-classic/columns#get-a-project-column
1702
- */
1703
- "GET /projects/columns/{column_id}": ReadonlyOperation<"/projects/columns/{column_id}", "get">;
1704
- /**
1705
- * @see https://docs.github.com/rest/projects-classic/projects#get-a-project
1706
- */
1707
- "GET /projects/{project_id}": ReadonlyOperation<"/projects/{project_id}", "get">;
1708
- /**
1709
- * @see https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators
1710
- */
1711
- "GET /projects/{project_id}/collaborators": ReadonlyOperation<"/projects/{project_id}/collaborators", "get">;
1712
- /**
1713
- * @see https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user
1714
- */
1715
- "GET /projects/{project_id}/collaborators/{username}/permission": ReadonlyOperation<"/projects/{project_id}/collaborators/{username}/permission", "get">;
1716
1876
  /**
1717
1877
  * @see https://docs.github.com/rest/rate-limit/rate-limit#get-rate-limit-status-for-the-authenticated-user
1718
1878
  */
@@ -1733,6 +1893,14 @@ export interface Endpoints {
1733
1893
  * @see https://docs.github.com/rest/actions/artifacts#download-an-artifact
1734
1894
  */
1735
1895
  "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", "get">;
1896
+ /**
1897
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository
1898
+ */
1899
+ "GET /repos/{owner}/{repo}/actions/cache/retention-limit": ReadonlyOperation<"/repos/{owner}/{repo}/actions/cache/retention-limit", "get">;
1900
+ /**
1901
+ * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository
1902
+ */
1903
+ "GET /repos/{owner}/{repo}/actions/cache/storage-limit": ReadonlyOperation<"/repos/{owner}/{repo}/actions/cache/storage-limit", "get">;
1736
1904
  /**
1737
1905
  * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository
1738
1906
  */
@@ -1741,6 +1909,14 @@ export interface Endpoints {
1741
1909
  * @see https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository
1742
1910
  */
1743
1911
  "GET /repos/{owner}/{repo}/actions/caches": ReadonlyOperation<"/repos/{owner}/{repo}/actions/caches", "get">;
1912
+ /**
1913
+ * @see https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository
1914
+ */
1915
+ "GET /repos/{owner}/{repo}/actions/concurrency_groups": ReadonlyOperation<"/repos/{owner}/{repo}/actions/concurrency_groups", "get">;
1916
+ /**
1917
+ * @see https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository
1918
+ */
1919
+ "GET /repos/{owner}/{repo}/actions/concurrency_groups/{concurrency_group_name}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/concurrency_groups/{concurrency_group_name}", "get">;
1744
1920
  /**
1745
1921
  * @see https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run
1746
1922
  */
@@ -1833,6 +2009,10 @@ export interface Endpoints {
1833
2009
  * @see https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs
1834
2010
  */
1835
2011
  "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs", "get">;
2012
+ /**
2013
+ * @see https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run
2014
+ */
2015
+ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/concurrency_groups": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runs/{run_id}/concurrency_groups", "get">;
1836
2016
  /**
1837
2017
  * @see https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run
1838
2018
  */
@@ -1889,6 +2069,34 @@ export interface Endpoints {
1889
2069
  * @see https://docs.github.com/rest/repos/repos#list-repository-activities
1890
2070
  */
1891
2071
  "GET /repos/{owner}/{repo}/activity": ReadonlyOperation<"/repos/{owner}/{repo}/activity", "get">;
2072
+ /**
2073
+ * @see https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets
2074
+ */
2075
+ "GET /repos/{owner}/{repo}/agents/organization-secrets": ReadonlyOperation<"/repos/{owner}/{repo}/agents/organization-secrets", "get">;
2076
+ /**
2077
+ * @see https://docs.github.com/rest/agents/variables#list-repository-organization-variables
2078
+ */
2079
+ "GET /repos/{owner}/{repo}/agents/organization-variables": ReadonlyOperation<"/repos/{owner}/{repo}/agents/organization-variables", "get">;
2080
+ /**
2081
+ * @see https://docs.github.com/rest/agents/secrets#list-repository-secrets
2082
+ */
2083
+ "GET /repos/{owner}/{repo}/agents/secrets": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets", "get">;
2084
+ /**
2085
+ * @see https://docs.github.com/rest/agents/secrets#get-a-repository-public-key
2086
+ */
2087
+ "GET /repos/{owner}/{repo}/agents/secrets/public-key": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets/public-key", "get">;
2088
+ /**
2089
+ * @see https://docs.github.com/rest/agents/secrets#get-a-repository-secret
2090
+ */
2091
+ "GET /repos/{owner}/{repo}/agents/secrets/{secret_name}": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "get">;
2092
+ /**
2093
+ * @see https://docs.github.com/rest/agents/variables#list-repository-variables
2094
+ */
2095
+ "GET /repos/{owner}/{repo}/agents/variables": ReadonlyOperation<"/repos/{owner}/{repo}/agents/variables", "get">;
2096
+ /**
2097
+ * @see https://docs.github.com/rest/agents/variables#get-a-repository-variable
2098
+ */
2099
+ "GET /repos/{owner}/{repo}/agents/variables/{name}": ReadonlyOperation<"/repos/{owner}/{repo}/agents/variables/{name}", "get">;
1892
2100
  /**
1893
2101
  * @see https://docs.github.com/rest/issues/assignees#list-assignees
1894
2102
  */
@@ -1898,7 +2106,7 @@ export interface Endpoints {
1898
2106
  */
1899
2107
  "GET /repos/{owner}/{repo}/assignees/{assignee}": ReadonlyOperation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">;
1900
2108
  /**
1901
- * @see https://docs.github.com/rest/repos/repos#list-attestations
2109
+ * @see https://docs.github.com/rest/repos/attestations#list-attestations
1902
2110
  */
1903
2111
  "GET /repos/{owner}/{repo}/attestations/{subject_digest}": ReadonlyOperation<"/repos/{owner}/{repo}/attestations/{subject_digest}", "get">;
1904
2112
  /**
@@ -1977,6 +2185,18 @@ export interface Endpoints {
1977
2185
  * @see https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite
1978
2186
  */
1979
2187
  "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": ReadonlyOperation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "get">;
2188
+ /**
2189
+ * @see https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository
2190
+ */
2191
+ "GET /repos/{owner}/{repo}/code-quality/findings": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/findings", "get">;
2192
+ /**
2193
+ * @see https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding
2194
+ */
2195
+ "GET /repos/{owner}/{repo}/code-quality/findings/{finding_number}": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/findings/{finding_number}", "get">;
2196
+ /**
2197
+ * @see https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration
2198
+ */
2199
+ "GET /repos/{owner}/{repo}/code-quality/setup": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/setup", "get">;
1980
2200
  /**
1981
2201
  * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository
1982
2202
  */
@@ -2150,6 +2370,10 @@ export interface Endpoints {
2150
2370
  * @see https://docs.github.com/rest/repos/repos#list-repository-contributors
2151
2371
  */
2152
2372
  "GET /repos/{owner}/{repo}/contributors": ReadonlyOperation<"/repos/{owner}/{repo}/contributors", "get">;
2373
+ /**
2374
+ * @see https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository
2375
+ */
2376
+ "GET /repos/{owner}/{repo}/copilot/cloud-agent/configuration": ReadonlyOperation<"/repos/{owner}/{repo}/copilot/cloud-agent/configuration", "get">;
2153
2377
  /**
2154
2378
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
2155
2379
  */
@@ -2178,6 +2402,14 @@ export interface Endpoints {
2178
2402
  * @see https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository
2179
2403
  */
2180
2404
  "GET /repos/{owner}/{repo}/dependency-graph/sbom": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom", "get">;
2405
+ /**
2406
+ * @see https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository
2407
+ */
2408
+ "GET /repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}", "get">;
2409
+ /**
2410
+ * @see https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository
2411
+ */
2412
+ "GET /repos/{owner}/{repo}/dependency-graph/sbom/generate-report": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom/generate-report", "get">;
2181
2413
  /**
2182
2414
  * @see https://docs.github.com/rest/deployments/deployments#list-deployments
2183
2415
  */
@@ -2274,6 +2506,10 @@ export interface Endpoints {
2274
2506
  * @see https://docs.github.com/rest/git/trees#get-a-tree
2275
2507
  */
2276
2508
  "GET /repos/{owner}/{repo}/git/trees/{tree_sha}": ReadonlyOperation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">;
2509
+ /**
2510
+ * @see https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository
2511
+ */
2512
+ "GET /repos/{owner}/{repo}/hash-algorithm": ReadonlyOperation<"/repos/{owner}/{repo}/hash-algorithm", "get">;
2277
2513
  /**
2278
2514
  * @see https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
2279
2515
  */
@@ -2318,10 +2554,22 @@ export interface Endpoints {
2318
2554
  * @see https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository
2319
2555
  */
2320
2556
  "GET /repos/{owner}/{repo}/interaction-limits": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits", "get">;
2557
+ /**
2558
+ * @see https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository
2559
+ */
2560
+ "GET /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "get">;
2561
+ /**
2562
+ * @see https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository
2563
+ */
2564
+ "GET /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits/pulls/creation-cap", "get">;
2321
2565
  /**
2322
2566
  * @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
2323
2567
  */
2324
2568
  "GET /repos/{owner}/{repo}/invitations": ReadonlyOperation<"/repos/{owner}/{repo}/invitations", "get">;
2569
+ /**
2570
+ * @see https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository
2571
+ */
2572
+ "GET /repos/{owner}/{repo}/issue-types": ReadonlyOperation<"/repos/{owner}/{repo}/issue-types", "get">;
2325
2573
  /**
2326
2574
  * @see https://docs.github.com/rest/issues/issues#list-repository-issues
2327
2575
  */
@@ -2370,6 +2618,10 @@ export interface Endpoints {
2370
2618
  * @see https://docs.github.com/rest/issues/events#list-issue-events
2371
2619
  */
2372
2620
  "GET /repos/{owner}/{repo}/issues/{issue_number}/events": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/events", "get">;
2621
+ /**
2622
+ * @see https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue
2623
+ */
2624
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "get">;
2373
2625
  /**
2374
2626
  * @see https://docs.github.com/rest/issues/labels#list-labels-for-an-issue
2375
2627
  */
@@ -2386,6 +2638,10 @@ export interface Endpoints {
2386
2638
  * @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues
2387
2639
  */
2388
2640
  "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "get">;
2641
+ /**
2642
+ * @see https://docs.github.com/rest/issues/issues#list-issue-suggestions
2643
+ */
2644
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/suggestions": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions", "get">;
2389
2645
  /**
2390
2646
  * @see https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
2391
2647
  */
@@ -2458,10 +2714,6 @@ export interface Endpoints {
2458
2714
  * @see https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository
2459
2715
  */
2460
2716
  "GET /repos/{owner}/{repo}/private-vulnerability-reporting": ReadonlyOperation<"/repos/{owner}/{repo}/private-vulnerability-reporting", "get">;
2461
- /**
2462
- * @see https://docs.github.com/rest/projects-classic/projects#list-repository-projects
2463
- */
2464
- "GET /repos/{owner}/{repo}/projects": ReadonlyOperation<"/repos/{owner}/{repo}/projects", "get">;
2465
2717
  /**
2466
2718
  * @see https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository
2467
2719
  */
@@ -2502,6 +2754,10 @@ export interface Endpoints {
2502
2754
  * @see https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged
2503
2755
  */
2504
2756
  "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": ReadonlyOperation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "get">;
2757
+ /**
2758
+ * @see https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge
2759
+ */
2760
+ "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": ReadonlyOperation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}", "get">;
2505
2761
  /**
2506
2762
  * @see https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request
2507
2763
  */
@@ -2594,6 +2850,10 @@ export interface Endpoints {
2594
2850
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
2595
2851
  */
2596
2852
  "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": ReadonlyOperation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get">;
2853
+ /**
2854
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#list-repository-custom-patterns
2855
+ */
2856
+ "GET /repos/{owner}/{repo}/secret-scanning/custom-patterns": ReadonlyOperation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "get">;
2597
2857
  /**
2598
2858
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository
2599
2859
  */
@@ -2606,10 +2866,22 @@ export interface Endpoints {
2606
2866
  * @see https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory
2607
2867
  */
2608
2868
  "GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}": ReadonlyOperation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}", "get">;
2869
+ /**
2870
+ * @see https://docs.github.com/rest/pulls/stacks#list-pull-request-stacks
2871
+ */
2872
+ "GET /repos/{owner}/{repo}/stacks": ReadonlyOperation<"/repos/{owner}/{repo}/stacks", "get">;
2873
+ /**
2874
+ * @see https://docs.github.com/rest/pulls/stacks#get-a-pull-request-stack
2875
+ */
2876
+ "GET /repos/{owner}/{repo}/stacks/{stack_number}": ReadonlyOperation<"/repos/{owner}/{repo}/stacks/{stack_number}", "get">;
2609
2877
  /**
2610
2878
  * @see https://docs.github.com/rest/activity/starring#list-stargazers
2611
2879
  */
2612
2880
  "GET /repos/{owner}/{repo}/stargazers": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers", "get">;
2881
+ /**
2882
+ * @see https://docs.github.com/rest/activity/starring#get-stargazer-count
2883
+ */
2884
+ "GET /repos/{owner}/{repo}/stargazers/count": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers/count", "get">;
2613
2885
  /**
2614
2886
  * @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
2615
2887
  */
@@ -2642,10 +2914,6 @@ export interface Endpoints {
2642
2914
  * @see https://docs.github.com/rest/repos/repos#list-repository-tags
2643
2915
  */
2644
2916
  "GET /repos/{owner}/{repo}/tags": ReadonlyOperation<"/repos/{owner}/{repo}/tags", "get">;
2645
- /**
2646
- * @see https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository
2647
- */
2648
- "GET /repos/{owner}/{repo}/tags/protection": ReadonlyOperation<"/repos/{owner}/{repo}/tags/protection", "get">;
2649
2917
  /**
2650
2918
  * @see https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar
2651
2919
  */
@@ -2718,30 +2986,6 @@ export interface Endpoints {
2718
2986
  * @see https://docs.github.com/rest/teams/teams#get-a-team-legacy
2719
2987
  */
2720
2988
  "GET /teams/{team_id}": ReadonlyOperation<"/teams/{team_id}", "get">;
2721
- /**
2722
- * @see https://docs.github.com/rest/teams/discussions#list-discussions-legacy
2723
- */
2724
- "GET /teams/{team_id}/discussions": ReadonlyOperation<"/teams/{team_id}/discussions", "get">;
2725
- /**
2726
- * @see https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy
2727
- */
2728
- "GET /teams/{team_id}/discussions/{discussion_number}": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}", "get">;
2729
- /**
2730
- * @see https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy
2731
- */
2732
- "GET /teams/{team_id}/discussions/{discussion_number}/comments": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments", "get">;
2733
- /**
2734
- * @see https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy
2735
- */
2736
- "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "get">;
2737
- /**
2738
- * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy
2739
- */
2740
- "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "get">;
2741
- /**
2742
- * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy
2743
- */
2744
- "GET /teams/{team_id}/discussions/{discussion_number}/reactions": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "get">;
2745
2989
  /**
2746
2990
  * @see https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy
2747
2991
  */
@@ -2758,14 +3002,6 @@ export interface Endpoints {
2758
3002
  * @see https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy
2759
3003
  */
2760
3004
  "GET /teams/{team_id}/memberships/{username}": ReadonlyOperation<"/teams/{team_id}/memberships/{username}", "get">;
2761
- /**
2762
- * @see https://docs.github.com/rest/teams/teams#list-team-projects-legacy
2763
- */
2764
- "GET /teams/{team_id}/projects": ReadonlyOperation<"/teams/{team_id}/projects", "get">;
2765
- /**
2766
- * @see https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy
2767
- */
2768
- "GET /teams/{team_id}/projects/{project_id}": ReadonlyOperation<"/teams/{team_id}/projects/{project_id}", "get">;
2769
3005
  /**
2770
3006
  * @see https://docs.github.com/rest/teams/teams#list-team-repositories-legacy
2771
3007
  */
@@ -2982,6 +3218,26 @@ export interface Endpoints {
2982
3218
  * @see https://docs.github.com/rest/users/attestations#list-attestations
2983
3219
  */
2984
3220
  "GET /users/{username}/attestations/{subject_digest}": ReadonlyOperation<"/users/{username}/attestations/{subject_digest}", "get">;
3221
+ /**
3222
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user
3223
+ */
3224
+ "GET /users/{username}/copilot-spaces": ReadonlyOperation<"/users/{username}/copilot-spaces", "get">;
3225
+ /**
3226
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user
3227
+ */
3228
+ "GET /users/{username}/copilot-spaces/{space_number}": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}", "get">;
3229
+ /**
3230
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user
3231
+ */
3232
+ "GET /users/{username}/copilot-spaces/{space_number}/collaborators": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/collaborators", "get">;
3233
+ /**
3234
+ * @see https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user
3235
+ */
3236
+ "GET /users/{username}/copilot-spaces/{space_number}/resources": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/resources", "get">;
3237
+ /**
3238
+ * @see https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user
3239
+ */
3240
+ "GET /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "get">;
2985
3241
  /**
2986
3242
  * @see https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user
2987
3243
  */
@@ -3050,10 +3306,6 @@ export interface Endpoints {
3050
3306
  * @see https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user
3051
3307
  */
3052
3308
  "GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": ReadonlyOperation<"/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", "get">;
3053
- /**
3054
- * @see https://docs.github.com/rest/projects-classic/projects#list-user-projects
3055
- */
3056
- "GET /users/{username}/projects": ReadonlyOperation<"/users/{username}/projects", "get">;
3057
3309
  /**
3058
3310
  * @see https://docs.github.com/rest/projects/projects#list-projects-for-user
3059
3311
  */
@@ -3078,6 +3330,10 @@ export interface Endpoints {
3078
3330
  * @see https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project
3079
3331
  */
3080
3332
  "GET /users/{username}/projectsV2/{project_number}/items/{item_id}": ReadonlyOperation<"/users/{username}/projectsV2/{project_number}/items/{item_id}", "get">;
3333
+ /**
3334
+ * @see https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view
3335
+ */
3336
+ "GET /users/{username}/projectsV2/{project_number}/views/{view_number}/items": ReadonlyOperation<"/users/{username}/projectsV2/{project_number}/views/{view_number}/items", "get">;
3081
3337
  /**
3082
3338
  * @see https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user
3083
3339
  */
@@ -3091,25 +3347,21 @@ export interface Endpoints {
3091
3347
  */
3092
3348
  "GET /users/{username}/repos": ReadonlyOperation<"/users/{username}/repos", "get">;
3093
3349
  /**
3094
- * @see https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user
3350
+ * @see https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user
3095
3351
  */
3096
- "GET /users/{username}/settings/billing/actions": ReadonlyOperation<"/users/{username}/settings/billing/actions", "get">;
3352
+ "GET /users/{username}/settings/billing/ai_credit/usage": ReadonlyOperation<"/users/{username}/settings/billing/ai_credit/usage", "get">;
3097
3353
  /**
3098
- * @see https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user
3099
- */
3100
- "GET /users/{username}/settings/billing/packages": ReadonlyOperation<"/users/{username}/settings/billing/packages", "get">;
3101
- /**
3102
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user
3354
+ * @see https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user
3103
3355
  */
3104
3356
  "GET /users/{username}/settings/billing/premium_request/usage": ReadonlyOperation<"/users/{username}/settings/billing/premium_request/usage", "get">;
3105
3357
  /**
3106
- * @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user
3358
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user
3107
3359
  */
3108
- "GET /users/{username}/settings/billing/shared-storage": ReadonlyOperation<"/users/{username}/settings/billing/shared-storage", "get">;
3360
+ "GET /users/{username}/settings/billing/usage": ReadonlyOperation<"/users/{username}/settings/billing/usage", "get">;
3109
3361
  /**
3110
- * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user
3362
+ * @see https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user
3111
3363
  */
3112
- "GET /users/{username}/settings/billing/usage": ReadonlyOperation<"/users/{username}/settings/billing/usage", "get">;
3364
+ "GET /users/{username}/settings/billing/usage/summary": ReadonlyOperation<"/users/{username}/settings/billing/usage/summary", "get">;
3113
3365
  /**
3114
3366
  * @see https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user
3115
3367
  */
@@ -3146,6 +3398,10 @@ export interface Endpoints {
3146
3398
  * @see https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise
3147
3399
  */
3148
3400
  "PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "patch">;
3401
+ /**
3402
+ * @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise
3403
+ */
3404
+ "PATCH /enterprises/{enterprise}/dependabot/repository-access": Operation<"/enterprises/{enterprise}/dependabot/repository-access", "patch">;
3149
3405
  /**
3150
3406
  * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team
3151
3407
  */
@@ -3163,13 +3419,9 @@ export interface Endpoints {
3163
3419
  */
3164
3420
  "PATCH /notifications/threads/{thread_id}": Operation<"/notifications/threads/{thread_id}", "patch">;
3165
3421
  /**
3166
- * @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization
3422
+ * @see https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization
3167
3423
  */
3168
- "PATCH /organizations/{org}/dependabot/repository-access": Operation<"/organizations/{org}/dependabot/repository-access", "patch">;
3169
- /**
3170
- * @see https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization
3171
- */
3172
- "PATCH /organizations/{org}/org-properties/values": Operation<"/organizations/{org}/org-properties/values", "patch">;
3424
+ "PATCH /organizations/{org}/settings/billing/budgets/{budget_id}": Operation<"/organizations/{org}/settings/billing/budgets/{budget_id}", "patch">;
3173
3425
  /**
3174
3426
  * @see https://docs.github.com/rest/orgs/orgs#update-an-organization
3175
3427
  */
@@ -3186,6 +3438,10 @@ export interface Endpoints {
3186
3438
  * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
3187
3439
  */
3188
3440
  "PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">;
3441
+ /**
3442
+ * @see https://docs.github.com/rest/agents/variables#update-an-organization-variable
3443
+ */
3444
+ "PATCH /orgs/{org}/agents/variables/{name}": Operation<"/orgs/{org}/agents/variables/{name}", "patch">;
3189
3445
  /**
3190
3446
  * @see https://docs.github.com/rest/campaigns/campaigns#update-a-campaign
3191
3447
  */
@@ -3194,6 +3450,10 @@ export interface Endpoints {
3194
3450
  * @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
3195
3451
  */
3196
3452
  "PATCH /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "patch">;
3453
+ /**
3454
+ * @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization
3455
+ */
3456
+ "PATCH /orgs/{org}/dependabot/repository-access": Operation<"/orgs/{org}/dependabot/repository-access", "patch">;
3197
3457
  /**
3198
3458
  * @see https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook
3199
3459
  */
@@ -3202,6 +3462,14 @@ export interface Endpoints {
3202
3462
  * @see https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization
3203
3463
  */
3204
3464
  "PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
3465
+ /**
3466
+ * @see https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org
3467
+ */
3468
+ "PATCH /orgs/{org}/interaction-limits/pulls/creation-cap": Operation<"/orgs/{org}/interaction-limits/pulls/creation-cap", "patch">;
3469
+ /**
3470
+ * @see https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization
3471
+ */
3472
+ "PATCH /orgs/{org}/issue-fields/{issue_field_id}": Operation<"/orgs/{org}/issue-fields/{issue_field_id}", "patch">;
3205
3473
  /**
3206
3474
  * @see https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization
3207
3475
  */
@@ -3218,6 +3486,10 @@ export interface Endpoints {
3218
3486
  * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories
3219
3487
  */
3220
3488
  "PATCH /orgs/{org}/properties/values": Operation<"/orgs/{org}/properties/values", "patch">;
3489
+ /**
3490
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#update-an-organization-custom-pattern
3491
+ */
3492
+ "PATCH /orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": Operation<"/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}", "patch">;
3221
3493
  /**
3222
3494
  * @see https://docs.github.com/rest/secret-scanning/push-protection#update-organization-pattern-configurations
3223
3495
  */
@@ -3230,22 +3502,6 @@ export interface Endpoints {
3230
3502
  * @see https://docs.github.com/rest/teams/teams#update-a-team
3231
3503
  */
3232
3504
  "PATCH /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "patch">;
3233
- /**
3234
- * @see https://docs.github.com/rest/teams/discussions#update-a-discussion
3235
- */
3236
- "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "patch">;
3237
- /**
3238
- * @see https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment
3239
- */
3240
- "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
3241
- /**
3242
- * @see https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column
3243
- */
3244
- "PATCH /projects/columns/{column_id}": Operation<"/projects/columns/{column_id}", "patch">;
3245
- /**
3246
- * @see https://docs.github.com/rest/projects-classic/projects#update-a-project
3247
- */
3248
- "PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch">;
3249
3505
  /**
3250
3506
  * @see https://docs.github.com/rest/repos/repos#update-a-repository
3251
3507
  */
@@ -3254,6 +3510,10 @@ export interface Endpoints {
3254
3510
  * @see https://docs.github.com/rest/actions/variables#update-a-repository-variable
3255
3511
  */
3256
3512
  "PATCH /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "patch">;
3513
+ /**
3514
+ * @see https://docs.github.com/rest/agents/variables#update-a-repository-variable
3515
+ */
3516
+ "PATCH /repos/{owner}/{repo}/agents/variables/{name}": Operation<"/repos/{owner}/{repo}/agents/variables/{name}", "patch">;
3257
3517
  /**
3258
3518
  * @see https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection
3259
3519
  */
@@ -3270,6 +3530,10 @@ export interface Endpoints {
3270
3530
  * @see https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites
3271
3531
  */
3272
3532
  "PATCH /repos/{owner}/{repo}/check-suites/preferences": Operation<"/repos/{owner}/{repo}/check-suites/preferences", "patch">;
3533
+ /**
3534
+ * @see https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration
3535
+ */
3536
+ "PATCH /repos/{owner}/{repo}/code-quality/setup": Operation<"/repos/{owner}/{repo}/code-quality/setup", "patch">;
3273
3537
  /**
3274
3538
  * @see https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert
3275
3539
  */
@@ -3314,6 +3578,10 @@ export interface Endpoints {
3314
3578
  * @see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference
3315
3579
  */
3316
3580
  "PATCH /repos/{owner}/{repo}/import/lfs": Operation<"/repos/{owner}/{repo}/import/lfs", "patch">;
3581
+ /**
3582
+ * @see https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository
3583
+ */
3584
+ "PATCH /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/creation-cap", "patch">;
3317
3585
  /**
3318
3586
  * @see https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
3319
3587
  */
@@ -3362,6 +3630,10 @@ export interface Endpoints {
3362
3630
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert
3363
3631
  */
3364
3632
  "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch">;
3633
+ /**
3634
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#update-a-repository-custom-pattern
3635
+ */
3636
+ "PATCH /repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}", "patch">;
3365
3637
  /**
3366
3638
  * @see https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
3367
3639
  */
@@ -3370,14 +3642,6 @@ export interface Endpoints {
3370
3642
  * @see https://docs.github.com/rest/teams/teams#update-a-team-legacy
3371
3643
  */
3372
3644
  "PATCH /teams/{team_id}": Operation<"/teams/{team_id}", "patch">;
3373
- /**
3374
- * @see https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy
3375
- */
3376
- "PATCH /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "patch">;
3377
- /**
3378
- * @see https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy
3379
- */
3380
- "PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
3381
3645
  /**
3382
3646
  * @see https://docs.github.com/rest/users/users#update-the-authenticated-user
3383
3647
  */
@@ -3402,6 +3666,10 @@ export interface Endpoints {
3402
3666
  * @see https://docs.github.com/rest/projects/items#update-project-item-for-user
3403
3667
  */
3404
3668
  "PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}": Operation<"/users/{username}/projectsV2/{project_number}/items/{item_id}", "patch">;
3669
+ /**
3670
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#start-a-task
3671
+ */
3672
+ "POST /agents/repos/{owner}/{repo}/tasks": Operation<"/agents/repos/{owner}/{repo}/tasks", "post">;
3405
3673
  /**
3406
3674
  * @see https://docs.github.com/rest/apps/apps#create-a-github-app-from-a-manifest
3407
3675
  */
@@ -3426,6 +3694,10 @@ export interface Endpoints {
3426
3694
  * @see https://docs.github.com/rest/credentials/revoke#revoke-a-list-of-credentials
3427
3695
  */
3428
3696
  "POST /credentials/revoke": Operation<"/credentials/revoke", "post">;
3697
+ /**
3698
+ * @see https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise
3699
+ */
3700
+ "POST /enterprises/{enterprise}/actions/oidc/customization/properties/repo": Operation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo", "post">;
3429
3701
  /**
3430
3702
  * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise
3431
3703
  */
@@ -3434,6 +3706,10 @@ export interface Endpoints {
3434
3706
  * @see https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories
3435
3707
  */
3436
3708
  "POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach", "post">;
3709
+ /**
3710
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy
3711
+ */
3712
+ "POST /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "post">;
3437
3713
  /**
3438
3714
  * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team
3439
3715
  */
@@ -3474,10 +3750,18 @@ export interface Endpoints {
3474
3750
  * @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
3475
3751
  */
3476
3752
  "POST /markdown/raw": Operation<"/markdown/raw", "post">;
3753
+ /**
3754
+ * @see https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization
3755
+ */
3756
+ "POST /organizations/{org}/settings/billing/budgets": Operation<"/organizations/{org}/settings/billing/budgets", "post">;
3477
3757
  /**
3478
3758
  * @see https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization
3479
3759
  */
3480
3760
  "POST /orgs/{org}/actions/hosted-runners": Operation<"/orgs/{org}/actions/hosted-runners", "post">;
3761
+ /**
3762
+ * @see https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization
3763
+ */
3764
+ "POST /orgs/{org}/actions/oidc/customization/properties/repo": Operation<"/orgs/{org}/actions/oidc/customization/properties/repo", "post">;
3481
3765
  /**
3482
3766
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
3483
3767
  */
@@ -3502,6 +3786,22 @@ export interface Endpoints {
3502
3786
  * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
3503
3787
  */
3504
3788
  "POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
3789
+ /**
3790
+ * @see https://docs.github.com/rest/agents/variables#create-an-organization-variable
3791
+ */
3792
+ "POST /orgs/{org}/agents/variables": Operation<"/orgs/{org}/agents/variables", "post">;
3793
+ /**
3794
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record
3795
+ */
3796
+ "POST /orgs/{org}/artifacts/metadata/deployment-record": Operation<"/orgs/{org}/artifacts/metadata/deployment-record", "post">;
3797
+ /**
3798
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records
3799
+ */
3800
+ "POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": Operation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}", "post">;
3801
+ /**
3802
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#create-a-cluster-deployment-records-job
3803
+ */
3804
+ "POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs": Operation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs", "post">;
3505
3805
  /**
3506
3806
  * @see https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record
3507
3807
  */
@@ -3530,6 +3830,18 @@ export interface Endpoints {
3530
3830
  * @see https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization
3531
3831
  */
3532
3832
  "POST /orgs/{org}/codespaces/access/selected_users": Operation<"/orgs/{org}/codespaces/access/selected_users", "post">;
3833
+ /**
3834
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space
3835
+ */
3836
+ "POST /orgs/{org}/copilot-spaces": Operation<"/orgs/{org}/copilot-spaces", "post">;
3837
+ /**
3838
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space
3839
+ */
3840
+ "POST /orgs/{org}/copilot-spaces/{space_number}/collaborators": Operation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators", "post">;
3841
+ /**
3842
+ * @see https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space
3843
+ */
3844
+ "POST /orgs/{org}/copilot-spaces/{space_number}/resources": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources", "post">;
3533
3845
  /**
3534
3846
  * @see https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization
3535
3847
  */
@@ -3554,6 +3866,10 @@ export interface Endpoints {
3554
3866
  * @see https://docs.github.com/rest/orgs/members#create-an-organization-invitation
3555
3867
  */
3556
3868
  "POST /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "post">;
3869
+ /**
3870
+ * @see https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization
3871
+ */
3872
+ "POST /orgs/{org}/issue-fields": Operation<"/orgs/{org}/issue-fields", "post">;
3557
3873
  /**
3558
3874
  * @see https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization
3559
3875
  */
@@ -3595,13 +3911,21 @@ export interface Endpoints {
3595
3911
  */
3596
3912
  "POST /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "post">;
3597
3913
  /**
3598
- * @see https://docs.github.com/rest/projects-classic/projects#create-an-organization-project
3914
+ * @see https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project
3599
3915
  */
3600
- "POST /orgs/{org}/projects": Operation<"/orgs/{org}/projects", "post">;
3916
+ "POST /orgs/{org}/projectsV2/{project_number}/drafts": Operation<"/orgs/{org}/projectsV2/{project_number}/drafts", "post">;
3917
+ /**
3918
+ * @see https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project
3919
+ */
3920
+ "POST /orgs/{org}/projectsV2/{project_number}/fields": Operation<"/orgs/{org}/projectsV2/{project_number}/fields", "post">;
3601
3921
  /**
3602
3922
  * @see https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project
3603
3923
  */
3604
3924
  "POST /orgs/{org}/projectsV2/{project_number}/items": Operation<"/orgs/{org}/projectsV2/{project_number}/items", "post">;
3925
+ /**
3926
+ * @see https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project
3927
+ */
3928
+ "POST /orgs/{org}/projectsV2/{project_number}/views": Operation<"/orgs/{org}/projectsV2/{project_number}/views", "post">;
3605
3929
  /**
3606
3930
  * @see https://docs.github.com/rest/repos/repos#create-an-organization-repository
3607
3931
  */
@@ -3610,6 +3934,10 @@ export interface Endpoints {
3610
3934
  * @see https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset
3611
3935
  */
3612
3936
  "POST /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "post">;
3937
+ /**
3938
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-create-organization-custom-patterns
3939
+ */
3940
+ "POST /orgs/{org}/secret-scanning/custom-patterns": Operation<"/orgs/{org}/secret-scanning/custom-patterns", "post">;
3613
3941
  /**
3614
3942
  * @see https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization
3615
3943
  */
@@ -3618,30 +3946,10 @@ export interface Endpoints {
3618
3946
  * @see https://docs.github.com/rest/teams/teams#create-a-team
3619
3947
  */
3620
3948
  "POST /orgs/{org}/teams": Operation<"/orgs/{org}/teams", "post">;
3621
- /**
3622
- * @see https://docs.github.com/rest/teams/discussions#create-a-discussion
3623
- */
3624
- "POST /orgs/{org}/teams/{team_slug}/discussions": Operation<"/orgs/{org}/teams/{team_slug}/discussions", "post">;
3625
- /**
3626
- * @see https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment
3627
- */
3628
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "post">;
3629
- /**
3630
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment
3631
- */
3632
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "post">;
3633
- /**
3634
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion
3635
- */
3636
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "post">;
3637
3949
  /**
3638
3950
  * @see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization
3639
3951
  */
3640
3952
  "POST /orgs/{org}/{security_product}/{enablement}": Operation<"/orgs/{org}/{security_product}/{enablement}", "post">;
3641
- /**
3642
- * @see https://docs.github.com/rest/projects-classic/columns#move-a-project-column
3643
- */
3644
- "POST /projects/columns/{column_id}/moves": Operation<"/projects/columns/{column_id}/moves", "post">;
3645
3953
  /**
3646
3954
  * @see https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
3647
3955
  */
@@ -3699,7 +4007,11 @@ export interface Endpoints {
3699
4007
  */
3700
4008
  "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">;
3701
4009
  /**
3702
- * @see https://docs.github.com/rest/repos/repos#create-an-attestation
4010
+ * @see https://docs.github.com/rest/agents/variables#create-a-repository-variable
4011
+ */
4012
+ "POST /repos/{owner}/{repo}/agents/variables": Operation<"/repos/{owner}/{repo}/agents/variables", "post">;
4013
+ /**
4014
+ * @see https://docs.github.com/rest/repos/attestations#create-an-attestation
3703
4015
  */
3704
4016
  "POST /repos/{owner}/{repo}/attestations": Operation<"/repos/{owner}/{repo}/attestations", "post">;
3705
4017
  /**
@@ -3866,6 +4178,10 @@ export interface Endpoints {
3866
4178
  * @see https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by
3867
4179
  */
3868
4180
  "POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by", "post">;
4181
+ /**
4182
+ * @see https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue
4183
+ */
4184
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "post">;
3869
4185
  /**
3870
4186
  * @see https://docs.github.com/rest/issues/labels#add-labels-to-an-issue
3871
4187
  */
@@ -3878,6 +4194,14 @@ export interface Endpoints {
3878
4194
  * @see https://docs.github.com/rest/issues/sub-issues#add-sub-issue
3879
4195
  */
3880
4196
  "POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "post">;
4197
+ /**
4198
+ * @see https://docs.github.com/rest/issues/issues#approve-an-issue-suggestion
4199
+ */
4200
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/approve": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/approve", "post">;
4201
+ /**
4202
+ * @see https://docs.github.com/rest/issues/issues#dismiss-an-issue-suggestion
4203
+ */
4204
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/dismiss": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/dismiss", "post">;
3881
4205
  /**
3882
4206
  * @see https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
3883
4207
  */
@@ -3914,10 +4238,6 @@ export interface Endpoints {
3914
4238
  * @see https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment
3915
4239
  */
3916
4240
  "POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel": Operation<"/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel", "post">;
3917
- /**
3918
- * @see https://docs.github.com/rest/projects-classic/projects#create-a-repository-project
3919
- */
3920
- "POST /repos/{owner}/{repo}/projects": Operation<"/repos/{owner}/{repo}/projects", "post">;
3921
4241
  /**
3922
4242
  * @see https://docs.github.com/rest/pulls/pulls#create-a-pull-request
3923
4243
  */
@@ -3966,6 +4286,10 @@ export interface Endpoints {
3966
4286
  * @see https://docs.github.com/rest/repos/rules#create-a-repository-ruleset
3967
4287
  */
3968
4288
  "POST /repos/{owner}/{repo}/rulesets": Operation<"/repos/{owner}/{repo}/rulesets", "post">;
4289
+ /**
4290
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-create-repository-custom-patterns
4291
+ */
4292
+ "POST /repos/{owner}/{repo}/secret-scanning/custom-patterns": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "post">;
3969
4293
  /**
3970
4294
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass
3971
4295
  */
@@ -3987,37 +4311,29 @@ export interface Endpoints {
3987
4311
  */
3988
4312
  "POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks", "post">;
3989
4313
  /**
3990
- * @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
4314
+ * @see https://docs.github.com/rest/pulls/stacks#create-a-pull-request-stack
3991
4315
  */
3992
- "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
4316
+ "POST /repos/{owner}/{repo}/stacks": Operation<"/repos/{owner}/{repo}/stacks", "post">;
3993
4317
  /**
3994
- * @see https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository
4318
+ * @see https://docs.github.com/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack
3995
4319
  */
3996
- "POST /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "post">;
4320
+ "POST /repos/{owner}/{repo}/stacks/{stack_number}/add": Operation<"/repos/{owner}/{repo}/stacks/{stack_number}/add", "post">;
3997
4321
  /**
3998
- * @see https://docs.github.com/rest/repos/repos#transfer-a-repository
3999
- */
4000
- "POST /repos/{owner}/{repo}/transfer": Operation<"/repos/{owner}/{repo}/transfer", "post">;
4001
- /**
4002
- * @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
4003
- */
4004
- "POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
4005
- /**
4006
- * @see https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy
4322
+ * @see https://docs.github.com/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack
4007
4323
  */
4008
- "POST /teams/{team_id}/discussions": Operation<"/teams/{team_id}/discussions", "post">;
4324
+ "POST /repos/{owner}/{repo}/stacks/{stack_number}/unstack": Operation<"/repos/{owner}/{repo}/stacks/{stack_number}/unstack", "post">;
4009
4325
  /**
4010
- * @see https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy
4326
+ * @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
4011
4327
  */
4012
- "POST /teams/{team_id}/discussions/{discussion_number}/comments": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments", "post">;
4328
+ "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
4013
4329
  /**
4014
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy
4330
+ * @see https://docs.github.com/rest/repos/repos#transfer-a-repository
4015
4331
  */
4016
- "POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "post">;
4332
+ "POST /repos/{owner}/{repo}/transfer": Operation<"/repos/{owner}/{repo}/transfer", "post">;
4017
4333
  /**
4018
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy
4334
+ * @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
4019
4335
  */
4020
- "POST /teams/{team_id}/discussions/{discussion_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "post">;
4336
+ "POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
4021
4337
  /**
4022
4338
  * @see https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-for-the-authenticated-user
4023
4339
  */
@@ -4062,10 +4378,6 @@ export interface Endpoints {
4062
4378
  * @see https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user
4063
4379
  */
4064
4380
  "POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": Operation<"/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", "post">;
4065
- /**
4066
- * @see https://docs.github.com/rest/projects-classic/projects#create-a-user-project
4067
- */
4068
- "POST /user/projects": Operation<"/user/projects", "post">;
4069
4381
  /**
4070
4382
  * @see https://docs.github.com/rest/repos/repos#create-a-repository-for-the-authenticated-user
4071
4383
  */
@@ -4078,6 +4390,14 @@ export interface Endpoints {
4078
4390
  * @see https://docs.github.com/rest/users/ssh-signing-keys#create-a-ssh-signing-key-for-the-authenticated-user
4079
4391
  */
4080
4392
  "POST /user/ssh_signing_keys": Operation<"/user/ssh_signing_keys", "post">;
4393
+ /**
4394
+ * @see https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project
4395
+ */
4396
+ "POST /user/{user_id}/projectsV2/{project_number}/drafts": Operation<"/user/{user_id}/projectsV2/{project_number}/drafts", "post">;
4397
+ /**
4398
+ * @see https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project
4399
+ */
4400
+ "POST /users/{user_id}/projectsV2/{project_number}/views": Operation<"/users/{user_id}/projectsV2/{project_number}/views", "post">;
4081
4401
  /**
4082
4402
  * @see https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests
4083
4403
  */
@@ -4086,6 +4406,18 @@ export interface Endpoints {
4086
4406
  * @see https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk
4087
4407
  */
4088
4408
  "POST /users/{username}/attestations/delete-request": Operation<"/users/{username}/attestations/delete-request", "post">;
4409
+ /**
4410
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user
4411
+ */
4412
+ "POST /users/{username}/copilot-spaces": Operation<"/users/{username}/copilot-spaces", "post">;
4413
+ /**
4414
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user
4415
+ */
4416
+ "POST /users/{username}/copilot-spaces/{space_number}/collaborators": Operation<"/users/{username}/copilot-spaces/{space_number}/collaborators", "post">;
4417
+ /**
4418
+ * @see https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user
4419
+ */
4420
+ "POST /users/{username}/copilot-spaces/{space_number}/resources": Operation<"/users/{username}/copilot-spaces/{space_number}/resources", "post">;
4089
4421
  /**
4090
4422
  * @see https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user
4091
4423
  */
@@ -4094,6 +4426,10 @@ export interface Endpoints {
4094
4426
  * @see https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user
4095
4427
  */
4096
4428
  "POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": Operation<"/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", "post">;
4429
+ /**
4430
+ * @see https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project
4431
+ */
4432
+ "POST /users/{username}/projectsV2/{project_number}/fields": Operation<"/users/{username}/projectsV2/{project_number}/fields", "post">;
4097
4433
  /**
4098
4434
  * @see https://docs.github.com/rest/projects/items#add-item-to-user-owned-project
4099
4435
  */
@@ -4106,10 +4442,26 @@ export interface Endpoints {
4106
4442
  * @see https://docs.github.com/rest/apps/apps#suspend-an-app-installation
4107
4443
  */
4108
4444
  "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
4445
+ /**
4446
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-enterprise
4447
+ */
4448
+ "PUT /enterprises/{enterprise}/actions/cache/retention-limit": Operation<"/enterprises/{enterprise}/actions/cache/retention-limit", "put">;
4449
+ /**
4450
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-enterprise
4451
+ */
4452
+ "PUT /enterprises/{enterprise}/actions/cache/storage-limit": Operation<"/enterprises/{enterprise}/actions/cache/storage-limit", "put">;
4109
4453
  /**
4110
4454
  * @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise
4111
4455
  */
4112
4456
  "PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults", "put">;
4457
+ /**
4458
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise
4459
+ */
4460
+ "PUT /enterprises/{enterprise}/copilot/policies/coding_agent": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent", "put">;
4461
+ /**
4462
+ * @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise
4463
+ */
4464
+ "PUT /enterprises/{enterprise}/dependabot/repository-access/default-level": Operation<"/enterprises/{enterprise}/dependabot/repository-access/default-level", "put">;
4113
4465
  /**
4114
4466
  * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member
4115
4467
  */
@@ -4131,9 +4483,13 @@ export interface Endpoints {
4131
4483
  */
4132
4484
  "PUT /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "put">;
4133
4485
  /**
4134
- * @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot
4486
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization
4135
4487
  */
4136
- "PUT /organizations/{org}/dependabot/repository-access/default-level": Operation<"/organizations/{org}/dependabot/repository-access/default-level", "put">;
4488
+ "PUT /organizations/{org}/actions/cache/retention-limit": Operation<"/organizations/{org}/actions/cache/retention-limit", "put">;
4489
+ /**
4490
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization
4491
+ */
4492
+ "PUT /organizations/{org}/actions/cache/storage-limit": Operation<"/organizations/{org}/actions/cache/storage-limit", "put">;
4137
4493
  /**
4138
4494
  * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization
4139
4495
  */
@@ -4222,6 +4578,26 @@ export interface Endpoints {
4222
4578
  * @see https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable
4223
4579
  */
4224
4580
  "PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "put">;
4581
+ /**
4582
+ * @see https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret
4583
+ */
4584
+ "PUT /orgs/{org}/agents/secrets/{secret_name}": Operation<"/orgs/{org}/agents/secrets/{secret_name}", "put">;
4585
+ /**
4586
+ * @see https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret
4587
+ */
4588
+ "PUT /orgs/{org}/agents/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories", "put">;
4589
+ /**
4590
+ * @see https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret
4591
+ */
4592
+ "PUT /orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}", "put">;
4593
+ /**
4594
+ * @see https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable
4595
+ */
4596
+ "PUT /orgs/{org}/agents/variables/{name}/repositories": Operation<"/orgs/{org}/agents/variables/{name}/repositories", "put">;
4597
+ /**
4598
+ * @see https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable
4599
+ */
4600
+ "PUT /orgs/{org}/agents/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/variables/{name}/repositories/{repository_id}", "put">;
4225
4601
  /**
4226
4602
  * @see https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization
4227
4603
  */
@@ -4246,6 +4622,38 @@ export interface Endpoints {
4246
4622
  * @see https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret
4247
4623
  */
4248
4624
  "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put">;
4625
+ /**
4626
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space
4627
+ */
4628
+ "PUT /orgs/{org}/copilot-spaces/{space_number}": Operation<"/orgs/{org}/copilot-spaces/{space_number}", "put">;
4629
+ /**
4630
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space
4631
+ */
4632
+ "PUT /orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "put">;
4633
+ /**
4634
+ * @see https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space
4635
+ */
4636
+ "PUT /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "put">;
4637
+ /**
4638
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization
4639
+ */
4640
+ "PUT /orgs/{org}/copilot/coding-agent/permissions": Operation<"/orgs/{org}/copilot/coding-agent/permissions", "put">;
4641
+ /**
4642
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization
4643
+ */
4644
+ "PUT /orgs/{org}/copilot/coding-agent/permissions/repositories": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories", "put">;
4645
+ /**
4646
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization
4647
+ */
4648
+ "PUT /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}", "put">;
4649
+ /**
4650
+ * @see https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization
4651
+ */
4652
+ "PUT /orgs/{org}/copilot/content_exclusion": Operation<"/orgs/{org}/copilot/content_exclusion", "put">;
4653
+ /**
4654
+ * @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot
4655
+ */
4656
+ "PUT /orgs/{org}/dependabot/repository-access/default-level": Operation<"/orgs/{org}/dependabot/repository-access/default-level", "put">;
4249
4657
  /**
4250
4658
  * @see https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret
4251
4659
  */
@@ -4314,18 +4722,18 @@ export interface Endpoints {
4314
4722
  * @see https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user
4315
4723
  */
4316
4724
  "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation<"/orgs/{org}/teams/{team_slug}/memberships/{username}", "put">;
4317
- /**
4318
- * @see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions
4319
- */
4320
- "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation<"/orgs/{org}/teams/{team_slug}/projects/{project_id}", "put">;
4321
4725
  /**
4322
4726
  * @see https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions
4323
4727
  */
4324
4728
  "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "put">;
4325
4729
  /**
4326
- * @see https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator
4730
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository
4731
+ */
4732
+ "PUT /repos/{owner}/{repo}/actions/cache/retention-limit": Operation<"/repos/{owner}/{repo}/actions/cache/retention-limit", "put">;
4733
+ /**
4734
+ * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository
4327
4735
  */
4328
- "PUT /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "put">;
4736
+ "PUT /repos/{owner}/{repo}/actions/cache/storage-limit": Operation<"/repos/{owner}/{repo}/actions/cache/storage-limit", "put">;
4329
4737
  /**
4330
4738
  * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository
4331
4739
  */
@@ -4374,6 +4782,10 @@ export interface Endpoints {
4374
4782
  * @see https://docs.github.com/rest/actions/workflows#enable-a-workflow
4375
4783
  */
4376
4784
  "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", "put">;
4785
+ /**
4786
+ * @see https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret
4787
+ */
4788
+ "PUT /repos/{owner}/{repo}/agents/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "put">;
4377
4789
  /**
4378
4790
  * @see https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
4379
4791
  */
@@ -4438,6 +4850,18 @@ export interface Endpoints {
4438
4850
  * @see https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository
4439
4851
  */
4440
4852
  "PUT /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "put">;
4853
+ /**
4854
+ * @see https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository
4855
+ */
4856
+ "PUT /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "put">;
4857
+ /**
4858
+ * @see https://docs.github.com/rest/issues/comments#pin-an-issue-comment
4859
+ */
4860
+ "PUT /repos/{owner}/{repo}/issues/comments/{comment_id}/pin": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/pin", "put">;
4861
+ /**
4862
+ * @see https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue
4863
+ */
4864
+ "PUT /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "put">;
4441
4865
  /**
4442
4866
  * @see https://docs.github.com/rest/issues/labels#set-labels-for-an-issue
4443
4867
  */
@@ -4462,6 +4886,10 @@ export interface Endpoints {
4462
4886
  * @see https://docs.github.com/rest/pulls/pulls#merge-a-pull-request
4463
4887
  */
4464
4888
  "PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "put">;
4889
+ /**
4890
+ * @see https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously
4891
+ */
4892
+ "PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge-async": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge-async", "put">;
4465
4893
  /**
4466
4894
  * @see https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request
4467
4895
  */
@@ -4498,10 +4926,6 @@ export interface Endpoints {
4498
4926
  * @see https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy
4499
4927
  */
4500
4928
  "PUT /teams/{team_id}/memberships/{username}": Operation<"/teams/{team_id}/memberships/{username}", "put">;
4501
- /**
4502
- * @see https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy
4503
- */
4504
- "PUT /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "put">;
4505
4929
  /**
4506
4930
  * @see https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy
4507
4931
  */
@@ -4538,6 +4962,18 @@ export interface Endpoints {
4538
4962
  * @see https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user
4539
4963
  */
4540
4964
  "PUT /user/starred/{owner}/{repo}": Operation<"/user/starred/{owner}/{repo}", "put">;
4965
+ /**
4966
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user
4967
+ */
4968
+ "PUT /users/{username}/copilot-spaces/{space_number}": Operation<"/users/{username}/copilot-spaces/{space_number}", "put">;
4969
+ /**
4970
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user
4971
+ */
4972
+ "PUT /users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}": Operation<"/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}", "put">;
4973
+ /**
4974
+ * @see https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user
4975
+ */
4976
+ "PUT /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "put">;
4541
4977
  }
4542
4978
  export type EndpointKeys = keyof Endpoints;
4543
4979
  export {};