@octokit/types 17.0.0 → 19.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.
@@ -89,21 +89,17 @@ export interface Endpoints {
89
89
  */
90
90
  "DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
91
91
  /**
92
- * @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
93
- */
94
- "DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "delete">;
95
- /**
96
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership
92
+ * @see https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-enterprise
97
93
  */
98
- "DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}", "delete">;
94
+ "DELETE /enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}": Operation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo/{custom_property_name}", "delete">;
99
95
  /**
100
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment
96
+ * @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
101
97
  */
102
- "DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}", "delete">;
98
+ "DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "delete">;
103
99
  /**
104
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team
100
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy
105
101
  */
106
- "DELETE /enterprises/{enterprise}/teams/{team_slug}": Operation<"/enterprises/{enterprise}/teams/{team_slug}", "delete">;
102
+ "DELETE /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "delete">;
107
103
  /**
108
104
  * @see https://docs.github.com/rest/gists/gists#delete-a-gist
109
105
  */
@@ -148,6 +144,10 @@ export interface Endpoints {
148
144
  * @see https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization
149
145
  */
150
146
  "DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": Operation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "delete">;
147
+ /**
148
+ * @see https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization
149
+ */
150
+ "DELETE /orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}": Operation<"/orgs/{org}/actions/oidc/customization/properties/repo/{custom_property_name}", "delete">;
151
151
  /**
152
152
  * @see https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
153
153
  */
@@ -156,6 +156,10 @@ export interface Endpoints {
156
156
  * @see https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization
157
157
  */
158
158
  "DELETE /orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", "delete">;
159
+ /**
160
+ * @see https://docs.github.com/rest/actions/policies#delete-an-organization-actions-policy
161
+ */
162
+ "DELETE /orgs/{org}/actions/policies/{policy_id}": Operation<"/orgs/{org}/actions/policies/{policy_id}", "delete">;
159
163
  /**
160
164
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization
161
165
  */
@@ -196,6 +200,22 @@ export interface Endpoints {
196
200
  * @see https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable
197
201
  */
198
202
  "DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "delete">;
203
+ /**
204
+ * @see https://docs.github.com/rest/agents/secrets#delete-an-organization-secret
205
+ */
206
+ "DELETE /orgs/{org}/agents/secrets/{secret_name}": Operation<"/orgs/{org}/agents/secrets/{secret_name}", "delete">;
207
+ /**
208
+ * @see https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret
209
+ */
210
+ "DELETE /orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}", "delete">;
211
+ /**
212
+ * @see https://docs.github.com/rest/agents/variables#delete-an-organization-variable
213
+ */
214
+ "DELETE /orgs/{org}/agents/variables/{name}": Operation<"/orgs/{org}/agents/variables/{name}", "delete">;
215
+ /**
216
+ * @see https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable
217
+ */
218
+ "DELETE /orgs/{org}/agents/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/variables/{name}/repositories/{repository_id}", "delete">;
199
219
  /**
200
220
  * @see https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest
201
221
  */
@@ -232,6 +252,18 @@ export interface Endpoints {
232
252
  * @see https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret
233
253
  */
234
254
  "DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
255
+ /**
256
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-an-organization-copilot-space
257
+ */
258
+ "DELETE /orgs/{org}/copilot-spaces/{space_number}": Operation<"/orgs/{org}/copilot-spaces/{space_number}", "delete">;
259
+ /**
260
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-an-organization-copilot-space
261
+ */
262
+ "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">;
263
+ /**
264
+ * @see https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-an-organization-copilot-space
265
+ */
266
+ "DELETE /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "delete">;
235
267
  /**
236
268
  * @see https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization
237
269
  */
@@ -240,6 +272,10 @@ export interface Endpoints {
240
272
  * @see https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization
241
273
  */
242
274
  "DELETE /orgs/{org}/copilot/billing/selected_users": Operation<"/orgs/{org}/copilot/billing/selected_users", "delete">;
275
+ /**
276
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-cloud-agent-in-an-organization
277
+ */
278
+ "DELETE /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}", "delete">;
243
279
  /**
244
280
  * @see https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret
245
281
  */
@@ -260,6 +296,10 @@ export interface Endpoints {
260
296
  * @see https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation
261
297
  */
262
298
  "DELETE /orgs/{org}/invitations/{invitation_id}": Operation<"/orgs/{org}/invitations/{invitation_id}", "delete">;
299
+ /**
300
+ * @see https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization
301
+ */
302
+ "DELETE /orgs/{org}/issue-fields/{issue_field_id}": Operation<"/orgs/{org}/issue-fields/{issue_field_id}", "delete">;
263
303
  /**
264
304
  * @see https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization
265
305
  */
@@ -320,6 +360,10 @@ export interface Endpoints {
320
360
  * @see https://docs.github.com/rest/projects/items#delete-project-item-for-organization
321
361
  */
322
362
  "DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}": Operation<"/orgs/{org}/projectsV2/{project_number}/items/{item_id}", "delete">;
363
+ /**
364
+ * @see https://docs.github.com/rest/orgs/custom-properties#remove-all-external-custom-property-values-for-a-property-across-all-organization-repositories
365
+ */
366
+ "DELETE /orgs/{org}/properties/installations/values/{property_name}": Operation<"/orgs/{org}/properties/installations/values/{property_name}", "delete">;
323
367
  /**
324
368
  * @see https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization
325
369
  */
@@ -332,6 +376,10 @@ export interface Endpoints {
332
376
  * @see https://docs.github.com/rest/orgs/rules#delete-an-organization-repository-ruleset
333
377
  */
334
378
  "DELETE /orgs/{org}/rulesets/{ruleset_id}": Operation<"/orgs/{org}/rulesets/{ruleset_id}", "delete">;
379
+ /**
380
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-delete-organization-custom-patterns
381
+ */
382
+ "DELETE /orgs/{org}/secret-scanning/custom-patterns": Operation<"/orgs/{org}/secret-scanning/custom-patterns", "delete">;
335
383
  /**
336
384
  * @see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team
337
385
  */
@@ -348,22 +396,6 @@ export interface Endpoints {
348
396
  * @see https://docs.github.com/rest/teams/teams#delete-a-team
349
397
  */
350
398
  "DELETE /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "delete">;
351
- /**
352
- * @see https://docs.github.com/rest/teams/discussions#delete-a-discussion
353
- */
354
- "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "delete">;
355
- /**
356
- * @see https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment
357
- */
358
- "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">;
359
- /**
360
- * @see https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction
361
- */
362
- "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">;
363
- /**
364
- * @see https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction
365
- */
366
- "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">;
367
399
  /**
368
400
  * @see https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user
369
401
  */
@@ -388,6 +420,10 @@ export interface Endpoints {
388
420
  * @see https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key
389
421
  */
390
422
  "DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}": Operation<"/repos/{owner}/{repo}/actions/caches", "delete">;
423
+ /**
424
+ * @see https://docs.github.com/rest/actions/policies#delete-a-repository-actions-policy
425
+ */
426
+ "DELETE /repos/{owner}/{repo}/actions/policies/{policy_id}": Operation<"/repos/{owner}/{repo}/actions/policies/{policy_id}", "delete">;
391
427
  /**
392
428
  * @see https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository
393
429
  */
@@ -416,6 +452,14 @@ export interface Endpoints {
416
452
  * @see https://docs.github.com/rest/actions/variables#delete-a-repository-variable
417
453
  */
418
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">;
419
463
  /**
420
464
  * @see https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository
421
465
  */
@@ -540,6 +584,10 @@ export interface Endpoints {
540
584
  * @see https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository
541
585
  */
542
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">;
543
591
  /**
544
592
  * @see https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation
545
593
  */
@@ -548,6 +596,10 @@ export interface Endpoints {
548
596
  * @see https://docs.github.com/rest/issues/comments#delete-an-issue-comment
549
597
  */
550
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">;
551
603
  /**
552
604
  * @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction
553
605
  */
@@ -560,6 +612,10 @@ export interface Endpoints {
560
612
  * @see https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by
561
613
  */
562
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">;
563
619
  /**
564
620
  * @see https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue
565
621
  */
@@ -576,6 +632,10 @@ export interface Endpoints {
576
632
  * @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction
577
633
  */
578
634
  "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", "delete">;
635
+ /**
636
+ * @see https://docs.github.com/rest/issues/issues#remove-a-related-issue
637
+ */
638
+ "DELETE /repos/{owner}/{repo}/issues/{issue_number}/relates_to/{issue_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/relates_to/{issue_id}", "delete">;
579
639
  /**
580
640
  * @see https://docs.github.com/rest/issues/sub-issues#remove-sub-issue
581
641
  */
@@ -633,13 +693,13 @@ export interface Endpoints {
633
693
  */
634
694
  "DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}": Operation<"/repos/{owner}/{repo}/rulesets/{ruleset_id}", "delete">;
635
695
  /**
636
- * @see https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
696
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-delete-repository-custom-patterns
637
697
  */
638
- "DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
698
+ "DELETE /repos/{owner}/{repo}/secret-scanning/custom-patterns": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "delete">;
639
699
  /**
640
- * @see https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository
700
+ * @see https://docs.github.com/rest/activity/watching#delete-a-repository-subscription
641
701
  */
642
- "DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}": Operation<"/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", "delete">;
702
+ "DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
643
703
  /**
644
704
  * @see https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
645
705
  */
@@ -648,14 +708,6 @@ export interface Endpoints {
648
708
  * @see https://docs.github.com/rest/teams/teams#delete-a-team-legacy
649
709
  */
650
710
  "DELETE /teams/{team_id}": Operation<"/teams/{team_id}", "delete">;
651
- /**
652
- * @see https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy
653
- */
654
- "DELETE /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "delete">;
655
- /**
656
- * @see https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy
657
- */
658
- "DELETE /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "delete">;
659
711
  /**
660
712
  * @see https://docs.github.com/rest/teams/members#remove-team-member-legacy
661
713
  */
@@ -748,6 +800,18 @@ export interface Endpoints {
748
800
  * @see https://docs.github.com/rest/users/attestations#delete-attestations-by-id
749
801
  */
750
802
  "DELETE /users/{username}/attestations/{attestation_id}": Operation<"/users/{username}/attestations/{attestation_id}", "delete">;
803
+ /**
804
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#delete-a-copilot-space-for-a-user
805
+ */
806
+ "DELETE /users/{username}/copilot-spaces/{space_number}": Operation<"/users/{username}/copilot-spaces/{space_number}", "delete">;
807
+ /**
808
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#remove-a-collaborator-from-a-copilot-space-for-a-user
809
+ */
810
+ "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">;
811
+ /**
812
+ * @see https://docs.github.com/rest/copilot-spaces/resources#delete-a-resource-from-a-copilot-space-for-a-user
813
+ */
814
+ "DELETE /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "delete">;
751
815
  /**
752
816
  * @see https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user
753
817
  */
@@ -772,6 +836,22 @@ export interface Endpoints {
772
836
  * @see https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory
773
837
  */
774
838
  "GET /advisories/{ghsa_id}": ReadonlyOperation<"/advisories/{ghsa_id}", "get">;
839
+ /**
840
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#list-tasks-for-repository
841
+ */
842
+ "GET /agents/repos/{owner}/{repo}/tasks": ReadonlyOperation<"/agents/repos/{owner}/{repo}/tasks", "get">;
843
+ /**
844
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#get-a-task-by-repo
845
+ */
846
+ "GET /agents/repos/{owner}/{repo}/tasks/{task_id}": ReadonlyOperation<"/agents/repos/{owner}/{repo}/tasks/{task_id}", "get">;
847
+ /**
848
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#list-tasks
849
+ */
850
+ "GET /agents/tasks": ReadonlyOperation<"/agents/tasks", "get">;
851
+ /**
852
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#get-a-task-by-id
853
+ */
854
+ "GET /agents/tasks/{task_id}": ReadonlyOperation<"/agents/tasks/{task_id}", "get">;
775
855
  /**
776
856
  * @see https://docs.github.com/rest/apps/apps#get-the-authenticated-app
777
857
  */
@@ -793,7 +873,7 @@ export interface Endpoints {
793
873
  */
794
874
  "GET /app/installation-requests": ReadonlyOperation<"/app/installation-requests", "get">;
795
875
  /**
796
- * @see https://docs.github.com/enterprise-server@3.9/rest/apps/apps#list-installations-for-the-authenticated-app
876
+ * @see https://docs.github.com/rest/apps/apps#list-installations-for-the-authenticated-app
797
877
  */
798
878
  "GET /app/installations": ReadonlyOperation<"/app/installations", "get">;
799
879
  /**
@@ -805,27 +885,27 @@ export interface Endpoints {
805
885
  */
806
886
  "GET /apps/{app_slug}": ReadonlyOperation<"/apps/{app_slug}", "get">;
807
887
  /**
808
- * @see https://docs.github.com/rest/classroom/classroom#get-an-assignment
888
+ * @see https://docs.github.com/rest/classroom/classroom#closed---get-an-assignment
809
889
  */
810
890
  "GET /assignments/{assignment_id}": ReadonlyOperation<"/assignments/{assignment_id}", "get">;
811
891
  /**
812
- * @see https://docs.github.com/rest/classroom/classroom#list-accepted-assignments-for-an-assignment
892
+ * @see https://docs.github.com/rest/classroom/classroom#closed---list-accepted-assignments-for-an-assignment
813
893
  */
814
894
  "GET /assignments/{assignment_id}/accepted_assignments": ReadonlyOperation<"/assignments/{assignment_id}/accepted_assignments", "get">;
815
895
  /**
816
- * @see https://docs.github.com/rest/classroom/classroom#get-assignment-grades
896
+ * @see https://docs.github.com/rest/classroom/classroom#closed---get-assignment-grades
817
897
  */
818
898
  "GET /assignments/{assignment_id}/grades": ReadonlyOperation<"/assignments/{assignment_id}/grades", "get">;
819
899
  /**
820
- * @see https://docs.github.com/rest/classroom/classroom#list-classrooms
900
+ * @see https://docs.github.com/rest/classroom/classroom#closed---list-classrooms
821
901
  */
822
902
  "GET /classrooms": ReadonlyOperation<"/classrooms", "get">;
823
903
  /**
824
- * @see https://docs.github.com/rest/classroom/classroom#get-a-classroom
904
+ * @see https://docs.github.com/rest/classroom/classroom#closed---get-a-classroom
825
905
  */
826
906
  "GET /classrooms/{classroom_id}": ReadonlyOperation<"/classrooms/{classroom_id}", "get">;
827
907
  /**
828
- * @see https://docs.github.com/rest/classroom/classroom#list-assignments-for-a-classroom
908
+ * @see https://docs.github.com/rest/classroom/classroom#closed---list-assignments-for-a-classroom
829
909
  */
830
910
  "GET /classrooms/{classroom_id}/assignments": ReadonlyOperation<"/classrooms/{classroom_id}/assignments", "get">;
831
911
  /**
@@ -848,6 +928,10 @@ export interface Endpoints {
848
928
  * @see https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-enterprise
849
929
  */
850
930
  "GET /enterprises/{enterprise}/actions/cache/storage-limit": ReadonlyOperation<"/enterprises/{enterprise}/actions/cache/storage-limit", "get">;
931
+ /**
932
+ * @see https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-enterprise
933
+ */
934
+ "GET /enterprises/{enterprise}/actions/oidc/customization/properties/repo": ReadonlyOperation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo", "get">;
851
935
  /**
852
936
  * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
853
937
  */
@@ -865,33 +949,37 @@ export interface Endpoints {
865
949
  */
866
950
  "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories": ReadonlyOperation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories", "get">;
867
951
  /**
868
- * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
952
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics-for-a-specific-day
869
953
  */
870
- "GET /enterprises/{enterprise}/dependabot/alerts": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/alerts", "get">;
954
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/enterprise-1-day", "get">;
871
955
  /**
872
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#list-enterprise-teams
956
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-usage-metrics
873
957
  */
874
- "GET /enterprises/{enterprise}/teams": ReadonlyOperation<"/enterprises/{enterprise}/teams", "get">;
958
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/enterprise-28-day/latest", "get">;
875
959
  /**
876
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team
960
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-repository-report-for-a-specific-day
877
961
  */
878
- "GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships", "get">;
962
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/repos-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/repos-1-day", "get">;
879
963
  /**
880
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership
964
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-enterprise-user-teams-report-for-a-specific-day
881
965
  */
882
- "GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}", "get">;
966
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/user-teams-1-day", "get">;
883
967
  /**
884
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments
968
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics-for-a-specific-day
885
969
  */
886
- "GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations", "get">;
970
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/users-1-day": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/users-1-day", "get">;
887
971
  /**
888
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment
972
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-users-usage-metrics
889
973
  */
890
- "GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": ReadonlyOperation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}", "get">;
974
+ "GET /enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest": ReadonlyOperation<"/enterprises/{enterprise}/copilot/metrics/reports/users-28-day/latest", "get">;
891
975
  /**
892
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team
976
+ * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
893
977
  */
894
- "GET /enterprises/{enterprise}/teams/{team_slug}": ReadonlyOperation<"/enterprises/{enterprise}/teams/{team_slug}", "get">;
978
+ "GET /enterprises/{enterprise}/dependabot/alerts": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/alerts", "get">;
979
+ /**
980
+ * @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-enterprise
981
+ */
982
+ "GET /enterprises/{enterprise}/dependabot/repository-access": ReadonlyOperation<"/enterprises/{enterprise}/dependabot/repository-access", "get">;
895
983
  /**
896
984
  * @see https://docs.github.com/rest/activity/events#list-public-events
897
985
  */
@@ -1025,13 +1113,9 @@ export interface Endpoints {
1025
1113
  */
1026
1114
  "GET /organizations/{org}/actions/cache/storage-limit": ReadonlyOperation<"/organizations/{org}/actions/cache/storage-limit", "get">;
1027
1115
  /**
1028
- * @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization
1029
- */
1030
- "GET /organizations/{org}/dependabot/repository-access": ReadonlyOperation<"/organizations/{org}/dependabot/repository-access", "get">;
1031
- /**
1032
- * @see https://docs.github.com/rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization
1116
+ * @see https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-an-organization
1033
1117
  */
1034
- "GET /organizations/{org}/org-properties/values": ReadonlyOperation<"/organizations/{org}/org-properties/values", "get">;
1118
+ "GET /organizations/{org}/settings/billing/ai_credit/usage": ReadonlyOperation<"/organizations/{org}/settings/billing/ai_credit/usage", "get">;
1035
1119
  /**
1036
1120
  * @see https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization
1037
1121
  */
@@ -1113,6 +1197,10 @@ export interface Endpoints {
1113
1197
  * @see https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization
1114
1198
  */
1115
1199
  "GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}": ReadonlyOperation<"/orgs/{org}/actions/hosted-runners/{hosted_runner_id}", "get">;
1200
+ /**
1201
+ * @see https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization
1202
+ */
1203
+ "GET /orgs/{org}/actions/oidc/customization/properties/repo": ReadonlyOperation<"/orgs/{org}/actions/oidc/customization/properties/repo", "get">;
1116
1204
  /**
1117
1205
  * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
1118
1206
  */
@@ -1153,6 +1241,14 @@ export interface Endpoints {
1153
1241
  * @see https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization
1154
1242
  */
1155
1243
  "GET /orgs/{org}/actions/permissions/workflow": ReadonlyOperation<"/orgs/{org}/actions/permissions/workflow", "get">;
1244
+ /**
1245
+ * @see https://docs.github.com/rest/actions/policies#list-organization-actions-policies
1246
+ */
1247
+ "GET /orgs/{org}/actions/policies": ReadonlyOperation<"/orgs/{org}/actions/policies", "get">;
1248
+ /**
1249
+ * @see https://docs.github.com/rest/actions/policies#get-an-organization-actions-policy
1250
+ */
1251
+ "GET /orgs/{org}/actions/policies/{policy_id}": ReadonlyOperation<"/orgs/{org}/actions/policies/{policy_id}", "get">;
1156
1252
  /**
1157
1253
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization
1158
1254
  */
@@ -1177,6 +1273,10 @@ export interface Endpoints {
1177
1273
  * @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization
1178
1274
  */
1179
1275
  "GET /orgs/{org}/actions/runners": ReadonlyOperation<"/orgs/{org}/actions/runners", "get">;
1276
+ /**
1277
+ * @see https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-an-organization
1278
+ */
1279
+ "GET /orgs/{org}/actions/runners/deprecations/{version}": ReadonlyOperation<"/orgs/{org}/actions/runners/deprecations/{version}", "get">;
1180
1280
  /**
1181
1281
  * @see https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization
1182
1282
  */
@@ -1217,6 +1317,38 @@ export interface Endpoints {
1217
1317
  * @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
1218
1318
  */
1219
1319
  "GET /orgs/{org}/actions/variables/{name}/repositories": ReadonlyOperation<"/orgs/{org}/actions/variables/{name}/repositories", "get">;
1320
+ /**
1321
+ * @see https://docs.github.com/rest/agents/secrets#list-organization-secrets
1322
+ */
1323
+ "GET /orgs/{org}/agents/secrets": ReadonlyOperation<"/orgs/{org}/agents/secrets", "get">;
1324
+ /**
1325
+ * @see https://docs.github.com/rest/agents/secrets#get-an-organization-public-key
1326
+ */
1327
+ "GET /orgs/{org}/agents/secrets/public-key": ReadonlyOperation<"/orgs/{org}/agents/secrets/public-key", "get">;
1328
+ /**
1329
+ * @see https://docs.github.com/rest/agents/secrets#get-an-organization-secret
1330
+ */
1331
+ "GET /orgs/{org}/agents/secrets/{secret_name}": ReadonlyOperation<"/orgs/{org}/agents/secrets/{secret_name}", "get">;
1332
+ /**
1333
+ * @see https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret
1334
+ */
1335
+ "GET /orgs/{org}/agents/secrets/{secret_name}/repositories": ReadonlyOperation<"/orgs/{org}/agents/secrets/{secret_name}/repositories", "get">;
1336
+ /**
1337
+ * @see https://docs.github.com/rest/agents/variables#list-organization-variables
1338
+ */
1339
+ "GET /orgs/{org}/agents/variables": ReadonlyOperation<"/orgs/{org}/agents/variables", "get">;
1340
+ /**
1341
+ * @see https://docs.github.com/rest/agents/variables#get-an-organization-variable
1342
+ */
1343
+ "GET /orgs/{org}/agents/variables/{name}": ReadonlyOperation<"/orgs/{org}/agents/variables/{name}", "get">;
1344
+ /**
1345
+ * @see https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable
1346
+ */
1347
+ "GET /orgs/{org}/agents/variables/{name}/repositories": ReadonlyOperation<"/orgs/{org}/agents/variables/{name}/repositories", "get">;
1348
+ /**
1349
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#get-cluster-deployment-records-job-status
1350
+ */
1351
+ "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">;
1220
1352
  /**
1221
1353
  * @see https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records
1222
1354
  */
@@ -1249,6 +1381,10 @@ export interface Endpoints {
1249
1381
  * @see https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization
1250
1382
  */
1251
1383
  "GET /orgs/{org}/campaigns/{campaign_number}": ReadonlyOperation<"/orgs/{org}/campaigns/{campaign_number}", "get">;
1384
+ /**
1385
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-ai-scan-setting-for-an-organization
1386
+ */
1387
+ "GET /orgs/{org}/code-scanning/ai-scan": ReadonlyOperation<"/orgs/{org}/code-scanning/ai-scan", "get">;
1252
1388
  /**
1253
1389
  * @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
1254
1390
  */
@@ -1289,6 +1425,26 @@ export interface Endpoints {
1289
1425
  * @see https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret
1290
1426
  */
1291
1427
  "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories": ReadonlyOperation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories", "get">;
1428
+ /**
1429
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-organization-copilot-spaces
1430
+ */
1431
+ "GET /orgs/{org}/copilot-spaces": ReadonlyOperation<"/orgs/{org}/copilot-spaces", "get">;
1432
+ /**
1433
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-an-organization-copilot-space
1434
+ */
1435
+ "GET /orgs/{org}/copilot-spaces/{space_number}": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}", "get">;
1436
+ /**
1437
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-an-organization-copilot-space
1438
+ */
1439
+ "GET /orgs/{org}/copilot-spaces/{space_number}/collaborators": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators", "get">;
1440
+ /**
1441
+ * @see https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-an-organization-copilot-space
1442
+ */
1443
+ "GET /orgs/{org}/copilot-spaces/{space_number}/resources": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/resources", "get">;
1444
+ /**
1445
+ * @see https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-an-organization-copilot-space
1446
+ */
1447
+ "GET /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": ReadonlyOperation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "get">;
1292
1448
  /**
1293
1449
  * @see https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization
1294
1450
  */
@@ -1298,13 +1454,49 @@ export interface Endpoints {
1298
1454
  */
1299
1455
  "GET /orgs/{org}/copilot/billing/seats": ReadonlyOperation<"/orgs/{org}/copilot/billing/seats", "get">;
1300
1456
  /**
1301
- * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization
1457
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-cloud-agent-permissions-for-an-organization
1458
+ */
1459
+ "GET /orgs/{org}/copilot/coding-agent/permissions": ReadonlyOperation<"/orgs/{org}/copilot/coding-agent/permissions", "get">;
1460
+ /**
1461
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-cloud-agent-in-an-organization
1462
+ */
1463
+ "GET /orgs/{org}/copilot/coding-agent/permissions/repositories": ReadonlyOperation<"/orgs/{org}/copilot/coding-agent/permissions/repositories", "get">;
1464
+ /**
1465
+ * @see https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization
1466
+ */
1467
+ "GET /orgs/{org}/copilot/content_exclusion": ReadonlyOperation<"/orgs/{org}/copilot/content_exclusion", "get">;
1468
+ /**
1469
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day
1470
+ */
1471
+ "GET /orgs/{org}/copilot/metrics/reports/organization-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/organization-1-day", "get">;
1472
+ /**
1473
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics
1302
1474
  */
1303
- "GET /orgs/{org}/copilot/metrics": ReadonlyOperation<"/orgs/{org}/copilot/metrics", "get">;
1475
+ "GET /orgs/{org}/copilot/metrics/reports/organization-28-day/latest": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/organization-28-day/latest", "get">;
1476
+ /**
1477
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-repository-report-for-a-specific-day
1478
+ */
1479
+ "GET /orgs/{org}/copilot/metrics/reports/repos-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/repos-1-day", "get">;
1480
+ /**
1481
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-user-teams-report-for-a-specific-day
1482
+ */
1483
+ "GET /orgs/{org}/copilot/metrics/reports/user-teams-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/user-teams-1-day", "get">;
1484
+ /**
1485
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day
1486
+ */
1487
+ "GET /orgs/{org}/copilot/metrics/reports/users-1-day": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/users-1-day", "get">;
1488
+ /**
1489
+ * @see https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics
1490
+ */
1491
+ "GET /orgs/{org}/copilot/metrics/reports/users-28-day/latest": ReadonlyOperation<"/orgs/{org}/copilot/metrics/reports/users-28-day/latest", "get">;
1304
1492
  /**
1305
1493
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
1306
1494
  */
1307
1495
  "GET /orgs/{org}/dependabot/alerts": ReadonlyOperation<"/orgs/{org}/dependabot/alerts", "get">;
1496
+ /**
1497
+ * @see https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization
1498
+ */
1499
+ "GET /orgs/{org}/dependabot/repository-access": ReadonlyOperation<"/orgs/{org}/dependabot/repository-access", "get">;
1308
1500
  /**
1309
1501
  * @see https://docs.github.com/rest/dependabot/secrets#list-organization-secrets
1310
1502
  */
@@ -1401,6 +1593,10 @@ export interface Endpoints {
1401
1593
  * @see https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization
1402
1594
  */
1403
1595
  "GET /orgs/{org}/interaction-limits": ReadonlyOperation<"/orgs/{org}/interaction-limits", "get">;
1596
+ /**
1597
+ * @see https://docs.github.com/rest/interactions/orgs#get-pull-request-creation-cap-for-an-org
1598
+ */
1599
+ "GET /orgs/{org}/interaction-limits/pulls/creation-cap": ReadonlyOperation<"/orgs/{org}/interaction-limits/pulls/creation-cap", "get">;
1404
1600
  /**
1405
1601
  * @see https://docs.github.com/rest/orgs/members#list-pending-organization-invitations
1406
1602
  */
@@ -1409,6 +1605,10 @@ export interface Endpoints {
1409
1605
  * @see https://docs.github.com/rest/orgs/members#list-organization-invitation-teams
1410
1606
  */
1411
1607
  "GET /orgs/{org}/invitations/{invitation_id}/teams": ReadonlyOperation<"/orgs/{org}/invitations/{invitation_id}/teams", "get">;
1608
+ /**
1609
+ * @see https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization
1610
+ */
1611
+ "GET /orgs/{org}/issue-fields": ReadonlyOperation<"/orgs/{org}/issue-fields", "get">;
1412
1612
  /**
1413
1613
  * @see https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization
1414
1614
  */
@@ -1545,6 +1745,18 @@ export interface Endpoints {
1545
1745
  * @see https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project
1546
1746
  */
1547
1747
  "GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}": ReadonlyOperation<"/orgs/{org}/projectsV2/{project_number}/items/{item_id}", "get">;
1748
+ /**
1749
+ * @see https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view
1750
+ */
1751
+ "GET /orgs/{org}/projectsV2/{project_number}/views/{view_number}/items": ReadonlyOperation<"/orgs/{org}/projectsV2/{project_number}/views/{view_number}/items", "get">;
1752
+ /**
1753
+ * @see https://docs.github.com/rest/orgs/custom-properties#get-registered-app-installations-for-external-custom-properties
1754
+ */
1755
+ "GET /orgs/{org}/properties/installations": ReadonlyOperation<"/orgs/{org}/properties/installations", "get">;
1756
+ /**
1757
+ * @see https://docs.github.com/rest/orgs/custom-properties#get-all-external-custom-properties-for-a-github-app-installation-in-an-organization
1758
+ */
1759
+ "GET /orgs/{org}/properties/installations/schema": ReadonlyOperation<"/orgs/{org}/properties/installations/schema", "get">;
1548
1760
  /**
1549
1761
  * @see https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization
1550
1762
  */
@@ -1597,6 +1809,10 @@ export interface Endpoints {
1597
1809
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
1598
1810
  */
1599
1811
  "GET /orgs/{org}/secret-scanning/alerts": ReadonlyOperation<"/orgs/{org}/secret-scanning/alerts", "get">;
1812
+ /**
1813
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#list-organization-custom-patterns
1814
+ */
1815
+ "GET /orgs/{org}/secret-scanning/custom-patterns": ReadonlyOperation<"/orgs/{org}/secret-scanning/custom-patterns", "get">;
1600
1816
  /**
1601
1817
  * @see https://docs.github.com/rest/secret-scanning/push-protection#list-organization-pattern-configurations
1602
1818
  */
@@ -1629,10 +1845,6 @@ export interface Endpoints {
1629
1845
  * @see https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization
1630
1846
  */
1631
1847
  "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
1848
  /**
1637
1849
  * @see https://docs.github.com/rest/teams/teams#list-teams
1638
1850
  */
@@ -1641,30 +1853,6 @@ export interface Endpoints {
1641
1853
  * @see https://docs.github.com/rest/teams/teams#get-a-team-by-name
1642
1854
  */
1643
1855
  "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
1856
  /**
1669
1857
  * @see https://docs.github.com/rest/teams/members#list-pending-team-invitations
1670
1858
  */
@@ -1725,6 +1913,14 @@ export interface Endpoints {
1725
1913
  * @see https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository
1726
1914
  */
1727
1915
  "GET /repos/{owner}/{repo}/actions/caches": ReadonlyOperation<"/repos/{owner}/{repo}/actions/caches", "get">;
1916
+ /**
1917
+ * @see https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository
1918
+ */
1919
+ "GET /repos/{owner}/{repo}/actions/concurrency_groups": ReadonlyOperation<"/repos/{owner}/{repo}/actions/concurrency_groups", "get">;
1920
+ /**
1921
+ * @see https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository
1922
+ */
1923
+ "GET /repos/{owner}/{repo}/actions/concurrency_groups/{concurrency_group_name}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/concurrency_groups/{concurrency_group_name}", "get">;
1728
1924
  /**
1729
1925
  * @see https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run
1730
1926
  */
@@ -1733,6 +1929,10 @@ export interface Endpoints {
1733
1929
  * @see https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run
1734
1930
  */
1735
1931
  "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs": ReadonlyOperation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", "get">;
1932
+ /**
1933
+ * @see https://docs.github.com/rest/actions/workflow-jobs#download-step-logs-for-a-workflow-run-job
1934
+ */
1935
+ "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/steps/{step_number}/logs": ReadonlyOperation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/steps/{step_number}/logs", "get">;
1736
1936
  /**
1737
1937
  * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository
1738
1938
  */
@@ -1773,10 +1973,22 @@ export interface Endpoints {
1773
1973
  * @see https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository
1774
1974
  */
1775
1975
  "GET /repos/{owner}/{repo}/actions/permissions/workflow": ReadonlyOperation<"/repos/{owner}/{repo}/actions/permissions/workflow", "get">;
1976
+ /**
1977
+ * @see https://docs.github.com/rest/actions/policies#list-repository-actions-policies
1978
+ */
1979
+ "GET /repos/{owner}/{repo}/actions/policies": ReadonlyOperation<"/repos/{owner}/{repo}/actions/policies", "get">;
1980
+ /**
1981
+ * @see https://docs.github.com/rest/actions/policies#get-a-repository-actions-policy
1982
+ */
1983
+ "GET /repos/{owner}/{repo}/actions/policies/{policy_id}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/policies/{policy_id}", "get">;
1776
1984
  /**
1777
1985
  * @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository
1778
1986
  */
1779
1987
  "GET /repos/{owner}/{repo}/actions/runners": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runners", "get">;
1988
+ /**
1989
+ * @see https://docs.github.com/rest/actions/self-hosted-runners#get-runner-version-end-of-life-schedule-for-a-repository
1990
+ */
1991
+ "GET /repos/{owner}/{repo}/actions/runners/deprecations/{version}": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runners/deprecations/{version}", "get">;
1780
1992
  /**
1781
1993
  * @see https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository
1782
1994
  */
@@ -1817,6 +2029,10 @@ export interface Endpoints {
1817
2029
  * @see https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs
1818
2030
  */
1819
2031
  "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">;
2032
+ /**
2033
+ * @see https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run
2034
+ */
2035
+ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/concurrency_groups": ReadonlyOperation<"/repos/{owner}/{repo}/actions/runs/{run_id}/concurrency_groups", "get">;
1820
2036
  /**
1821
2037
  * @see https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run
1822
2038
  */
@@ -1873,6 +2089,34 @@ export interface Endpoints {
1873
2089
  * @see https://docs.github.com/rest/repos/repos#list-repository-activities
1874
2090
  */
1875
2091
  "GET /repos/{owner}/{repo}/activity": ReadonlyOperation<"/repos/{owner}/{repo}/activity", "get">;
2092
+ /**
2093
+ * @see https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets
2094
+ */
2095
+ "GET /repos/{owner}/{repo}/agents/organization-secrets": ReadonlyOperation<"/repos/{owner}/{repo}/agents/organization-secrets", "get">;
2096
+ /**
2097
+ * @see https://docs.github.com/rest/agents/variables#list-repository-organization-variables
2098
+ */
2099
+ "GET /repos/{owner}/{repo}/agents/organization-variables": ReadonlyOperation<"/repos/{owner}/{repo}/agents/organization-variables", "get">;
2100
+ /**
2101
+ * @see https://docs.github.com/rest/agents/secrets#list-repository-secrets
2102
+ */
2103
+ "GET /repos/{owner}/{repo}/agents/secrets": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets", "get">;
2104
+ /**
2105
+ * @see https://docs.github.com/rest/agents/secrets#get-a-repository-public-key
2106
+ */
2107
+ "GET /repos/{owner}/{repo}/agents/secrets/public-key": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets/public-key", "get">;
2108
+ /**
2109
+ * @see https://docs.github.com/rest/agents/secrets#get-a-repository-secret
2110
+ */
2111
+ "GET /repos/{owner}/{repo}/agents/secrets/{secret_name}": ReadonlyOperation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "get">;
2112
+ /**
2113
+ * @see https://docs.github.com/rest/agents/variables#list-repository-variables
2114
+ */
2115
+ "GET /repos/{owner}/{repo}/agents/variables": ReadonlyOperation<"/repos/{owner}/{repo}/agents/variables", "get">;
2116
+ /**
2117
+ * @see https://docs.github.com/rest/agents/variables#get-a-repository-variable
2118
+ */
2119
+ "GET /repos/{owner}/{repo}/agents/variables/{name}": ReadonlyOperation<"/repos/{owner}/{repo}/agents/variables/{name}", "get">;
1876
2120
  /**
1877
2121
  * @see https://docs.github.com/rest/issues/assignees#list-assignees
1878
2122
  */
@@ -1961,6 +2205,22 @@ export interface Endpoints {
1961
2205
  * @see https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite
1962
2206
  */
1963
2207
  "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": ReadonlyOperation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "get">;
2208
+ /**
2209
+ * @see https://docs.github.com/rest/code-quality/code-quality#list-code-quality-findings-for-a-repository
2210
+ */
2211
+ "GET /repos/{owner}/{repo}/code-quality/findings": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/findings", "get">;
2212
+ /**
2213
+ * @see https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-finding
2214
+ */
2215
+ "GET /repos/{owner}/{repo}/code-quality/findings/{finding_number}": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/findings/{finding_number}", "get">;
2216
+ /**
2217
+ * @see https://docs.github.com/rest/code-quality/code-quality#get-a-code-quality-setup-configuration
2218
+ */
2219
+ "GET /repos/{owner}/{repo}/code-quality/setup": ReadonlyOperation<"/repos/{owner}/{repo}/code-quality/setup", "get">;
2220
+ /**
2221
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#get-ai-scan-enablement-for-a-repository
2222
+ */
2223
+ "GET /repos/{owner}/{repo}/code-scanning/ai-scan": ReadonlyOperation<"/repos/{owner}/{repo}/code-scanning/ai-scan", "get">;
1964
2224
  /**
1965
2225
  * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository
1966
2226
  */
@@ -2134,6 +2394,10 @@ export interface Endpoints {
2134
2394
  * @see https://docs.github.com/rest/repos/repos#list-repository-contributors
2135
2395
  */
2136
2396
  "GET /repos/{owner}/{repo}/contributors": ReadonlyOperation<"/repos/{owner}/{repo}/contributors", "get">;
2397
+ /**
2398
+ * @see https://docs.github.com/rest/copilot/copilot-cloud-agent-management#get-copilot-cloud-agent-configuration-for-a-repository
2399
+ */
2400
+ "GET /repos/{owner}/{repo}/copilot/cloud-agent/configuration": ReadonlyOperation<"/repos/{owner}/{repo}/copilot/cloud-agent/configuration", "get">;
2137
2401
  /**
2138
2402
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository
2139
2403
  */
@@ -2162,6 +2426,14 @@ export interface Endpoints {
2162
2426
  * @see https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository
2163
2427
  */
2164
2428
  "GET /repos/{owner}/{repo}/dependency-graph/sbom": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom", "get">;
2429
+ /**
2430
+ * @see https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository
2431
+ */
2432
+ "GET /repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}", "get">;
2433
+ /**
2434
+ * @see https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository
2435
+ */
2436
+ "GET /repos/{owner}/{repo}/dependency-graph/sbom/generate-report": ReadonlyOperation<"/repos/{owner}/{repo}/dependency-graph/sbom/generate-report", "get">;
2165
2437
  /**
2166
2438
  * @see https://docs.github.com/rest/deployments/deployments#list-deployments
2167
2439
  */
@@ -2258,6 +2530,10 @@ export interface Endpoints {
2258
2530
  * @see https://docs.github.com/rest/git/trees#get-a-tree
2259
2531
  */
2260
2532
  "GET /repos/{owner}/{repo}/git/trees/{tree_sha}": ReadonlyOperation<"/repos/{owner}/{repo}/git/trees/{tree_sha}", "get">;
2533
+ /**
2534
+ * @see https://docs.github.com/rest/repos/repos#get-the-hash-algorithm-for-a-repository
2535
+ */
2536
+ "GET /repos/{owner}/{repo}/hash-algorithm": ReadonlyOperation<"/repos/{owner}/{repo}/hash-algorithm", "get">;
2261
2537
  /**
2262
2538
  * @see https://docs.github.com/rest/repos/webhooks#list-repository-webhooks
2263
2539
  */
@@ -2302,10 +2578,22 @@ export interface Endpoints {
2302
2578
  * @see https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository
2303
2579
  */
2304
2580
  "GET /repos/{owner}/{repo}/interaction-limits": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits", "get">;
2581
+ /**
2582
+ * @see https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-bypass-list-for-a-repository
2583
+ */
2584
+ "GET /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "get">;
2585
+ /**
2586
+ * @see https://docs.github.com/rest/interactions/repos#get-pull-request-creation-cap-for-a-repository
2587
+ */
2588
+ "GET /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap": ReadonlyOperation<"/repos/{owner}/{repo}/interaction-limits/pulls/creation-cap", "get">;
2305
2589
  /**
2306
2590
  * @see https://docs.github.com/rest/collaborators/invitations#list-repository-invitations
2307
2591
  */
2308
2592
  "GET /repos/{owner}/{repo}/invitations": ReadonlyOperation<"/repos/{owner}/{repo}/invitations", "get">;
2593
+ /**
2594
+ * @see https://docs.github.com/rest/repos/issue-types#list-issue-types-for-a-repository
2595
+ */
2596
+ "GET /repos/{owner}/{repo}/issue-types": ReadonlyOperation<"/repos/{owner}/{repo}/issue-types", "get">;
2309
2597
  /**
2310
2598
  * @see https://docs.github.com/rest/issues/issues#list-repository-issues
2311
2599
  */
@@ -2354,6 +2642,10 @@ export interface Endpoints {
2354
2642
  * @see https://docs.github.com/rest/issues/events#list-issue-events
2355
2643
  */
2356
2644
  "GET /repos/{owner}/{repo}/issues/{issue_number}/events": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/events", "get">;
2645
+ /**
2646
+ * @see https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue
2647
+ */
2648
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "get">;
2357
2649
  /**
2358
2650
  * @see https://docs.github.com/rest/issues/labels#list-labels-for-an-issue
2359
2651
  */
@@ -2366,10 +2658,18 @@ export interface Endpoints {
2366
2658
  * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue
2367
2659
  */
2368
2660
  "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "get">;
2661
+ /**
2662
+ * @see https://docs.github.com/rest/issues/issues#list-issues-related-to-an-issue
2663
+ */
2664
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/relates_to": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/relates_to", "get">;
2369
2665
  /**
2370
2666
  * @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues
2371
2667
  */
2372
2668
  "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "get">;
2669
+ /**
2670
+ * @see https://docs.github.com/rest/issues/issues#list-issue-suggestions
2671
+ */
2672
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/suggestions": ReadonlyOperation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions", "get">;
2373
2673
  /**
2374
2674
  * @see https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
2375
2675
  */
@@ -2482,6 +2782,10 @@ export interface Endpoints {
2482
2782
  * @see https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged
2483
2783
  */
2484
2784
  "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": ReadonlyOperation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "get">;
2785
+ /**
2786
+ * @see https://docs.github.com/rest/pulls/pulls#get-the-result-of-an-asynchronous-merge
2787
+ */
2788
+ "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}": ReadonlyOperation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge-async/{uuid}", "get">;
2485
2789
  /**
2486
2790
  * @see https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request
2487
2791
  */
@@ -2574,6 +2878,10 @@ export interface Endpoints {
2574
2878
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
2575
2879
  */
2576
2880
  "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": ReadonlyOperation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get">;
2881
+ /**
2882
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#list-repository-custom-patterns
2883
+ */
2884
+ "GET /repos/{owner}/{repo}/secret-scanning/custom-patterns": ReadonlyOperation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "get">;
2577
2885
  /**
2578
2886
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository
2579
2887
  */
@@ -2586,10 +2894,26 @@ export interface Endpoints {
2586
2894
  * @see https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory
2587
2895
  */
2588
2896
  "GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}": ReadonlyOperation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}", "get">;
2897
+ /**
2898
+ * @see https://docs.github.com/rest/pulls/stacks#list-pull-request-stacks
2899
+ */
2900
+ "GET /repos/{owner}/{repo}/stacks": ReadonlyOperation<"/repos/{owner}/{repo}/stacks", "get">;
2901
+ /**
2902
+ * @see https://docs.github.com/rest/pulls/stacks#get-a-pull-request-stack
2903
+ */
2904
+ "GET /repos/{owner}/{repo}/stacks/{stack_number}": ReadonlyOperation<"/repos/{owner}/{repo}/stacks/{stack_number}", "get">;
2589
2905
  /**
2590
2906
  * @see https://docs.github.com/rest/activity/starring#list-stargazers
2591
2907
  */
2592
2908
  "GET /repos/{owner}/{repo}/stargazers": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers", "get">;
2909
+ /**
2910
+ * @see https://docs.github.com/rest/activity/starring#get-stargazer-count
2911
+ */
2912
+ "GET /repos/{owner}/{repo}/stargazers/count": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers/count", "get">;
2913
+ /**
2914
+ * @see https://docs.github.com/rest/activity/starring#get-repository-star-history
2915
+ */
2916
+ "GET /repos/{owner}/{repo}/stargazers/history": ReadonlyOperation<"/repos/{owner}/{repo}/stargazers/history", "get">;
2593
2917
  /**
2594
2918
  * @see https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity
2595
2919
  */
@@ -2622,10 +2946,6 @@ export interface Endpoints {
2622
2946
  * @see https://docs.github.com/rest/repos/repos#list-repository-tags
2623
2947
  */
2624
2948
  "GET /repos/{owner}/{repo}/tags": ReadonlyOperation<"/repos/{owner}/{repo}/tags", "get">;
2625
- /**
2626
- * @see https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository
2627
- */
2628
- "GET /repos/{owner}/{repo}/tags/protection": ReadonlyOperation<"/repos/{owner}/{repo}/tags/protection", "get">;
2629
2949
  /**
2630
2950
  * @see https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar
2631
2951
  */
@@ -2698,30 +3018,6 @@ export interface Endpoints {
2698
3018
  * @see https://docs.github.com/rest/teams/teams#get-a-team-legacy
2699
3019
  */
2700
3020
  "GET /teams/{team_id}": ReadonlyOperation<"/teams/{team_id}", "get">;
2701
- /**
2702
- * @see https://docs.github.com/rest/teams/discussions#list-discussions-legacy
2703
- */
2704
- "GET /teams/{team_id}/discussions": ReadonlyOperation<"/teams/{team_id}/discussions", "get">;
2705
- /**
2706
- * @see https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy
2707
- */
2708
- "GET /teams/{team_id}/discussions/{discussion_number}": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}", "get">;
2709
- /**
2710
- * @see https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy
2711
- */
2712
- "GET /teams/{team_id}/discussions/{discussion_number}/comments": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments", "get">;
2713
- /**
2714
- * @see https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy
2715
- */
2716
- "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "get">;
2717
- /**
2718
- * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy
2719
- */
2720
- "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "get">;
2721
- /**
2722
- * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy
2723
- */
2724
- "GET /teams/{team_id}/discussions/{discussion_number}/reactions": ReadonlyOperation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "get">;
2725
3021
  /**
2726
3022
  * @see https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy
2727
3023
  */
@@ -2954,6 +3250,26 @@ export interface Endpoints {
2954
3250
  * @see https://docs.github.com/rest/users/attestations#list-attestations
2955
3251
  */
2956
3252
  "GET /users/{username}/attestations/{subject_digest}": ReadonlyOperation<"/users/{username}/attestations/{subject_digest}", "get">;
3253
+ /**
3254
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#list-copilot-spaces-for-a-user
3255
+ */
3256
+ "GET /users/{username}/copilot-spaces": ReadonlyOperation<"/users/{username}/copilot-spaces", "get">;
3257
+ /**
3258
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#get-a-copilot-space-for-a-user
3259
+ */
3260
+ "GET /users/{username}/copilot-spaces/{space_number}": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}", "get">;
3261
+ /**
3262
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#list-collaborators-for-a-copilot-space-for-a-user
3263
+ */
3264
+ "GET /users/{username}/copilot-spaces/{space_number}/collaborators": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/collaborators", "get">;
3265
+ /**
3266
+ * @see https://docs.github.com/rest/copilot-spaces/resources#list-resources-for-a-copilot-space-for-a-user
3267
+ */
3268
+ "GET /users/{username}/copilot-spaces/{space_number}/resources": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/resources", "get">;
3269
+ /**
3270
+ * @see https://docs.github.com/rest/copilot-spaces/resources#get-a-resource-for-a-copilot-space-for-a-user
3271
+ */
3272
+ "GET /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": ReadonlyOperation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "get">;
2957
3273
  /**
2958
3274
  * @see https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user
2959
3275
  */
@@ -3046,6 +3362,10 @@ export interface Endpoints {
3046
3362
  * @see https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project
3047
3363
  */
3048
3364
  "GET /users/{username}/projectsV2/{project_number}/items/{item_id}": ReadonlyOperation<"/users/{username}/projectsV2/{project_number}/items/{item_id}", "get">;
3365
+ /**
3366
+ * @see https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view
3367
+ */
3368
+ "GET /users/{username}/projectsV2/{project_number}/views/{view_number}/items": ReadonlyOperation<"/users/{username}/projectsV2/{project_number}/views/{view_number}/items", "get">;
3049
3369
  /**
3050
3370
  * @see https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user
3051
3371
  */
@@ -3058,6 +3378,10 @@ export interface Endpoints {
3058
3378
  * @see https://docs.github.com/rest/repos/repos#list-repositories-for-a-user
3059
3379
  */
3060
3380
  "GET /users/{username}/repos": ReadonlyOperation<"/users/{username}/repos", "get">;
3381
+ /**
3382
+ * @see https://docs.github.com/rest/billing/usage#get-billing-ai-credit-usage-report-for-a-user
3383
+ */
3384
+ "GET /users/{username}/settings/billing/ai_credit/usage": ReadonlyOperation<"/users/{username}/settings/billing/ai_credit/usage", "get">;
3061
3385
  /**
3062
3386
  * @see https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user
3063
3387
  */
@@ -3107,9 +3431,9 @@ export interface Endpoints {
3107
3431
  */
3108
3432
  "PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "patch">;
3109
3433
  /**
3110
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team
3434
+ * @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-enterprise
3111
3435
  */
3112
- "PATCH /enterprises/{enterprise}/teams/{team_slug}": Operation<"/enterprises/{enterprise}/teams/{team_slug}", "patch">;
3436
+ "PATCH /enterprises/{enterprise}/dependabot/repository-access": Operation<"/enterprises/{enterprise}/dependabot/repository-access", "patch">;
3113
3437
  /**
3114
3438
  * @see https://docs.github.com/rest/reference/gists/#update-a-gist
3115
3439
  */
@@ -3122,14 +3446,6 @@ export interface Endpoints {
3122
3446
  * @see https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read
3123
3447
  */
3124
3448
  "PATCH /notifications/threads/{thread_id}": Operation<"/notifications/threads/{thread_id}", "patch">;
3125
- /**
3126
- * @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization
3127
- */
3128
- "PATCH /organizations/{org}/dependabot/repository-access": Operation<"/organizations/{org}/dependabot/repository-access", "patch">;
3129
- /**
3130
- * @see https://docs.github.com/rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization
3131
- */
3132
- "PATCH /organizations/{org}/org-properties/values": Operation<"/organizations/{org}/org-properties/values", "patch">;
3133
3449
  /**
3134
3450
  * @see https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization
3135
3451
  */
@@ -3150,14 +3466,26 @@ export interface Endpoints {
3150
3466
  * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
3151
3467
  */
3152
3468
  "PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">;
3469
+ /**
3470
+ * @see https://docs.github.com/rest/agents/variables#update-an-organization-variable
3471
+ */
3472
+ "PATCH /orgs/{org}/agents/variables/{name}": Operation<"/orgs/{org}/agents/variables/{name}", "patch">;
3153
3473
  /**
3154
3474
  * @see https://docs.github.com/rest/campaigns/campaigns#update-a-campaign
3155
3475
  */
3156
3476
  "PATCH /orgs/{org}/campaigns/{campaign_number}": Operation<"/orgs/{org}/campaigns/{campaign_number}", "patch">;
3477
+ /**
3478
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#update-the-ai-scan-setting-for-an-organization
3479
+ */
3480
+ "PATCH /orgs/{org}/code-scanning/ai-scan": Operation<"/orgs/{org}/code-scanning/ai-scan", "patch">;
3157
3481
  /**
3158
3482
  * @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
3159
3483
  */
3160
3484
  "PATCH /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "patch">;
3485
+ /**
3486
+ * @see https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization
3487
+ */
3488
+ "PATCH /orgs/{org}/dependabot/repository-access": Operation<"/orgs/{org}/dependabot/repository-access", "patch">;
3161
3489
  /**
3162
3490
  * @see https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook
3163
3491
  */
@@ -3166,6 +3494,14 @@ export interface Endpoints {
3166
3494
  * @see https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization
3167
3495
  */
3168
3496
  "PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
3497
+ /**
3498
+ * @see https://docs.github.com/rest/interactions/orgs#update-pull-request-creation-cap-for-an-org
3499
+ */
3500
+ "PATCH /orgs/{org}/interaction-limits/pulls/creation-cap": Operation<"/orgs/{org}/interaction-limits/pulls/creation-cap", "patch">;
3501
+ /**
3502
+ * @see https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization
3503
+ */
3504
+ "PATCH /orgs/{org}/issue-fields/{issue_field_id}": Operation<"/orgs/{org}/issue-fields/{issue_field_id}", "patch">;
3169
3505
  /**
3170
3506
  * @see https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization
3171
3507
  */
@@ -3174,6 +3510,14 @@ export interface Endpoints {
3174
3510
  * @see https://docs.github.com/rest/projects/items#update-project-item-for-organization
3175
3511
  */
3176
3512
  "PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}": Operation<"/orgs/{org}/projectsV2/{project_number}/items/{item_id}", "patch">;
3513
+ /**
3514
+ * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-external-custom-property-values-for-organization-repositories
3515
+ */
3516
+ "PATCH /orgs/{org}/properties/installations/values": Operation<"/orgs/{org}/properties/installations/values", "patch">;
3517
+ /**
3518
+ * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-external-custom-property-values-for-a-property-across-organization-repositories
3519
+ */
3520
+ "PATCH /orgs/{org}/properties/installations/values/{property_name}": Operation<"/orgs/{org}/properties/installations/values/{property_name}", "patch">;
3177
3521
  /**
3178
3522
  * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization
3179
3523
  */
@@ -3182,6 +3526,10 @@ export interface Endpoints {
3182
3526
  * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories
3183
3527
  */
3184
3528
  "PATCH /orgs/{org}/properties/values": Operation<"/orgs/{org}/properties/values", "patch">;
3529
+ /**
3530
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#update-an-organization-custom-pattern
3531
+ */
3532
+ "PATCH /orgs/{org}/secret-scanning/custom-patterns/{pattern_id}": Operation<"/orgs/{org}/secret-scanning/custom-patterns/{pattern_id}", "patch">;
3185
3533
  /**
3186
3534
  * @see https://docs.github.com/rest/secret-scanning/push-protection#update-organization-pattern-configurations
3187
3535
  */
@@ -3194,14 +3542,6 @@ export interface Endpoints {
3194
3542
  * @see https://docs.github.com/rest/teams/teams#update-a-team
3195
3543
  */
3196
3544
  "PATCH /orgs/{org}/teams/{team_slug}": Operation<"/orgs/{org}/teams/{team_slug}", "patch">;
3197
- /**
3198
- * @see https://docs.github.com/rest/teams/discussions#update-a-discussion
3199
- */
3200
- "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", "patch">;
3201
- /**
3202
- * @see https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment
3203
- */
3204
- "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">;
3205
3545
  /**
3206
3546
  * @see https://docs.github.com/rest/repos/repos#update-a-repository
3207
3547
  */
@@ -3210,6 +3550,10 @@ export interface Endpoints {
3210
3550
  * @see https://docs.github.com/rest/actions/variables#update-a-repository-variable
3211
3551
  */
3212
3552
  "PATCH /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "patch">;
3553
+ /**
3554
+ * @see https://docs.github.com/rest/agents/variables#update-a-repository-variable
3555
+ */
3556
+ "PATCH /repos/{owner}/{repo}/agents/variables/{name}": Operation<"/repos/{owner}/{repo}/agents/variables/{name}", "patch">;
3213
3557
  /**
3214
3558
  * @see https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection
3215
3559
  */
@@ -3226,6 +3570,14 @@ export interface Endpoints {
3226
3570
  * @see https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites
3227
3571
  */
3228
3572
  "PATCH /repos/{owner}/{repo}/check-suites/preferences": Operation<"/repos/{owner}/{repo}/check-suites/preferences", "patch">;
3573
+ /**
3574
+ * @see https://docs.github.com/rest/code-quality/code-quality#update-a-code-quality-setup-configuration
3575
+ */
3576
+ "PATCH /repos/{owner}/{repo}/code-quality/setup": Operation<"/repos/{owner}/{repo}/code-quality/setup", "patch">;
3577
+ /**
3578
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#update-ai-scan-enablement-for-a-repository
3579
+ */
3580
+ "PATCH /repos/{owner}/{repo}/code-scanning/ai-scan": Operation<"/repos/{owner}/{repo}/code-scanning/ai-scan", "patch">;
3229
3581
  /**
3230
3582
  * @see https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert
3231
3583
  */
@@ -3270,6 +3622,10 @@ export interface Endpoints {
3270
3622
  * @see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference
3271
3623
  */
3272
3624
  "PATCH /repos/{owner}/{repo}/import/lfs": Operation<"/repos/{owner}/{repo}/import/lfs", "patch">;
3625
+ /**
3626
+ * @see https://docs.github.com/rest/interactions/repos#update-pull-request-creation-cap-for-a-repository
3627
+ */
3628
+ "PATCH /repos/{owner}/{repo}/interaction-limits/pulls/creation-cap": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/creation-cap", "patch">;
3273
3629
  /**
3274
3630
  * @see https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation
3275
3631
  */
@@ -3318,6 +3674,10 @@ export interface Endpoints {
3318
3674
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert
3319
3675
  */
3320
3676
  "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch">;
3677
+ /**
3678
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#update-a-repository-custom-pattern
3679
+ */
3680
+ "PATCH /repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns/{pattern_id}", "patch">;
3321
3681
  /**
3322
3682
  * @see https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
3323
3683
  */
@@ -3326,14 +3686,6 @@ export interface Endpoints {
3326
3686
  * @see https://docs.github.com/rest/teams/teams#update-a-team-legacy
3327
3687
  */
3328
3688
  "PATCH /teams/{team_id}": Operation<"/teams/{team_id}", "patch">;
3329
- /**
3330
- * @see https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy
3331
- */
3332
- "PATCH /teams/{team_id}/discussions/{discussion_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}", "patch">;
3333
- /**
3334
- * @see https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy
3335
- */
3336
- "PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
3337
3689
  /**
3338
3690
  * @see https://docs.github.com/rest/users/users#update-the-authenticated-user
3339
3691
  */
@@ -3358,6 +3710,10 @@ export interface Endpoints {
3358
3710
  * @see https://docs.github.com/rest/projects/items#update-project-item-for-user
3359
3711
  */
3360
3712
  "PATCH /users/{username}/projectsV2/{project_number}/items/{item_id}": Operation<"/users/{username}/projectsV2/{project_number}/items/{item_id}", "patch">;
3713
+ /**
3714
+ * @see https://docs.github.com/rest/agent-tasks/agent-tasks#start-a-task
3715
+ */
3716
+ "POST /agents/repos/{owner}/{repo}/tasks": Operation<"/agents/repos/{owner}/{repo}/tasks", "post">;
3361
3717
  /**
3362
3718
  * @see https://docs.github.com/rest/apps/apps#create-a-github-app-from-a-manifest
3363
3719
  */
@@ -3382,6 +3738,10 @@ export interface Endpoints {
3382
3738
  * @see https://docs.github.com/rest/credentials/revoke#revoke-a-list-of-credentials
3383
3739
  */
3384
3740
  "POST /credentials/revoke": Operation<"/credentials/revoke", "post">;
3741
+ /**
3742
+ * @see https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-enterprise
3743
+ */
3744
+ "POST /enterprises/{enterprise}/actions/oidc/customization/properties/repo": Operation<"/enterprises/{enterprise}/actions/oidc/customization/properties/repo", "post">;
3385
3745
  /**
3386
3746
  * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise
3387
3747
  */
@@ -3391,25 +3751,9 @@ export interface Endpoints {
3391
3751
  */
3392
3752
  "POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach", "post">;
3393
3753
  /**
3394
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-teams#create-an-enterprise-team
3395
- */
3396
- "POST /enterprises/{enterprise}/teams": Operation<"/enterprises/{enterprise}/teams", "post">;
3397
- /**
3398
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members
3399
- */
3400
- "POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/add", "post">;
3401
- /**
3402
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members
3403
- */
3404
- "POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove", "post">;
3405
- /**
3406
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments
3407
- */
3408
- "POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add", "post">;
3409
- /**
3410
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments
3754
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy
3411
3755
  */
3412
- "POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove", "post">;
3756
+ "POST /enterprises/{enterprise}/copilot/policies/coding_agent/organizations": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent/organizations", "post">;
3413
3757
  /**
3414
3758
  * @see https://docs.github.com/rest/gists/gists#create-a-gist
3415
3759
  */
@@ -3430,10 +3774,22 @@ export interface Endpoints {
3430
3774
  * @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
3431
3775
  */
3432
3776
  "POST /markdown/raw": Operation<"/markdown/raw", "post">;
3777
+ /**
3778
+ * @see https://docs.github.com/rest/billing/budgets#create-a-budget-for-an-organization
3779
+ */
3780
+ "POST /organizations/{org}/settings/billing/budgets": Operation<"/organizations/{org}/settings/billing/budgets", "post">;
3433
3781
  /**
3434
3782
  * @see https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization
3435
3783
  */
3436
3784
  "POST /orgs/{org}/actions/hosted-runners": Operation<"/orgs/{org}/actions/hosted-runners", "post">;
3785
+ /**
3786
+ * @see https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization
3787
+ */
3788
+ "POST /orgs/{org}/actions/oidc/customization/properties/repo": Operation<"/orgs/{org}/actions/oidc/customization/properties/repo", "post">;
3789
+ /**
3790
+ * @see https://docs.github.com/rest/actions/policies#create-an-organization-actions-policy
3791
+ */
3792
+ "POST /orgs/{org}/actions/policies": Operation<"/orgs/{org}/actions/policies", "post">;
3437
3793
  /**
3438
3794
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
3439
3795
  */
@@ -3458,6 +3814,10 @@ export interface Endpoints {
3458
3814
  * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
3459
3815
  */
3460
3816
  "POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
3817
+ /**
3818
+ * @see https://docs.github.com/rest/agents/variables#create-an-organization-variable
3819
+ */
3820
+ "POST /orgs/{org}/agents/variables": Operation<"/orgs/{org}/agents/variables", "post">;
3461
3821
  /**
3462
3822
  * @see https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record
3463
3823
  */
@@ -3466,6 +3826,10 @@ export interface Endpoints {
3466
3826
  * @see https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records
3467
3827
  */
3468
3828
  "POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}": Operation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}", "post">;
3829
+ /**
3830
+ * @see https://docs.github.com/rest/orgs/artifact-metadata#create-a-cluster-deployment-records-job
3831
+ */
3832
+ "POST /orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs": Operation<"/orgs/{org}/artifacts/metadata/deployment-record/cluster/{cluster}/jobs", "post">;
3469
3833
  /**
3470
3834
  * @see https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record
3471
3835
  */
@@ -3494,6 +3858,18 @@ export interface Endpoints {
3494
3858
  * @see https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization
3495
3859
  */
3496
3860
  "POST /orgs/{org}/codespaces/access/selected_users": Operation<"/orgs/{org}/codespaces/access/selected_users", "post">;
3861
+ /**
3862
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-an-organization-copilot-space
3863
+ */
3864
+ "POST /orgs/{org}/copilot-spaces": Operation<"/orgs/{org}/copilot-spaces", "post">;
3865
+ /**
3866
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-an-organization-copilot-space
3867
+ */
3868
+ "POST /orgs/{org}/copilot-spaces/{space_number}/collaborators": Operation<"/orgs/{org}/copilot-spaces/{space_number}/collaborators", "post">;
3869
+ /**
3870
+ * @see https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-an-organization-copilot-space
3871
+ */
3872
+ "POST /orgs/{org}/copilot-spaces/{space_number}/resources": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources", "post">;
3497
3873
  /**
3498
3874
  * @see https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization
3499
3875
  */
@@ -3518,6 +3894,10 @@ export interface Endpoints {
3518
3894
  * @see https://docs.github.com/rest/orgs/members#create-an-organization-invitation
3519
3895
  */
3520
3896
  "POST /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "post">;
3897
+ /**
3898
+ * @see https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization
3899
+ */
3900
+ "POST /orgs/{org}/issue-fields": Operation<"/orgs/{org}/issue-fields", "post">;
3521
3901
  /**
3522
3902
  * @see https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization
3523
3903
  */
@@ -3570,6 +3950,14 @@ export interface Endpoints {
3570
3950
  * @see https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project
3571
3951
  */
3572
3952
  "POST /orgs/{org}/projectsV2/{project_number}/items": Operation<"/orgs/{org}/projectsV2/{project_number}/items", "post">;
3953
+ /**
3954
+ * @see https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project
3955
+ */
3956
+ "POST /orgs/{org}/projectsV2/{project_number}/views": Operation<"/orgs/{org}/projectsV2/{project_number}/views", "post">;
3957
+ /**
3958
+ * @see https://docs.github.com/rest/orgs/custom-properties#register-an-app-installation-for-external-custom-properties
3959
+ */
3960
+ "POST /orgs/{org}/properties/installations": Operation<"/orgs/{org}/properties/installations", "post">;
3573
3961
  /**
3574
3962
  * @see https://docs.github.com/rest/repos/repos#create-an-organization-repository
3575
3963
  */
@@ -3578,6 +3966,10 @@ export interface Endpoints {
3578
3966
  * @see https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset
3579
3967
  */
3580
3968
  "POST /orgs/{org}/rulesets": Operation<"/orgs/{org}/rulesets", "post">;
3969
+ /**
3970
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-create-organization-custom-patterns
3971
+ */
3972
+ "POST /orgs/{org}/secret-scanning/custom-patterns": Operation<"/orgs/{org}/secret-scanning/custom-patterns", "post">;
3581
3973
  /**
3582
3974
  * @see https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization
3583
3975
  */
@@ -3586,22 +3978,6 @@ export interface Endpoints {
3586
3978
  * @see https://docs.github.com/rest/teams/teams#create-a-team
3587
3979
  */
3588
3980
  "POST /orgs/{org}/teams": Operation<"/orgs/{org}/teams", "post">;
3589
- /**
3590
- * @see https://docs.github.com/rest/teams/discussions#create-a-discussion
3591
- */
3592
- "POST /orgs/{org}/teams/{team_slug}/discussions": Operation<"/orgs/{org}/teams/{team_slug}/discussions", "post">;
3593
- /**
3594
- * @see https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment
3595
- */
3596
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "post">;
3597
- /**
3598
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment
3599
- */
3600
- "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">;
3601
- /**
3602
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion
3603
- */
3604
- "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "post">;
3605
3981
  /**
3606
3982
  * @see https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization
3607
3983
  */
@@ -3610,6 +3986,10 @@ export interface Endpoints {
3610
3986
  * @see https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run
3611
3987
  */
3612
3988
  "POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/rerun", "post">;
3989
+ /**
3990
+ * @see https://docs.github.com/rest/actions/policies#create-a-repository-actions-policy
3991
+ */
3992
+ "POST /repos/{owner}/{repo}/actions/policies": Operation<"/repos/{owner}/{repo}/actions/policies", "post">;
3613
3993
  /**
3614
3994
  * @see https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository
3615
3995
  */
@@ -3662,6 +4042,10 @@ export interface Endpoints {
3662
4042
  * @see https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event
3663
4043
  */
3664
4044
  "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">;
4045
+ /**
4046
+ * @see https://docs.github.com/rest/agents/variables#create-a-repository-variable
4047
+ */
4048
+ "POST /repos/{owner}/{repo}/agents/variables": Operation<"/repos/{owner}/{repo}/agents/variables", "post">;
3665
4049
  /**
3666
4050
  * @see https://docs.github.com/rest/repos/attestations#create-an-attestation
3667
4051
  */
@@ -3830,6 +4214,10 @@ export interface Endpoints {
3830
4214
  * @see https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by
3831
4215
  */
3832
4216
  "POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by", "post">;
4217
+ /**
4218
+ * @see https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue
4219
+ */
4220
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "post">;
3833
4221
  /**
3834
4222
  * @see https://docs.github.com/rest/issues/labels#add-labels-to-an-issue
3835
4223
  */
@@ -3838,10 +4226,22 @@ export interface Endpoints {
3838
4226
  * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue
3839
4227
  */
3840
4228
  "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "post">;
4229
+ /**
4230
+ * @see https://docs.github.com/rest/issues/issues#add-a-related-issue
4231
+ */
4232
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/relates_to": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/relates_to", "post">;
3841
4233
  /**
3842
4234
  * @see https://docs.github.com/rest/issues/sub-issues#add-sub-issue
3843
4235
  */
3844
4236
  "POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "post">;
4237
+ /**
4238
+ * @see https://docs.github.com/rest/issues/issues#approve-an-issue-suggestion
4239
+ */
4240
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/approve": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/approve", "post">;
4241
+ /**
4242
+ * @see https://docs.github.com/rest/issues/issues#dismiss-an-issue-suggestion
4243
+ */
4244
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/dismiss": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/suggestions/{suggestion_id}/dismiss", "post">;
3845
4245
  /**
3846
4246
  * @see https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
3847
4247
  */
@@ -3902,6 +4302,10 @@ export interface Endpoints {
3902
4302
  * @see https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request
3903
4303
  */
3904
4304
  "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", "post">;
4305
+ /**
4306
+ * @see https://docs.github.com/rest/pulls/review-requests#rerequest-reviewers-for-a-pull-request
4307
+ */
4308
+ "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers/rerequest": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers/rerequest", "post">;
3905
4309
  /**
3906
4310
  * @see https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request
3907
4311
  */
@@ -3926,6 +4330,10 @@ export interface Endpoints {
3926
4330
  * @see https://docs.github.com/rest/repos/rules#create-a-repository-ruleset
3927
4331
  */
3928
4332
  "POST /repos/{owner}/{repo}/rulesets": Operation<"/repos/{owner}/{repo}/rulesets", "post">;
4333
+ /**
4334
+ * @see https://docs.github.com/rest/secret-scanning/custom-patterns#bulk-create-repository-custom-patterns
4335
+ */
4336
+ "POST /repos/{owner}/{repo}/secret-scanning/custom-patterns": Operation<"/repos/{owner}/{repo}/secret-scanning/custom-patterns", "post">;
3929
4337
  /**
3930
4338
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass
3931
4339
  */
@@ -3947,37 +4355,29 @@ export interface Endpoints {
3947
4355
  */
3948
4356
  "POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks", "post">;
3949
4357
  /**
3950
- * @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
4358
+ * @see https://docs.github.com/rest/pulls/stacks#create-a-pull-request-stack
3951
4359
  */
3952
- "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
4360
+ "POST /repos/{owner}/{repo}/stacks": Operation<"/repos/{owner}/{repo}/stacks", "post">;
3953
4361
  /**
3954
- * @see https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository
4362
+ * @see https://docs.github.com/rest/pulls/stacks#add-pull-requests-to-a-pull-request-stack
3955
4363
  */
3956
- "POST /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "post">;
4364
+ "POST /repos/{owner}/{repo}/stacks/{stack_number}/add": Operation<"/repos/{owner}/{repo}/stacks/{stack_number}/add", "post">;
3957
4365
  /**
3958
- * @see https://docs.github.com/rest/repos/repos#transfer-a-repository
4366
+ * @see https://docs.github.com/rest/pulls/stacks#remove-pull-requests-from-a-pull-request-stack
3959
4367
  */
3960
- "POST /repos/{owner}/{repo}/transfer": Operation<"/repos/{owner}/{repo}/transfer", "post">;
4368
+ "POST /repos/{owner}/{repo}/stacks/{stack_number}/unstack": Operation<"/repos/{owner}/{repo}/stacks/{stack_number}/unstack", "post">;
3961
4369
  /**
3962
- * @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
3963
- */
3964
- "POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
3965
- /**
3966
- * @see https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy
3967
- */
3968
- "POST /teams/{team_id}/discussions": Operation<"/teams/{team_id}/discussions", "post">;
3969
- /**
3970
- * @see https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy
4370
+ * @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
3971
4371
  */
3972
- "POST /teams/{team_id}/discussions/{discussion_number}/comments": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments", "post">;
4372
+ "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
3973
4373
  /**
3974
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy
4374
+ * @see https://docs.github.com/rest/repos/repos#transfer-a-repository
3975
4375
  */
3976
- "POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "post">;
4376
+ "POST /repos/{owner}/{repo}/transfer": Operation<"/repos/{owner}/{repo}/transfer", "post">;
3977
4377
  /**
3978
- * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy
4378
+ * @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
3979
4379
  */
3980
- "POST /teams/{team_id}/discussions/{discussion_number}/reactions": Operation<"/teams/{team_id}/discussions/{discussion_number}/reactions", "post">;
4380
+ "POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
3981
4381
  /**
3982
4382
  * @see https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-for-the-authenticated-user
3983
4383
  */
@@ -4038,6 +4438,10 @@ export interface Endpoints {
4038
4438
  * @see https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project
4039
4439
  */
4040
4440
  "POST /user/{user_id}/projectsV2/{project_number}/drafts": Operation<"/user/{user_id}/projectsV2/{project_number}/drafts", "post">;
4441
+ /**
4442
+ * @see https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project
4443
+ */
4444
+ "POST /users/{user_id}/projectsV2/{project_number}/views": Operation<"/users/{user_id}/projectsV2/{project_number}/views", "post">;
4041
4445
  /**
4042
4446
  * @see https://docs.github.com/rest/users/attestations#list-attestations-by-bulk-subject-digests
4043
4447
  */
@@ -4046,6 +4450,18 @@ export interface Endpoints {
4046
4450
  * @see https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk
4047
4451
  */
4048
4452
  "POST /users/{username}/attestations/delete-request": Operation<"/users/{username}/attestations/delete-request", "post">;
4453
+ /**
4454
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#create-a-copilot-space-for-a-user
4455
+ */
4456
+ "POST /users/{username}/copilot-spaces": Operation<"/users/{username}/copilot-spaces", "post">;
4457
+ /**
4458
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#add-a-collaborator-to-a-copilot-space-for-a-user
4459
+ */
4460
+ "POST /users/{username}/copilot-spaces/{space_number}/collaborators": Operation<"/users/{username}/copilot-spaces/{space_number}/collaborators", "post">;
4461
+ /**
4462
+ * @see https://docs.github.com/rest/copilot-spaces/resources#create-a-resource-for-a-copilot-space-for-a-user
4463
+ */
4464
+ "POST /users/{username}/copilot-spaces/{space_number}/resources": Operation<"/users/{username}/copilot-spaces/{space_number}/resources", "post">;
4049
4465
  /**
4050
4466
  * @see https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user
4051
4467
  */
@@ -4083,13 +4499,13 @@ export interface Endpoints {
4083
4499
  */
4084
4500
  "PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults", "put">;
4085
4501
  /**
4086
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member
4502
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise
4087
4503
  */
4088
- "PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}", "put">;
4504
+ "PUT /enterprises/{enterprise}/copilot/policies/coding_agent": Operation<"/enterprises/{enterprise}/copilot/policies/coding_agent", "put">;
4089
4505
  /**
4090
- * @see https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment
4506
+ * @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot-in-an-enterprise
4091
4507
  */
4092
- "PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": Operation<"/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}", "put">;
4508
+ "PUT /enterprises/{enterprise}/dependabot/repository-access/default-level": Operation<"/enterprises/{enterprise}/dependabot/repository-access/default-level", "put">;
4093
4509
  /**
4094
4510
  * @see https://docs.github.com/rest/gists/gists#star-a-gist
4095
4511
  */
@@ -4110,10 +4526,6 @@ export interface Endpoints {
4110
4526
  * @see https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization
4111
4527
  */
4112
4528
  "PUT /organizations/{org}/actions/cache/storage-limit": Operation<"/organizations/{org}/actions/cache/storage-limit", "put">;
4113
- /**
4114
- * @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot
4115
- */
4116
- "PUT /organizations/{org}/dependabot/repository-access/default-level": Operation<"/organizations/{org}/dependabot/repository-access/default-level", "put">;
4117
4529
  /**
4118
4530
  * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization
4119
4531
  */
@@ -4162,6 +4574,10 @@ export interface Endpoints {
4162
4574
  * @see https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization
4163
4575
  */
4164
4576
  "PUT /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "put">;
4577
+ /**
4578
+ * @see https://docs.github.com/rest/actions/policies#update-an-organization-actions-policy
4579
+ */
4580
+ "PUT /orgs/{org}/actions/policies/{policy_id}": Operation<"/orgs/{org}/actions/policies/{policy_id}", "put">;
4165
4581
  /**
4166
4582
  * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization
4167
4583
  */
@@ -4202,6 +4618,26 @@ export interface Endpoints {
4202
4618
  * @see https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable
4203
4619
  */
4204
4620
  "PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "put">;
4621
+ /**
4622
+ * @see https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret
4623
+ */
4624
+ "PUT /orgs/{org}/agents/secrets/{secret_name}": Operation<"/orgs/{org}/agents/secrets/{secret_name}", "put">;
4625
+ /**
4626
+ * @see https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret
4627
+ */
4628
+ "PUT /orgs/{org}/agents/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories", "put">;
4629
+ /**
4630
+ * @see https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret
4631
+ */
4632
+ "PUT /orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}", "put">;
4633
+ /**
4634
+ * @see https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable
4635
+ */
4636
+ "PUT /orgs/{org}/agents/variables/{name}/repositories": Operation<"/orgs/{org}/agents/variables/{name}/repositories", "put">;
4637
+ /**
4638
+ * @see https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable
4639
+ */
4640
+ "PUT /orgs/{org}/agents/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/agents/variables/{name}/repositories/{repository_id}", "put">;
4205
4641
  /**
4206
4642
  * @see https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization
4207
4643
  */
@@ -4226,6 +4662,38 @@ export interface Endpoints {
4226
4662
  * @see https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret
4227
4663
  */
4228
4664
  "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put">;
4665
+ /**
4666
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-an-organization-copilot-space
4667
+ */
4668
+ "PUT /orgs/{org}/copilot-spaces/{space_number}": Operation<"/orgs/{org}/copilot-spaces/{space_number}", "put">;
4669
+ /**
4670
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-an-organization-copilot-space
4671
+ */
4672
+ "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">;
4673
+ /**
4674
+ * @see https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-an-organization-copilot-space
4675
+ */
4676
+ "PUT /orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/orgs/{org}/copilot-spaces/{space_number}/resources/{space_resource_id}", "put">;
4677
+ /**
4678
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-cloud-agent-permissions-for-an-organization
4679
+ */
4680
+ "PUT /orgs/{org}/copilot/coding-agent/permissions": Operation<"/orgs/{org}/copilot/coding-agent/permissions", "put">;
4681
+ /**
4682
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-cloud-agent-in-an-organization
4683
+ */
4684
+ "PUT /orgs/{org}/copilot/coding-agent/permissions/repositories": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories", "put">;
4685
+ /**
4686
+ * @see https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-cloud-agent-in-an-organization
4687
+ */
4688
+ "PUT /orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/copilot/coding-agent/permissions/repositories/{repository_id}", "put">;
4689
+ /**
4690
+ * @see https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization
4691
+ */
4692
+ "PUT /orgs/{org}/copilot/content_exclusion": Operation<"/orgs/{org}/copilot/content_exclusion", "put">;
4693
+ /**
4694
+ * @see https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot
4695
+ */
4696
+ "PUT /orgs/{org}/dependabot/repository-access/default-level": Operation<"/orgs/{org}/dependabot/repository-access/default-level", "put">;
4229
4697
  /**
4230
4698
  * @see https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret
4231
4699
  */
@@ -4338,6 +4806,10 @@ export interface Endpoints {
4338
4806
  * @see https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository
4339
4807
  */
4340
4808
  "PUT /repos/{owner}/{repo}/actions/permissions/workflow": Operation<"/repos/{owner}/{repo}/actions/permissions/workflow", "put">;
4809
+ /**
4810
+ * @see https://docs.github.com/rest/actions/policies#update-a-repository-actions-policy
4811
+ */
4812
+ "PUT /repos/{owner}/{repo}/actions/policies/{policy_id}": Operation<"/repos/{owner}/{repo}/actions/policies/{policy_id}", "put">;
4341
4813
  /**
4342
4814
  * @see https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository
4343
4815
  */
@@ -4354,6 +4826,10 @@ export interface Endpoints {
4354
4826
  * @see https://docs.github.com/rest/actions/workflows#enable-a-workflow
4355
4827
  */
4356
4828
  "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", "put">;
4829
+ /**
4830
+ * @see https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret
4831
+ */
4832
+ "PUT /repos/{owner}/{repo}/agents/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/agents/secrets/{secret_name}", "put">;
4357
4833
  /**
4358
4834
  * @see https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
4359
4835
  */
@@ -4418,6 +4894,18 @@ export interface Endpoints {
4418
4894
  * @see https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository
4419
4895
  */
4420
4896
  "PUT /repos/{owner}/{repo}/interaction-limits": Operation<"/repos/{owner}/{repo}/interaction-limits", "put">;
4897
+ /**
4898
+ * @see https://docs.github.com/rest/interactions/repos#add-users-to-the-pull-request-creation-cap-bypass-list-for-a-repository
4899
+ */
4900
+ "PUT /repos/{owner}/{repo}/interaction-limits/pulls/bypass-list": Operation<"/repos/{owner}/{repo}/interaction-limits/pulls/bypass-list", "put">;
4901
+ /**
4902
+ * @see https://docs.github.com/rest/issues/comments#pin-an-issue-comment
4903
+ */
4904
+ "PUT /repos/{owner}/{repo}/issues/comments/{comment_id}/pin": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}/pin", "put">;
4905
+ /**
4906
+ * @see https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue
4907
+ */
4908
+ "PUT /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values", "put">;
4421
4909
  /**
4422
4910
  * @see https://docs.github.com/rest/issues/labels#set-labels-for-an-issue
4423
4911
  */
@@ -4442,6 +4930,10 @@ export interface Endpoints {
4442
4930
  * @see https://docs.github.com/rest/pulls/pulls#merge-a-pull-request
4443
4931
  */
4444
4932
  "PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge", "put">;
4933
+ /**
4934
+ * @see https://docs.github.com/rest/pulls/pulls#merge-a-pull-request-asynchronously
4935
+ */
4936
+ "PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge-async": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/merge-async", "put">;
4445
4937
  /**
4446
4938
  * @see https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request
4447
4939
  */
@@ -4514,6 +5006,18 @@ export interface Endpoints {
4514
5006
  * @see https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user
4515
5007
  */
4516
5008
  "PUT /user/starred/{owner}/{repo}": Operation<"/user/starred/{owner}/{repo}", "put">;
5009
+ /**
5010
+ * @see https://docs.github.com/rest/copilot-spaces/copilot-spaces#set-a-copilot-space-for-a-user
5011
+ */
5012
+ "PUT /users/{username}/copilot-spaces/{space_number}": Operation<"/users/{username}/copilot-spaces/{space_number}", "put">;
5013
+ /**
5014
+ * @see https://docs.github.com/rest/copilot-spaces/collaborators#set-a-collaborator-role-for-a-copilot-space-for-a-user
5015
+ */
5016
+ "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">;
5017
+ /**
5018
+ * @see https://docs.github.com/rest/copilot-spaces/resources#set-a-resource-for-a-copilot-space-for-a-user
5019
+ */
5020
+ "PUT /users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}": Operation<"/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}", "put">;
4517
5021
  }
4518
5022
  export type EndpointKeys = keyof Endpoints;
4519
5023
  export {};