@octokit/types 13.6.2 → 13.7.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.
@@ -1 +1 @@
1
- export declare const VERSION = "13.6.2";
1
+ export declare const VERSION = "13.7.0";
@@ -75,6 +75,10 @@ export interface Endpoints {
75
75
  * @see https://docs.github.com/rest/apps/oauth-applications#delete-an-app-token
76
76
  */
77
77
  "DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
78
+ /**
79
+ * @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise
80
+ */
81
+ "DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "delete">;
78
82
  /**
79
83
  * @see https://docs.github.com/rest/gists/gists#delete-a-gist
80
84
  */
@@ -107,6 +111,18 @@ export interface Endpoints {
107
111
  * @see https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
108
112
  */
109
113
  "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete">;
114
+ /**
115
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization
116
+ */
117
+ "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "delete">;
118
+ /**
119
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization
120
+ */
121
+ "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "delete">;
122
+ /**
123
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization
124
+ */
125
+ "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "delete">;
110
126
  /**
111
127
  * @see https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization
112
128
  */
@@ -139,6 +155,14 @@ export interface Endpoints {
139
155
  * @see https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization
140
156
  */
141
157
  "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">;
158
+ /**
159
+ * @see https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories
160
+ */
161
+ "DELETE /orgs/{org}/code-security/configurations/detach": Operation<"/orgs/{org}/code-security/configurations/detach", "delete">;
162
+ /**
163
+ * @see https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration
164
+ */
165
+ "DELETE /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "delete">;
142
166
  /**
143
167
  * @see https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization
144
168
  */
@@ -215,10 +239,6 @@ export interface Endpoints {
215
239
  * @see https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user
216
240
  */
217
241
  "DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}": Operation<"/orgs/{org}/organization-roles/users/{username}/{role_id}", "delete">;
218
- /**
219
- * @see https://docs.github.com/rest/orgs/organization-roles#delete-a-custom-organization-role
220
- */
221
- "DELETE /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "delete">;
222
242
  /**
223
243
  * @see https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization
224
244
  */
@@ -231,6 +251,10 @@ export interface Endpoints {
231
251
  * @see https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization
232
252
  */
233
253
  "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">;
254
+ /**
255
+ * @see https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization
256
+ */
257
+ "DELETE /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "delete">;
234
258
  /**
235
259
  * @see https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization
236
260
  */
@@ -391,6 +415,10 @@ export interface Endpoints {
391
415
  * @see https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository
392
416
  */
393
417
  "DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}": Operation<"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", "delete">;
418
+ /**
419
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database
420
+ */
421
+ "DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", "delete">;
394
422
  /**
395
423
  * @see https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret
396
424
  */
@@ -487,6 +515,10 @@ export interface Endpoints {
487
515
  * @see https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction
488
516
  */
489
517
  "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", "delete">;
518
+ /**
519
+ * @see https://docs.github.com/rest/issues/sub-issues#remove-sub-issue
520
+ */
521
+ "DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issue", "delete">;
490
522
  /**
491
523
  * @see https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key
492
524
  */
@@ -544,7 +576,7 @@ export interface Endpoints {
544
576
  */
545
577
  "DELETE /repos/{owner}/{repo}/subscription": Operation<"/repos/{owner}/{repo}/subscription", "delete">;
546
578
  /**
547
- * @see https://docs.github.com/rest/repos/tags#delete-a-tag-protection-state-for-a-repository
579
+ * @see https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository
548
580
  */
549
581
  "DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}": Operation<"/repos/{owner}/{repo}/tags/protection/{tag_protection_id}", "delete">;
550
582
  /**
@@ -740,9 +772,21 @@ export interface Endpoints {
740
772
  */
741
773
  "GET /emojis": Operation<"/emojis", "get">;
742
774
  /**
743
- * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-enterprise-members
775
+ * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-enterprise
744
776
  */
745
- "GET /enterprises/{enterprise}/copilot/usage": Operation<"/enterprises/{enterprise}/copilot/usage", "get">;
777
+ "GET /enterprises/{enterprise}/code-security/configurations": Operation<"/enterprises/{enterprise}/code-security/configurations", "get">;
778
+ /**
779
+ * @see https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise
780
+ */
781
+ "GET /enterprises/{enterprise}/code-security/configurations/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/defaults", "get">;
782
+ /**
783
+ * @see https://docs.github.com/rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise
784
+ */
785
+ "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "get">;
786
+ /**
787
+ * @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration
788
+ */
789
+ "GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories", "get">;
746
790
  /**
747
791
  * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
748
792
  */
@@ -875,6 +919,10 @@ export interface Endpoints {
875
919
  * @see https://docs.github.com/rest/orgs/orgs#list-organizations
876
920
  */
877
921
  "GET /organizations": Operation<"/organizations", "get">;
922
+ /**
923
+ * @see https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization
924
+ */
925
+ "GET /organizations/{org}/settings/billing/usage": Operation<"/organizations/{org}/settings/billing/usage", "get">;
878
926
  /**
879
927
  * @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
880
928
  * @deprecated "org_id" is now "org"
@@ -912,6 +960,22 @@ export interface Endpoints {
912
960
  * @see https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization
913
961
  */
914
962
  "GET /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "get">;
963
+ /**
964
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization
965
+ */
966
+ "GET /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "get">;
967
+ /**
968
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization
969
+ */
970
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "get">;
971
+ /**
972
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization
973
+ */
974
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "get">;
975
+ /**
976
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization
977
+ */
978
+ "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "get">;
915
979
  /**
916
980
  * @see https://docs.github.com/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization
917
981
  */
@@ -956,6 +1020,10 @@ export interface Endpoints {
956
1020
  * @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
957
1021
  */
958
1022
  "GET /orgs/{org}/actions/variables/{name}/repositories": Operation<"/orgs/{org}/actions/variables/{name}/repositories", "get">;
1023
+ /**
1024
+ * @see https://docs.github.com/rest/orgs/orgs#list-attestations
1025
+ */
1026
+ "GET /orgs/{org}/attestations/{subject_digest}": Operation<"/orgs/{org}/attestations/{subject_digest}", "get">;
959
1027
  /**
960
1028
  * @see https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization
961
1029
  */
@@ -968,6 +1036,22 @@ export interface Endpoints {
968
1036
  * @see https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization
969
1037
  */
970
1038
  "GET /orgs/{org}/code-scanning/alerts": Operation<"/orgs/{org}/code-scanning/alerts", "get">;
1039
+ /**
1040
+ * @see https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization
1041
+ */
1042
+ "GET /orgs/{org}/code-security/configurations": Operation<"/orgs/{org}/code-security/configurations", "get">;
1043
+ /**
1044
+ * @see https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations
1045
+ */
1046
+ "GET /orgs/{org}/code-security/configurations/defaults": Operation<"/orgs/{org}/code-security/configurations/defaults", "get">;
1047
+ /**
1048
+ * @see https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration
1049
+ */
1050
+ "GET /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "get">;
1051
+ /**
1052
+ * @see https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration
1053
+ */
1054
+ "GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/repositories", "get">;
971
1055
  /**
972
1056
  * @see https://docs.github.com/rest/codespaces/organizations#list-codespaces-for-the-organization
973
1057
  */
@@ -996,6 +1080,10 @@ export interface Endpoints {
996
1080
  * @see https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization
997
1081
  */
998
1082
  "GET /orgs/{org}/copilot/billing/seats": Operation<"/orgs/{org}/copilot/billing/seats", "get">;
1083
+ /**
1084
+ * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization
1085
+ */
1086
+ "GET /orgs/{org}/copilot/metrics": Operation<"/orgs/{org}/copilot/metrics", "get">;
999
1087
  /**
1000
1088
  * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members
1001
1089
  */
@@ -1052,6 +1140,42 @@ export interface Endpoints {
1052
1140
  * @see https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook
1053
1141
  */
1054
1142
  "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}": Operation<"/orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}", "get">;
1143
+ /**
1144
+ * @see https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor
1145
+ */
1146
+ "GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}", "get">;
1147
+ /**
1148
+ * @see https://docs.github.com/rest/orgs/api-insights#get-subject-stats
1149
+ */
1150
+ "GET /orgs/{org}/insights/api/subject-stats": Operation<"/orgs/{org}/insights/api/subject-stats", "get">;
1151
+ /**
1152
+ * @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats
1153
+ */
1154
+ "GET /orgs/{org}/insights/api/summary-stats": Operation<"/orgs/{org}/insights/api/summary-stats", "get">;
1155
+ /**
1156
+ * @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user
1157
+ */
1158
+ "GET /orgs/{org}/insights/api/summary-stats/users/{user_id}": Operation<"/orgs/{org}/insights/api/summary-stats/users/{user_id}", "get">;
1159
+ /**
1160
+ * @see https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor
1161
+ */
1162
+ "GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}", "get">;
1163
+ /**
1164
+ * @see https://docs.github.com/rest/orgs/api-insights#get-time-stats
1165
+ */
1166
+ "GET /orgs/{org}/insights/api/time-stats": Operation<"/orgs/{org}/insights/api/time-stats", "get">;
1167
+ /**
1168
+ * @see https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user
1169
+ */
1170
+ "GET /orgs/{org}/insights/api/time-stats/users/{user_id}": Operation<"/orgs/{org}/insights/api/time-stats/users/{user_id}", "get">;
1171
+ /**
1172
+ * @see https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor
1173
+ */
1174
+ "GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}": Operation<"/orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}", "get">;
1175
+ /**
1176
+ * @see https://docs.github.com/rest/orgs/api-insights#get-user-stats
1177
+ */
1178
+ "GET /orgs/{org}/insights/api/user-stats/{user_id}": Operation<"/orgs/{org}/insights/api/user-stats/{user_id}", "get">;
1055
1179
  /**
1056
1180
  * @see https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app
1057
1181
  */
@@ -1168,6 +1292,18 @@ export interface Endpoints {
1168
1292
  * @see https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to
1169
1293
  */
1170
1294
  "GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories": Operation<"/orgs/{org}/personal-access-tokens/{pat_id}/repositories", "get">;
1295
+ /**
1296
+ * @see https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization
1297
+ */
1298
+ "GET /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "get">;
1299
+ /**
1300
+ * @see https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization
1301
+ */
1302
+ "GET /orgs/{org}/private-registries/public-key": Operation<"/orgs/{org}/private-registries/public-key", "get">;
1303
+ /**
1304
+ * @see https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization
1305
+ */
1306
+ "GET /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "get">;
1171
1307
  /**
1172
1308
  * @see https://docs.github.com/rest/projects/projects#list-organization-projects
1173
1309
  */
@@ -1236,6 +1372,10 @@ export interface Endpoints {
1236
1372
  * @see https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization
1237
1373
  */
1238
1374
  "GET /orgs/{org}/settings/billing/shared-storage": Operation<"/orgs/{org}/settings/billing/shared-storage", "get">;
1375
+ /**
1376
+ * @see https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team
1377
+ */
1378
+ "GET /orgs/{org}/team/{team_slug}/copilot/metrics": Operation<"/orgs/{org}/team/{team_slug}/copilot/metrics", "get">;
1239
1379
  /**
1240
1380
  * @see https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team
1241
1381
  */
@@ -1504,6 +1644,10 @@ export interface Endpoints {
1504
1644
  * @see https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned
1505
1645
  */
1506
1646
  "GET /repos/{owner}/{repo}/assignees/{assignee}": Operation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">;
1647
+ /**
1648
+ * @see https://docs.github.com/rest/repos/repos#list-attestations
1649
+ */
1650
+ "GET /repos/{owner}/{repo}/attestations/{subject_digest}": Operation<"/repos/{owner}/{repo}/attestations/{subject_digest}", "get">;
1507
1651
  /**
1508
1652
  * @see https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository
1509
1653
  */
@@ -1593,6 +1737,10 @@ export interface Endpoints {
1593
1737
  * @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert
1594
1738
  */
1595
1739
  "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", "get">;
1740
+ /**
1741
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert
1742
+ */
1743
+ "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix", "get">;
1596
1744
  /**
1597
1745
  * @see https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert
1598
1746
  */
@@ -1613,6 +1761,14 @@ export interface Endpoints {
1613
1761
  * @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository
1614
1762
  */
1615
1763
  "GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}", "get">;
1764
+ /**
1765
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis
1766
+ */
1767
+ "GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}", "get">;
1768
+ /**
1769
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis
1770
+ */
1771
+ "GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}", "get">;
1616
1772
  /**
1617
1773
  * @see https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration
1618
1774
  */
@@ -1621,6 +1777,10 @@ export interface Endpoints {
1621
1777
  * @see https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload
1622
1778
  */
1623
1779
  "GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}": Operation<"/repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}", "get">;
1780
+ /**
1781
+ * @see https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository
1782
+ */
1783
+ "GET /repos/{owner}/{repo}/code-security-configuration": Operation<"/repos/{owner}/{repo}/code-security-configuration", "get">;
1624
1784
  /**
1625
1785
  * @see https://docs.github.com/rest/repos/repos#list-codeowners-errors
1626
1786
  */
@@ -1953,6 +2113,10 @@ export interface Endpoints {
1953
2113
  * @see https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue
1954
2114
  */
1955
2115
  "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "get">;
2116
+ /**
2117
+ * @see https://docs.github.com/rest/issues/sub-issues#list-sub-issues
2118
+ */
2119
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "get">;
1956
2120
  /**
1957
2121
  * @see https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue
1958
2122
  */
@@ -2153,6 +2317,10 @@ export interface Endpoints {
2153
2317
  * @see https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert
2154
2318
  */
2155
2319
  "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "get">;
2320
+ /**
2321
+ * @see https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository
2322
+ */
2323
+ "GET /repos/{owner}/{repo}/secret-scanning/scan-history": Operation<"/repos/{owner}/{repo}/secret-scanning/scan-history", "get">;
2156
2324
  /**
2157
2325
  * @see https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories
2158
2326
  */
@@ -2198,7 +2366,7 @@ export interface Endpoints {
2198
2366
  */
2199
2367
  "GET /repos/{owner}/{repo}/tags": Operation<"/repos/{owner}/{repo}/tags", "get">;
2200
2368
  /**
2201
- * @see https://docs.github.com/rest/repos/tags#list-tag-protection-states-for-a-repository
2369
+ * @see https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository
2202
2370
  */
2203
2371
  "GET /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "get">;
2204
2372
  /**
@@ -2521,6 +2689,10 @@ export interface Endpoints {
2521
2689
  * @see https://docs.github.com/rest/teams/teams#list-teams-for-the-authenticated-user
2522
2690
  */
2523
2691
  "GET /user/teams": Operation<"/user/teams", "get">;
2692
+ /**
2693
+ * @see https://docs.github.com/rest/users/users#get-a-user-using-their-id
2694
+ */
2695
+ "GET /user/{account_id}": Operation<"/user/{account_id}", "get">;
2524
2696
  /**
2525
2697
  * @see https://docs.github.com/rest/users/users#list-users
2526
2698
  */
@@ -2529,6 +2701,10 @@ export interface Endpoints {
2529
2701
  * @see https://docs.github.com/rest/users/users#get-a-user
2530
2702
  */
2531
2703
  "GET /users/{username}": Operation<"/users/{username}", "get">;
2704
+ /**
2705
+ * @see https://docs.github.com/rest/users/attestations#list-attestations
2706
+ */
2707
+ "GET /users/{username}/attestations/{subject_digest}": Operation<"/users/{username}/attestations/{subject_digest}", "get">;
2532
2708
  /**
2533
2709
  * @see https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user
2534
2710
  */
@@ -2657,6 +2833,10 @@ export interface Endpoints {
2657
2833
  * @see https://docs.github.com/rest/apps/oauth-applications#reset-a-token
2658
2834
  */
2659
2835
  "PATCH /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "patch">;
2836
+ /**
2837
+ * @see https://docs.github.com/rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise
2838
+ */
2839
+ "PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}", "patch">;
2660
2840
  /**
2661
2841
  * @see https://docs.github.com/rest/reference/gists/#update-a-gist
2662
2842
  */
@@ -2673,10 +2853,18 @@ export interface Endpoints {
2673
2853
  * @see https://docs.github.com/rest/orgs/orgs#update-an-organization
2674
2854
  */
2675
2855
  "PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">;
2856
+ /**
2857
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization
2858
+ */
2859
+ "PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "patch">;
2676
2860
  /**
2677
2861
  * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
2678
2862
  */
2679
2863
  "PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">;
2864
+ /**
2865
+ * @see https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration
2866
+ */
2867
+ "PATCH /orgs/{org}/code-security/configurations/{configuration_id}": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}", "patch">;
2680
2868
  /**
2681
2869
  * @see https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook
2682
2870
  */
@@ -2686,9 +2874,9 @@ export interface Endpoints {
2686
2874
  */
2687
2875
  "PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
2688
2876
  /**
2689
- * @see https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role
2877
+ * @see https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization
2690
2878
  */
2691
- "PATCH /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "patch">;
2879
+ "PATCH /orgs/{org}/private-registries/{secret_name}": Operation<"/orgs/{org}/private-registries/{secret_name}", "patch">;
2692
2880
  /**
2693
2881
  * @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization
2694
2882
  */
@@ -2801,6 +2989,10 @@ export interface Endpoints {
2801
2989
  * @see https://docs.github.com/rest/issues/issues#update-an-issue
2802
2990
  */
2803
2991
  "PATCH /repos/{owner}/{repo}/issues/{issue_number}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}", "patch">;
2992
+ /**
2993
+ * @see https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue
2994
+ */
2995
+ "PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority", "patch">;
2804
2996
  /**
2805
2997
  * @see https://docs.github.com/rest/issues/labels#update-a-label
2806
2998
  */
@@ -2889,6 +3081,14 @@ export interface Endpoints {
2889
3081
  * @see https://docs.github.com/rest/apps/apps#create-a-scoped-access-token
2890
3082
  */
2891
3083
  "POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">;
3084
+ /**
3085
+ * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise
3086
+ */
3087
+ "POST /enterprises/{enterprise}/code-security/configurations": Operation<"/enterprises/{enterprise}/code-security/configurations", "post">;
3088
+ /**
3089
+ * @see https://docs.github.com/rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories
3090
+ */
3091
+ "POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach", "post">;
2892
3092
  /**
2893
3093
  * @see https://docs.github.com/rest/gists/gists#create-a-gist
2894
3094
  */
@@ -2909,6 +3109,10 @@ export interface Endpoints {
2909
3109
  * @see https://docs.github.com/rest/markdown/markdown#render-a-markdown-document-in-raw-mode
2910
3110
  */
2911
3111
  "POST /markdown/raw": Operation<"/markdown/raw", "post">;
3112
+ /**
3113
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
3114
+ */
3115
+ "POST /orgs/{org}/actions/runner-groups": Operation<"/orgs/{org}/actions/runner-groups", "post">;
2912
3116
  /**
2913
3117
  * @see https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization
2914
3118
  */
@@ -2929,6 +3133,14 @@ export interface Endpoints {
2929
3133
  * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
2930
3134
  */
2931
3135
  "POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
3136
+ /**
3137
+ * @see https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration
3138
+ */
3139
+ "POST /orgs/{org}/code-security/configurations": Operation<"/orgs/{org}/code-security/configurations", "post">;
3140
+ /**
3141
+ * @see https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories
3142
+ */
3143
+ "POST /orgs/{org}/code-security/configurations/{configuration_id}/attach": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/attach", "post">;
2932
3144
  /**
2933
3145
  * @see https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization
2934
3146
  */
@@ -2965,10 +3177,6 @@ export interface Endpoints {
2965
3177
  * @see https://docs.github.com/rest/migrations/orgs#start-an-organization-migration
2966
3178
  */
2967
3179
  "POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">;
2968
- /**
2969
- * @see https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role
2970
- */
2971
- "POST /orgs/{org}/organization-roles": Operation<"/orgs/{org}/organization-roles", "post">;
2972
3180
  /**
2973
3181
  * @see https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization
2974
3182
  */
@@ -2993,6 +3201,10 @@ export interface Endpoints {
2993
3201
  * @see https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources
2994
3202
  */
2995
3203
  "POST /orgs/{org}/personal-access-tokens/{pat_id}": Operation<"/orgs/{org}/personal-access-tokens/{pat_id}", "post">;
3204
+ /**
3205
+ * @see https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization
3206
+ */
3207
+ "POST /orgs/{org}/private-registries": Operation<"/orgs/{org}/private-registries", "post">;
2996
3208
  /**
2997
3209
  * @see https://docs.github.com/rest/projects/projects#create-an-organization-project
2998
3210
  */
@@ -3101,6 +3313,10 @@ export interface Endpoints {
3101
3313
  * @see https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event
3102
3314
  */
3103
3315
  "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">;
3316
+ /**
3317
+ * @see https://docs.github.com/rest/repos/repos#create-an-attestation
3318
+ */
3319
+ "POST /repos/{owner}/{repo}/attestations": Operation<"/repos/{owner}/{repo}/attestations", "post">;
3104
3320
  /**
3105
3321
  * @see https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository
3106
3322
  */
@@ -3149,6 +3365,18 @@ export interface Endpoints {
3149
3365
  * @see https://docs.github.com/rest/checks/suites#rerequest-a-check-suite
3150
3366
  */
3151
3367
  "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": Operation<"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", "post">;
3368
+ /**
3369
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert
3370
+ */
3371
+ "POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix", "post">;
3372
+ /**
3373
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert
3374
+ */
3375
+ "POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits": Operation<"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits", "post">;
3376
+ /**
3377
+ * @see https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis
3378
+ */
3379
+ "POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses": Operation<"/repos/{owner}/{repo}/code-scanning/codeql/variant-analyses", "post">;
3152
3380
  /**
3153
3381
  * @see https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data
3154
3382
  */
@@ -3257,6 +3485,10 @@ export interface Endpoints {
3257
3485
  * @see https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue
3258
3486
  */
3259
3487
  "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "post">;
3488
+ /**
3489
+ * @see https://docs.github.com/rest/issues/sub-issues#add-sub-issue
3490
+ */
3491
+ "POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/sub_issues", "post">;
3260
3492
  /**
3261
3493
  * @see https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key
3262
3494
  */
@@ -3345,6 +3577,10 @@ export interface Endpoints {
3345
3577
  * @see https://docs.github.com/rest/repos/rules#create-a-repository-ruleset
3346
3578
  */
3347
3579
  "POST /repos/{owner}/{repo}/rulesets": Operation<"/repos/{owner}/{repo}/rulesets", "post">;
3580
+ /**
3581
+ * @see https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass
3582
+ */
3583
+ "POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses": Operation<"/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", "post">;
3348
3584
  /**
3349
3585
  * @see https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory
3350
3586
  */
@@ -3366,7 +3602,7 @@ export interface Endpoints {
3366
3602
  */
3367
3603
  "POST /repos/{owner}/{repo}/statuses/{sha}": Operation<"/repos/{owner}/{repo}/statuses/{sha}", "post">;
3368
3604
  /**
3369
- * @see https://docs.github.com/rest/repos/tags#create-a-tag-protection-state-for-a-repository
3605
+ * @see https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository
3370
3606
  */
3371
3607
  "POST /repos/{owner}/{repo}/tags/protection": Operation<"/repos/{owner}/{repo}/tags/protection", "post">;
3372
3608
  /**
@@ -3469,6 +3705,10 @@ export interface Endpoints {
3469
3705
  * @see https://docs.github.com/rest/apps/apps#suspend-an-app-installation
3470
3706
  */
3471
3707
  "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
3708
+ /**
3709
+ * @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise
3710
+ */
3711
+ "PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults": Operation<"/enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults", "put">;
3472
3712
  /**
3473
3713
  * @see https://docs.github.com/rest/gists/gists#star-a-gist
3474
3714
  */
@@ -3505,6 +3745,22 @@ export interface Endpoints {
3505
3745
  * @see https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization
3506
3746
  */
3507
3747
  "PUT /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "put">;
3748
+ /**
3749
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization
3750
+ */
3751
+ "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "put">;
3752
+ /**
3753
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization
3754
+ */
3755
+ "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", "put">;
3756
+ /**
3757
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization
3758
+ */
3759
+ "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "put">;
3760
+ /**
3761
+ * @see https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization
3762
+ */
3763
+ "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">;
3508
3764
  /**
3509
3765
  * @see https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization
3510
3766
  */
@@ -3533,6 +3789,10 @@ export interface Endpoints {
3533
3789
  * @see https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization
3534
3790
  */
3535
3791
  "PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put">;
3792
+ /**
3793
+ * @see https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization
3794
+ */
3795
+ "PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults": Operation<"/orgs/{org}/code-security/configurations/{configuration_id}/defaults", "put">;
3536
3796
  /**
3537
3797
  * @see https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces
3538
3798
  */
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
- "version": "13.6.2",
3
+ "version": "13.7.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
7
7
  },
8
8
  "description": "Shared TypeScript definitions for Octokit projects",
9
9
  "dependencies": {
10
- "@octokit/openapi-types": "^22.2.0"
10
+ "@octokit/openapi-types": "^23.0.1"
11
11
  },
12
12
  "repository": "github:octokit/types.ts",
13
13
  "keywords": [
@@ -21,7 +21,7 @@
21
21
  "license": "MIT",
22
22
  "devDependencies": {
23
23
  "@octokit/tsconfig": "^4.0.0",
24
- "github-openapi-graphql-query": "^4.0.0",
24
+ "github-openapi-graphql-query": "^4.5.0",
25
25
  "handlebars": "^4.7.6",
26
26
  "npm-run-all2": "^7.0.0",
27
27
  "prettier": "^3.0.0",
@@ -32,7 +32,7 @@
32
32
  "typescript": "^5.0.0"
33
33
  },
34
34
  "octokit": {
35
- "openapi-version": "16.5.0"
35
+ "openapi-version": "17.1.1"
36
36
  },
37
37
  "files": [
38
38
  "dist-types/**"