@octokit/types 7.5.1 → 8.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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const VERSION = "7.5.1";
5
+ const VERSION = "8.0.0";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "7.5.1";
1
+ export const VERSION = "8.0.0";
@@ -1 +1 @@
1
- export declare const VERSION = "7.5.1";
1
+ export declare const VERSION = "8.0.0";
@@ -121,6 +121,14 @@ export interface Endpoints {
121
121
  * @see https://docs.github.com/rest/reference/activity#delete-a-thread-subscription
122
122
  */
123
123
  "DELETE /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "delete">;
124
+ /**
125
+ * @see https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret
126
+ */
127
+ "DELETE /organizations/{org}/codespaces/secrets/{secret_name}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}", "delete">;
128
+ /**
129
+ * @see https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret
130
+ */
131
+ "DELETE /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
124
132
  /**
125
133
  * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization
126
134
  */
@@ -161,10 +169,6 @@ export interface Endpoints {
161
169
  * @see https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization
162
170
  */
163
171
  "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">;
164
- /**
165
- * @see https://docs.github.com/rest/reference/orgs#remove-a-saml-sso-authorization-for-an-organization
166
- */
167
- "DELETE /orgs/{org}/credential-authorizations/{credential_id}": Operation<"/orgs/{org}/credential-authorizations/{credential_id}", "delete">;
168
172
  /**
169
173
  * @see https://docs.github.com/rest/reference/orgs#delete-a-custom-role
170
174
  */
@@ -249,10 +253,6 @@ export interface Endpoints {
249
253
  * @see https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction
250
254
  */
251
255
  "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">;
252
- /**
253
- * @see https://docs.github.com/rest/reference/teams#unlink-external-idp-group-team-connection
254
- */
255
- "DELETE /orgs/{org}/teams/{team_slug}/external-groups": Operation<"/orgs/{org}/teams/{team_slug}/external-groups", "delete">;
256
256
  /**
257
257
  * @see https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user
258
258
  */
@@ -521,18 +521,6 @@ export interface Endpoints {
521
521
  * @see https://docs.github.com/rest/reference/actions#delete-an-environment-secret
522
522
  */
523
523
  "DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "delete">;
524
- /**
525
- * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise
526
- */
527
- "DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "delete">;
528
- /**
529
- * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise
530
- */
531
- "DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "delete">;
532
- /**
533
- * @see https://docs.github.com/rest/reference/scim#delete-a-scim-user-from-an-organization
534
- */
535
- "DELETE /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "delete">;
536
524
  /**
537
525
  * @see https://docs.github.com/rest/reference/teams/#delete-a-team-legacy
538
526
  */
@@ -737,42 +725,18 @@ export interface Endpoints {
737
725
  * @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise
738
726
  */
739
727
  "GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "get">;
740
- /**
741
- * @see https://docs.github.com/rest/reference/enterprise-admin#get-the-audit-log-for-an-enterprise
742
- */
743
- "GET /enterprises/{enterprise}/audit-log": Operation<"/enterprises/{enterprise}/audit-log", "get">;
744
728
  /**
745
729
  * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise
746
730
  */
747
731
  "GET /enterprises/{enterprise}/code-scanning/alerts": Operation<"/enterprises/{enterprise}/code-scanning/alerts", "get">;
748
- /**
749
- * @see https://docs.github.com/rest/reference/enterprise-admin#list-enterprise-consumed-licenses
750
- */
751
- "GET /enterprises/{enterprise}/consumed-licenses": Operation<"/enterprises/{enterprise}/consumed-licenses", "get">;
752
- /**
753
- * @see https://docs.github.com/rest/reference/enterprise-admin#get-a-license-sync-status
754
- */
755
- "GET /enterprises/{enterprise}/license-sync-status": Operation<"/enterprises/{enterprise}/license-sync-status", "get">;
756
732
  /**
757
733
  * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
758
734
  */
759
735
  "GET /enterprises/{enterprise}/secret-scanning/alerts": Operation<"/enterprises/{enterprise}/secret-scanning/alerts", "get">;
760
- /**
761
- * @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-enterprise
762
- */
763
- "GET /enterprises/{enterprise}/settings/billing/actions": Operation<"/enterprises/{enterprise}/settings/billing/actions", "get">;
764
736
  /**
765
737
  * @see https://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise
766
738
  */
767
739
  "GET /enterprises/{enterprise}/settings/billing/advanced-security": Operation<"/enterprises/{enterprise}/settings/billing/advanced-security", "get">;
768
- /**
769
- * @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-enterprise
770
- */
771
- "GET /enterprises/{enterprise}/settings/billing/packages": Operation<"/enterprises/{enterprise}/settings/billing/packages", "get">;
772
- /**
773
- * @see https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-enterprise
774
- */
775
- "GET /enterprises/{enterprise}/settings/billing/shared-storage": Operation<"/enterprises/{enterprise}/settings/billing/shared-storage", "get">;
776
740
  /**
777
741
  * @see https://docs.github.com/rest/reference/activity#list-public-events
778
742
  */
@@ -901,6 +865,22 @@ export interface Endpoints {
901
865
  * @see https://docs.github.com/rest/reference/orgs#list-custom-repository-roles-in-an-organization
902
866
  */
903
867
  "GET /organizations/{organization_id}/custom_roles": Operation<"/organizations/{organization_id}/custom_roles", "get">;
868
+ /**
869
+ * @see https://docs.github.com/rest/reference/codespaces#list-organization-secrets
870
+ */
871
+ "GET /organizations/{org}/codespaces/secrets": Operation<"/organizations/{org}/codespaces/secrets", "get">;
872
+ /**
873
+ * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key
874
+ */
875
+ "GET /organizations/{org}/codespaces/secrets/public-key": Operation<"/organizations/{org}/codespaces/secrets/public-key", "get">;
876
+ /**
877
+ * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-secret
878
+ */
879
+ "GET /organizations/{org}/codespaces/secrets/{secret_name}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}", "get">;
880
+ /**
881
+ * @see https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret
882
+ */
883
+ "GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories", "get">;
904
884
  /**
905
885
  * @see https://docs.github.com/rest/reference/codespaces#list-in-organization
906
886
  * @deprecated "org_id" is now "org"
@@ -918,10 +898,6 @@ export interface Endpoints {
918
898
  * @see https://docs.github.com/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization
919
899
  */
920
900
  "GET /orgs/{org}/actions/cache/usage-by-repository": Operation<"/orgs/{org}/actions/cache/usage-by-repository", "get">;
921
- /**
922
- * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
923
- */
924
- "GET /orgs/{org}/actions/oidc/customization/sub": Operation<"/orgs/{org}/actions/oidc/customization/sub", "get">;
925
901
  /**
926
902
  * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization
927
903
  */
@@ -986,10 +962,6 @@ export interface Endpoints {
986
962
  * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret
987
963
  */
988
964
  "GET /orgs/{org}/actions/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories", "get">;
989
- /**
990
- * @see https://docs.github.com/rest/reference/orgs#get-audit-log
991
- */
992
- "GET /orgs/{org}/audit-log": Operation<"/orgs/{org}/audit-log", "get">;
993
965
  /**
994
966
  * @see https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization
995
967
  */
@@ -1006,10 +978,6 @@ export interface Endpoints {
1006
978
  * @see https://docs.github.com/rest/reference/codespaces#list-in-organization
1007
979
  */
1008
980
  "GET /orgs/{org}/codespaces": Operation<"/orgs/{org}/codespaces", "get">;
1009
- /**
1010
- * @see https://docs.github.com/rest/reference/orgs#list-saml-sso-authorizations-for-an-organization
1011
- */
1012
- "GET /orgs/{org}/credential-authorizations": Operation<"/orgs/{org}/credential-authorizations", "get">;
1013
981
  /**
1014
982
  * @see https://docs.github.com/rest/reference/dependabot#list-organization-secrets
1015
983
  */
@@ -1030,14 +998,6 @@ export interface Endpoints {
1030
998
  * @see https://docs.github.com/rest/reference/activity#list-public-organization-events
1031
999
  */
1032
1000
  "GET /orgs/{org}/events": Operation<"/orgs/{org}/events", "get">;
1033
- /**
1034
- * @see https://docs.github.com/rest/reference/teams#external-idp-group-info-for-an-organization
1035
- */
1036
- "GET /orgs/{org}/external-group/{group_id}": Operation<"/orgs/{org}/external-group/{group_id}", "get">;
1037
- /**
1038
- * @see https://docs.github.com/rest/reference/teams#list-external-idp-groups-for-an-organization
1039
- */
1040
- "GET /orgs/{org}/external-groups": Operation<"/orgs/{org}/external-groups", "get">;
1041
1001
  /**
1042
1002
  * @see https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations
1043
1003
  */
@@ -1178,10 +1138,6 @@ export interface Endpoints {
1178
1138
  * @see https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization
1179
1139
  */
1180
1140
  "GET /orgs/{org}/settings/billing/shared-storage": Operation<"/orgs/{org}/settings/billing/shared-storage", "get">;
1181
- /**
1182
- * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization
1183
- */
1184
- "GET /orgs/{org}/team-sync/groups": Operation<"/orgs/{org}/team-sync/groups", "get">;
1185
1141
  /**
1186
1142
  * @see https://docs.github.com/rest/reference/teams#list-teams
1187
1143
  */
@@ -1214,10 +1170,6 @@ export interface Endpoints {
1214
1170
  * @see https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion
1215
1171
  */
1216
1172
  "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation<"/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "get">;
1217
- /**
1218
- * @see https://docs.github.com/rest/reference/teams#list-external-idp-group-team-connection
1219
- */
1220
- "GET /orgs/{org}/teams/{team_slug}/external-groups": Operation<"/orgs/{org}/teams/{team_slug}/external-groups", "get">;
1221
1173
  /**
1222
1174
  * @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations
1223
1175
  */
@@ -1246,10 +1198,6 @@ export interface Endpoints {
1246
1198
  * @see https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository
1247
1199
  */
1248
1200
  "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation<"/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", "get">;
1249
- /**
1250
- * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team
1251
- */
1252
- "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings": Operation<"/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "get">;
1253
1201
  /**
1254
1202
  * @see https://docs.github.com/rest/reference/teams#list-child-teams
1255
1203
  */
@@ -1318,10 +1266,6 @@ export interface Endpoints {
1318
1266
  * @see https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run
1319
1267
  */
1320
1268
  "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", "get">;
1321
- /**
1322
- * @see https://docs.github.com/rest/actions/oidc#get-the-opt-out-flag-of-an-oidc-subject-claim-customization-for-a-repository
1323
- */
1324
- "GET /repos/{owner}/{repo}/actions/oidc/customization/sub": Operation<"/repos/{owner}/{repo}/actions/oidc/customization/sub", "get">;
1325
1269
  /**
1326
1270
  * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository
1327
1271
  */
@@ -1655,6 +1599,14 @@ export interface Endpoints {
1655
1599
  * @see https://docs.github.com/rest/reference/repos#list-repository-contributors
1656
1600
  */
1657
1601
  "GET /repos/{owner}/{repo}/contributors": Operation<"/repos/{owner}/{repo}/contributors", "get">;
1602
+ /**
1603
+ * @see https://docs.github.com/rest/reference/dependabot#list-dependabot-alerts-for-a-repository
1604
+ */
1605
+ "GET /repos/{owner}/{repo}/dependabot/alerts": Operation<"/repos/{owner}/{repo}/dependabot/alerts", "get">;
1606
+ /**
1607
+ * @see https://docs.github.com/rest/reference/dependabot#get-a-dependabot-alert
1608
+ */
1609
+ "GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/dependabot/alerts/{alert_number}", "get">;
1658
1610
  /**
1659
1611
  * @see https://docs.github.com/rest/reference/dependabot#list-repository-secrets
1660
1612
  */
@@ -2083,30 +2035,6 @@ export interface Endpoints {
2083
2035
  * @see https://docs.github.com/rest/reference/actions#get-an-environment-secret
2084
2036
  */
2085
2037
  "GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "get">;
2086
- /**
2087
- * @see https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim-groups-for-an-enterprise
2088
- */
2089
- "GET /scim/v2/enterprises/{enterprise}/Groups": Operation<"/scim/v2/enterprises/{enterprise}/Groups", "get">;
2090
- /**
2091
- * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-group
2092
- */
2093
- "GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "get">;
2094
- /**
2095
- * @see https://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise
2096
- */
2097
- "GET /scim/v2/enterprises/{enterprise}/Users": Operation<"/scim/v2/enterprises/{enterprise}/Users", "get">;
2098
- /**
2099
- * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user
2100
- */
2101
- "GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "get">;
2102
- /**
2103
- * @see https://docs.github.com/rest/reference/scim#list-scim-provisioned-identities
2104
- */
2105
- "GET /scim/v2/organizations/{org}/Users": Operation<"/scim/v2/organizations/{org}/Users", "get">;
2106
- /**
2107
- * @see https://docs.github.com/rest/reference/scim#get-scim-provisioning-information-for-a-user
2108
- */
2109
- "GET /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "get">;
2110
2038
  /**
2111
2039
  * @see https://docs.github.com/rest/reference/search#search-code
2112
2040
  */
@@ -2195,10 +2123,6 @@ export interface Endpoints {
2195
2123
  * @see https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-repository-legacy
2196
2124
  */
2197
2125
  "GET /teams/{team_id}/repos/{owner}/{repo}": Operation<"/teams/{team_id}/repos/{owner}/{repo}", "get">;
2198
- /**
2199
- * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy
2200
- */
2201
- "GET /teams/{team_id}/team-sync/group-mappings": Operation<"/teams/{team_id}/team-sync/group-mappings", "get">;
2202
2126
  /**
2203
2127
  * @see https://docs.github.com/rest/reference/teams/#list-child-teams-legacy
2204
2128
  */
@@ -2555,14 +2479,6 @@ export interface Endpoints {
2555
2479
  * @see https://docs.github.com/rest/reference/teams#update-a-discussion-comment
2556
2480
  */
2557
2481
  "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">;
2558
- /**
2559
- * @see https://docs.github.com/rest/reference/teams#link-external-idp-group-team-connection
2560
- */
2561
- "PATCH /orgs/{org}/teams/{team_slug}/external-groups": Operation<"/orgs/{org}/teams/{team_slug}/external-groups", "patch">;
2562
- /**
2563
- * @see https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections
2564
- */
2565
- "PATCH /orgs/{org}/teams/{team_slug}/team-sync/group-mappings": Operation<"/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", "patch">;
2566
2482
  /**
2567
2483
  * @see https://docs.github.com/rest/reference/projects#update-a-project-card
2568
2484
  */
@@ -2603,6 +2519,10 @@ export interface Endpoints {
2603
2519
  * @see https://docs.github.com/rest/commits/comments#update-a-commit-comment
2604
2520
  */
2605
2521
  "PATCH /repos/{owner}/{repo}/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/comments/{comment_id}", "patch">;
2522
+ /**
2523
+ * @see https://docs.github.com/rest/reference/dependabot#update-a-dependabot-alert
2524
+ */
2525
+ "PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/dependabot/alerts/{alert_number}", "patch">;
2606
2526
  /**
2607
2527
  * @see https://docs.github.com/rest/reference/git#update-a-reference
2608
2528
  */
@@ -2667,18 +2587,6 @@ export interface Endpoints {
2667
2587
  * @see https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert
2668
2588
  */
2669
2589
  "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch">;
2670
- /**
2671
- * @see https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group
2672
- */
2673
- "PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "patch">;
2674
- /**
2675
- * @see https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user
2676
- */
2677
- "PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "patch">;
2678
- /**
2679
- * @see https://docs.github.com/rest/reference/scim#update-an-attribute-for-a-scim-user
2680
- */
2681
- "PATCH /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "patch">;
2682
2590
  /**
2683
2591
  * @see https://docs.github.com/rest/reference/teams/#update-a-team-legacy
2684
2592
  */
@@ -2691,10 +2599,6 @@ export interface Endpoints {
2691
2599
  * @see https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy
2692
2600
  */
2693
2601
  "PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation<"/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", "patch">;
2694
- /**
2695
- * @see https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy
2696
- */
2697
- "PATCH /teams/{team_id}/team-sync/group-mappings": Operation<"/teams/{team_id}/team-sync/group-mappings", "patch">;
2698
2602
  /**
2699
2603
  * @see https://docs.github.com/rest/reference/users/#update-the-authenticated-user
2700
2604
  */
@@ -3155,18 +3059,6 @@ export interface Endpoints {
3155
3059
  * @see https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template
3156
3060
  */
3157
3061
  "POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
3158
- /**
3159
- * @see https://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users
3160
- */
3161
- "POST /scim/v2/enterprises/{enterprise}/Groups": Operation<"/scim/v2/enterprises/{enterprise}/Groups", "post">;
3162
- /**
3163
- * @see https://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user
3164
- */
3165
- "POST /scim/v2/enterprises/{enterprise}/Users": Operation<"/scim/v2/enterprises/{enterprise}/Users", "post">;
3166
- /**
3167
- * @see https://docs.github.com/rest/reference/scim#provision-and-invite-a-scim-user
3168
- */
3169
- "POST /scim/v2/organizations/{org}/Users": Operation<"/scim/v2/organizations/{org}/Users", "post">;
3170
3062
  /**
3171
3063
  * @see https://docs.github.com/rest/reference/teams#create-a-discussion-legacy
3172
3064
  */
@@ -3251,10 +3143,6 @@ export interface Endpoints {
3251
3143
  * @see https://docs.github.com/rest/reference/apps#suspend-an-app-installation
3252
3144
  */
3253
3145
  "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
3254
- /**
3255
- * @see https://docs.github.com/rest/reference/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise
3256
- */
3257
- "PUT /enterprises/{enterprise}/actions/oidc/customization/issuer": Operation<"/enterprises/{enterprise}/actions/oidc/customization/issuer", "put">;
3258
3146
  /**
3259
3147
  * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-enterprise
3260
3148
  */
@@ -3308,9 +3196,17 @@ export interface Endpoints {
3308
3196
  */
3309
3197
  "PUT /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "put">;
3310
3198
  /**
3311
- * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization
3199
+ * @see https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret
3200
+ */
3201
+ "PUT /organizations/{org}/codespaces/secrets/{secret_name}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}", "put">;
3202
+ /**
3203
+ * @see https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret
3204
+ */
3205
+ "PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories", "put">;
3206
+ /**
3207
+ * @see https://docs.github.com/rest/reference/codespaces#add-selected-repository-to-an-organization-secret
3312
3208
  */
3313
- "PUT /orgs/{org}/actions/oidc/customization/sub": Operation<"/orgs/{org}/actions/oidc/customization/sub", "put">;
3209
+ "PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put">;
3314
3210
  /**
3315
3211
  * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization
3316
3212
  */
@@ -3335,10 +3231,6 @@ export interface Endpoints {
3335
3231
  * @see https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization
3336
3232
  */
3337
3233
  "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "put">;
3338
- /**
3339
- * @see https://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization
3340
- */
3341
- "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">;
3342
3234
  /**
3343
3235
  * @see https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization
3344
3236
  */
@@ -3415,10 +3307,6 @@ export interface Endpoints {
3415
3307
  * @see https://docs.github.com/rest/reference/projects#add-project-collaborator
3416
3308
  */
3417
3309
  "PUT /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "put">;
3418
- /**
3419
- * @see https://docs.github.com/rest/actions/oidc#set-the-opt-out-flag-of-an-oidc-subject-claim-customization-for-a-repository
3420
- */
3421
- "PUT /repos/{owner}/{repo}/actions/oidc/customization/sub": Operation<"/repos/{owner}/{repo}/actions/oidc/customization/sub", "put">;
3422
3310
  /**
3423
3311
  * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository
3424
3312
  */
@@ -3559,18 +3447,6 @@ export interface Endpoints {
3559
3447
  * @see https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret
3560
3448
  */
3561
3449
  "PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "put">;
3562
- /**
3563
- * @see https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group
3564
- */
3565
- "PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation<"/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", "put">;
3566
- /**
3567
- * @see https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user
3568
- */
3569
- "PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation<"/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", "put">;
3570
- /**
3571
- * @see https://docs.github.com/rest/reference/scim#set-scim-information-for-a-provisioned-user
3572
- */
3573
- "PUT /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation<"/scim/v2/organizations/{org}/Users/{scim_user_id}", "put">;
3574
3450
  /**
3575
3451
  * @see https://docs.github.com/rest/reference/teams#add-team-member-legacy
3576
3452
  */
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "7.5.1";
1
+ const VERSION = "8.0.0";
2
2
 
3
3
  export { VERSION };
4
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@octokit/types",
3
3
  "description": "Shared TypeScript definitions for Octokit projects",
4
- "version": "7.5.1",
4
+ "version": "8.0.0",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist-*/",
@@ -10,7 +10,7 @@
10
10
  "source": "dist-src/index.js",
11
11
  "types": "dist-types/index.d.ts",
12
12
  "octokit": {
13
- "openapi-version": "7.13.0"
13
+ "openapi-version": "8.0.1"
14
14
  },
15
15
  "main": "dist-node/index.js",
16
16
  "module": "dist-web/index.js",
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "repository": "github:octokit/types.ts",
27
27
  "dependencies": {
28
- "@octokit/openapi-types": "^13.11.0"
28
+ "@octokit/openapi-types": "^14.0.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@pika/pack": "^0.3.7",
@@ -33,7 +33,7 @@
33
33
  "@pika/plugin-build-web": "^0.9.0",
34
34
  "@pika/plugin-ts-standard-pkg": "^0.9.0",
35
35
  "@types/node": ">= 8",
36
- "github-openapi-graphql-query": "^2.0.0",
36
+ "github-openapi-graphql-query": "^3.0.0",
37
37
  "handlebars": "^4.7.6",
38
38
  "json-schema-to-typescript": "^11.0.0",
39
39
  "lodash.set": "^4.3.2",