@octokit/types 12.5.0 → 13.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.
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "
|
|
1
|
+
export declare const VERSION = "13.0.0";
|
|
@@ -91,6 +91,10 @@ export interface Endpoints {
|
|
|
91
91
|
* @see https://docs.github.com/rest/apps/installations#revoke-an-installation-access-token
|
|
92
92
|
*/
|
|
93
93
|
"DELETE /installation/token": Operation<"/installation/token", "delete">;
|
|
94
|
+
/**
|
|
95
|
+
* @see https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done
|
|
96
|
+
*/
|
|
97
|
+
"DELETE /notifications/threads/{thread_id}": Operation<"/notifications/threads/{thread_id}", "delete">;
|
|
94
98
|
/**
|
|
95
99
|
* @see https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription
|
|
96
100
|
*/
|
|
@@ -148,11 +152,11 @@ export interface Endpoints {
|
|
|
148
152
|
*/
|
|
149
153
|
"DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
|
|
150
154
|
/**
|
|
151
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
155
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization
|
|
152
156
|
*/
|
|
153
157
|
"DELETE /orgs/{org}/copilot/billing/selected_teams": Operation<"/orgs/{org}/copilot/billing/selected_teams", "delete">;
|
|
154
158
|
/**
|
|
155
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
159
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization
|
|
156
160
|
*/
|
|
157
161
|
"DELETE /orgs/{org}/copilot/billing/selected_users": Operation<"/orgs/{org}/copilot/billing/selected_users", "delete">;
|
|
158
162
|
/**
|
|
@@ -195,6 +199,26 @@ export interface Endpoints {
|
|
|
195
199
|
* @see https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository
|
|
196
200
|
*/
|
|
197
201
|
"DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", "delete">;
|
|
202
|
+
/**
|
|
203
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team
|
|
204
|
+
*/
|
|
205
|
+
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}": Operation<"/orgs/{org}/organization-roles/teams/{team_slug}", "delete">;
|
|
206
|
+
/**
|
|
207
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team
|
|
208
|
+
*/
|
|
209
|
+
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}": Operation<"/orgs/{org}/organization-roles/teams/{team_slug}/{role_id}", "delete">;
|
|
210
|
+
/**
|
|
211
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user
|
|
212
|
+
*/
|
|
213
|
+
"DELETE /orgs/{org}/organization-roles/users/{username}": Operation<"/orgs/{org}/organization-roles/users/{username}", "delete">;
|
|
214
|
+
/**
|
|
215
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user
|
|
216
|
+
*/
|
|
217
|
+
"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">;
|
|
198
222
|
/**
|
|
199
223
|
* @see https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization
|
|
200
224
|
*/
|
|
@@ -407,6 +431,14 @@ export interface Endpoints {
|
|
|
407
431
|
* @see https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment
|
|
408
432
|
*/
|
|
409
433
|
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}", "delete">;
|
|
434
|
+
/**
|
|
435
|
+
* @see https://docs.github.com/rest/actions/secrets#delete-an-environment-secret
|
|
436
|
+
*/
|
|
437
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "delete">;
|
|
438
|
+
/**
|
|
439
|
+
* @see https://docs.github.com/rest/actions/variables#delete-an-environment-variable
|
|
440
|
+
*/
|
|
441
|
+
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "delete">;
|
|
410
442
|
/**
|
|
411
443
|
* @see https://docs.github.com/rest/git/refs#delete-a-reference
|
|
412
444
|
*/
|
|
@@ -519,14 +551,6 @@ export interface Endpoints {
|
|
|
519
551
|
* @see https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts
|
|
520
552
|
*/
|
|
521
553
|
"DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "delete">;
|
|
522
|
-
/**
|
|
523
|
-
* @see https://docs.github.com/rest/actions/secrets#delete-an-environment-secret
|
|
524
|
-
*/
|
|
525
|
-
"DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "delete">;
|
|
526
|
-
/**
|
|
527
|
-
* @see https://docs.github.com/rest/actions/variables#delete-an-environment-variable
|
|
528
|
-
*/
|
|
529
|
-
"DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "delete">;
|
|
530
554
|
/**
|
|
531
555
|
* @see https://docs.github.com/rest/teams/teams#delete-a-team-legacy
|
|
532
556
|
*/
|
|
@@ -961,11 +985,11 @@ export interface Endpoints {
|
|
|
961
985
|
*/
|
|
962
986
|
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories", "get">;
|
|
963
987
|
/**
|
|
964
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
988
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization
|
|
965
989
|
*/
|
|
966
990
|
"GET /orgs/{org}/copilot/billing": Operation<"/orgs/{org}/copilot/billing", "get">;
|
|
967
991
|
/**
|
|
968
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
992
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization
|
|
969
993
|
*/
|
|
970
994
|
"GET /orgs/{org}/copilot/billing/seats": Operation<"/orgs/{org}/copilot/billing/seats", "get">;
|
|
971
995
|
/**
|
|
@@ -1057,7 +1081,7 @@ export interface Endpoints {
|
|
|
1057
1081
|
*/
|
|
1058
1082
|
"GET /orgs/{org}/members/{username}/codespaces": Operation<"/orgs/{org}/members/{username}/codespaces", "get">;
|
|
1059
1083
|
/**
|
|
1060
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
1084
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user
|
|
1061
1085
|
*/
|
|
1062
1086
|
"GET /orgs/{org}/members/{username}/copilot": Operation<"/orgs/{org}/members/{username}/copilot", "get">;
|
|
1063
1087
|
/**
|
|
@@ -1080,6 +1104,26 @@ export interface Endpoints {
|
|
|
1080
1104
|
* @see https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration
|
|
1081
1105
|
*/
|
|
1082
1106
|
"GET /orgs/{org}/migrations/{migration_id}/repositories": Operation<"/orgs/{org}/migrations/{migration_id}/repositories", "get">;
|
|
1107
|
+
/**
|
|
1108
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization
|
|
1109
|
+
*/
|
|
1110
|
+
"GET /orgs/{org}/organization-fine-grained-permissions": Operation<"/orgs/{org}/organization-fine-grained-permissions", "get">;
|
|
1111
|
+
/**
|
|
1112
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization
|
|
1113
|
+
*/
|
|
1114
|
+
"GET /orgs/{org}/organization-roles": Operation<"/orgs/{org}/organization-roles", "get">;
|
|
1115
|
+
/**
|
|
1116
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role
|
|
1117
|
+
*/
|
|
1118
|
+
"GET /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "get">;
|
|
1119
|
+
/**
|
|
1120
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role
|
|
1121
|
+
*/
|
|
1122
|
+
"GET /orgs/{org}/organization-roles/{role_id}/teams": Operation<"/orgs/{org}/organization-roles/{role_id}/teams", "get">;
|
|
1123
|
+
/**
|
|
1124
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role
|
|
1125
|
+
*/
|
|
1126
|
+
"GET /orgs/{org}/organization-roles/{role_id}/users": Operation<"/orgs/{org}/organization-roles/{role_id}/users", "get">;
|
|
1083
1127
|
/**
|
|
1084
1128
|
* @see https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization
|
|
1085
1129
|
*/
|
|
@@ -1449,7 +1493,7 @@ export interface Endpoints {
|
|
|
1449
1493
|
*/
|
|
1450
1494
|
"GET /repos/{owner}/{repo}/assignees/{assignee}": Operation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">;
|
|
1451
1495
|
/**
|
|
1452
|
-
* @see https://docs.github.com/rest/repos/autolinks#
|
|
1496
|
+
* @see https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository
|
|
1453
1497
|
*/
|
|
1454
1498
|
"GET /repos/{owner}/{repo}/autolinks": Operation<"/repos/{owner}/{repo}/autolinks", "get">;
|
|
1455
1499
|
/**
|
|
@@ -1753,6 +1797,26 @@ export interface Endpoints {
|
|
|
1753
1797
|
* @see https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule
|
|
1754
1798
|
*/
|
|
1755
1799
|
"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}", "get">;
|
|
1800
|
+
/**
|
|
1801
|
+
* @see https://docs.github.com/rest/actions/secrets#list-environment-secrets
|
|
1802
|
+
*/
|
|
1803
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets", "get">;
|
|
1804
|
+
/**
|
|
1805
|
+
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-public-key
|
|
1806
|
+
*/
|
|
1807
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key", "get">;
|
|
1808
|
+
/**
|
|
1809
|
+
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-secret
|
|
1810
|
+
*/
|
|
1811
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "get">;
|
|
1812
|
+
/**
|
|
1813
|
+
* @see https://docs.github.com/rest/actions/variables#list-environment-variables
|
|
1814
|
+
*/
|
|
1815
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables", "get">;
|
|
1816
|
+
/**
|
|
1817
|
+
* @see https://docs.github.com/rest/actions/variables#get-an-environment-variable
|
|
1818
|
+
*/
|
|
1819
|
+
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "get">;
|
|
1756
1820
|
/**
|
|
1757
1821
|
* @see https://docs.github.com/rest/activity/events#list-repository-events
|
|
1758
1822
|
*/
|
|
@@ -1937,10 +2001,18 @@ export interface Endpoints {
|
|
|
1937
2001
|
* @see https://docs.github.com/rest/pages/pages#get-apiname-pages-build
|
|
1938
2002
|
*/
|
|
1939
2003
|
"GET /repos/{owner}/{repo}/pages/builds/{build_id}": Operation<"/repos/{owner}/{repo}/pages/builds/{build_id}", "get">;
|
|
2004
|
+
/**
|
|
2005
|
+
* @see https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment
|
|
2006
|
+
*/
|
|
2007
|
+
"GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}": Operation<"/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}", "get">;
|
|
1940
2008
|
/**
|
|
1941
2009
|
* @see https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages
|
|
1942
2010
|
*/
|
|
1943
2011
|
"GET /repos/{owner}/{repo}/pages/health": Operation<"/repos/{owner}/{repo}/pages/health", "get">;
|
|
2012
|
+
/**
|
|
2013
|
+
* @see https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository
|
|
2014
|
+
*/
|
|
2015
|
+
"GET /repos/{owner}/{repo}/private-vulnerability-reporting": Operation<"/repos/{owner}/{repo}/private-vulnerability-reporting", "get">;
|
|
1944
2016
|
/**
|
|
1945
2017
|
* @see https://docs.github.com/rest/projects/projects#list-repository-projects
|
|
1946
2018
|
*/
|
|
@@ -2157,26 +2229,6 @@ export interface Endpoints {
|
|
|
2157
2229
|
* @see https://docs.github.com/rest/repos/repos#list-public-repositories
|
|
2158
2230
|
*/
|
|
2159
2231
|
"GET /repositories": Operation<"/repositories", "get">;
|
|
2160
|
-
/**
|
|
2161
|
-
* @see https://docs.github.com/rest/actions/secrets#list-environment-secrets
|
|
2162
|
-
*/
|
|
2163
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/secrets": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets", "get">;
|
|
2164
|
-
/**
|
|
2165
|
-
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-public-key
|
|
2166
|
-
*/
|
|
2167
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/public-key", "get">;
|
|
2168
|
-
/**
|
|
2169
|
-
* @see https://docs.github.com/rest/actions/secrets#get-an-environment-secret
|
|
2170
|
-
*/
|
|
2171
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "get">;
|
|
2172
|
-
/**
|
|
2173
|
-
* @see https://docs.github.com/rest/actions/variables#list-environment-variables
|
|
2174
|
-
*/
|
|
2175
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/variables": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables", "get">;
|
|
2176
|
-
/**
|
|
2177
|
-
* @see https://docs.github.com/rest/actions/variables#get-an-environment-variable
|
|
2178
|
-
*/
|
|
2179
|
-
"GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "get">;
|
|
2180
2232
|
/**
|
|
2181
2233
|
* @see https://docs.github.com/rest/search/search#search-code
|
|
2182
2234
|
*/
|
|
@@ -2621,6 +2673,10 @@ export interface Endpoints {
|
|
|
2621
2673
|
* @see https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization
|
|
2622
2674
|
*/
|
|
2623
2675
|
"PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
|
|
2676
|
+
/**
|
|
2677
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role
|
|
2678
|
+
*/
|
|
2679
|
+
"PATCH /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "patch">;
|
|
2624
2680
|
/**
|
|
2625
2681
|
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization
|
|
2626
2682
|
*/
|
|
@@ -2693,6 +2749,10 @@ export interface Endpoints {
|
|
|
2693
2749
|
* @see https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert
|
|
2694
2750
|
*/
|
|
2695
2751
|
"PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/dependabot/alerts/{alert_number}", "patch">;
|
|
2752
|
+
/**
|
|
2753
|
+
* @see https://docs.github.com/rest/actions/variables#update-an-environment-variable
|
|
2754
|
+
*/
|
|
2755
|
+
"PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables/{name}", "patch">;
|
|
2696
2756
|
/**
|
|
2697
2757
|
* @see https://docs.github.com/rest/git/refs#update-a-reference
|
|
2698
2758
|
*/
|
|
@@ -2737,6 +2797,10 @@ export interface Endpoints {
|
|
|
2737
2797
|
* @see https://docs.github.com/rest/issues/milestones#update-a-milestone
|
|
2738
2798
|
*/
|
|
2739
2799
|
"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}": Operation<"/repos/{owner}/{repo}/milestones/{milestone_number}", "patch">;
|
|
2800
|
+
/**
|
|
2801
|
+
* @see https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository
|
|
2802
|
+
*/
|
|
2803
|
+
"PATCH /repos/{owner}/{repo}/properties/values": Operation<"/repos/{owner}/{repo}/properties/values", "patch">;
|
|
2740
2804
|
/**
|
|
2741
2805
|
* @see https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request
|
|
2742
2806
|
*/
|
|
@@ -2761,10 +2825,6 @@ export interface Endpoints {
|
|
|
2761
2825
|
* @see https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory
|
|
2762
2826
|
*/
|
|
2763
2827
|
"PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}", "patch">;
|
|
2764
|
-
/**
|
|
2765
|
-
* @see https://docs.github.com/rest/actions/variables#update-an-environment-variable
|
|
2766
|
-
*/
|
|
2767
|
-
"PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "patch">;
|
|
2768
2828
|
/**
|
|
2769
2829
|
* @see https://docs.github.com/rest/teams/teams#update-a-team-legacy
|
|
2770
2830
|
*/
|
|
@@ -2862,11 +2922,11 @@ export interface Endpoints {
|
|
|
2862
2922
|
*/
|
|
2863
2923
|
"POST /orgs/{org}/codespaces/access/selected_users": Operation<"/orgs/{org}/codespaces/access/selected_users", "post">;
|
|
2864
2924
|
/**
|
|
2865
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
2925
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization
|
|
2866
2926
|
*/
|
|
2867
2927
|
"POST /orgs/{org}/copilot/billing/selected_teams": Operation<"/orgs/{org}/copilot/billing/selected_teams", "post">;
|
|
2868
2928
|
/**
|
|
2869
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
2929
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization
|
|
2870
2930
|
*/
|
|
2871
2931
|
"POST /orgs/{org}/copilot/billing/selected_users": Operation<"/orgs/{org}/copilot/billing/selected_users", "post">;
|
|
2872
2932
|
/**
|
|
@@ -2893,6 +2953,10 @@ export interface Endpoints {
|
|
|
2893
2953
|
* @see https://docs.github.com/rest/migrations/orgs#start-an-organization-migration
|
|
2894
2954
|
*/
|
|
2895
2955
|
"POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">;
|
|
2956
|
+
/**
|
|
2957
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role
|
|
2958
|
+
*/
|
|
2959
|
+
"POST /orgs/{org}/organization-roles": Operation<"/orgs/{org}/organization-roles", "post">;
|
|
2896
2960
|
/**
|
|
2897
2961
|
* @see https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization
|
|
2898
2962
|
*/
|
|
@@ -3113,6 +3177,10 @@ export interface Endpoints {
|
|
|
3113
3177
|
* @see https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment
|
|
3114
3178
|
*/
|
|
3115
3179
|
"POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules", "post">;
|
|
3180
|
+
/**
|
|
3181
|
+
* @see https://docs.github.com/rest/actions/variables#create-an-environment-variable
|
|
3182
|
+
*/
|
|
3183
|
+
"POST /repos/{owner}/{repo}/environments/{environment_name}/variables": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/variables", "post">;
|
|
3116
3184
|
/**
|
|
3117
3185
|
* @see https://docs.github.com/rest/repos/forks#create-a-fork
|
|
3118
3186
|
*/
|
|
@@ -3208,7 +3276,11 @@ export interface Endpoints {
|
|
|
3208
3276
|
/**
|
|
3209
3277
|
* @see https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment
|
|
3210
3278
|
*/
|
|
3211
|
-
"POST /repos/{owner}/{repo}/pages/
|
|
3279
|
+
"POST /repos/{owner}/{repo}/pages/deployments": Operation<"/repos/{owner}/{repo}/pages/deployments", "post">;
|
|
3280
|
+
/**
|
|
3281
|
+
* @see https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment
|
|
3282
|
+
*/
|
|
3283
|
+
"POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel": Operation<"/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel", "post">;
|
|
3212
3284
|
/**
|
|
3213
3285
|
* @see https://docs.github.com/rest/projects/projects#create-a-repository-project
|
|
3214
3286
|
*/
|
|
@@ -3273,6 +3345,10 @@ export interface Endpoints {
|
|
|
3273
3345
|
* @see https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory
|
|
3274
3346
|
*/
|
|
3275
3347
|
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve", "post">;
|
|
3348
|
+
/**
|
|
3349
|
+
* @see https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork
|
|
3350
|
+
*/
|
|
3351
|
+
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks", "post">;
|
|
3276
3352
|
/**
|
|
3277
3353
|
* @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
|
|
3278
3354
|
*/
|
|
@@ -3289,10 +3365,6 @@ export interface Endpoints {
|
|
|
3289
3365
|
* @see https://docs.github.com/rest/repos/repos#create-a-repository-using-a-template
|
|
3290
3366
|
*/
|
|
3291
3367
|
"POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
|
|
3292
|
-
/**
|
|
3293
|
-
* @see https://docs.github.com/rest/actions/variables#create-an-environment-variable
|
|
3294
|
-
*/
|
|
3295
|
-
"POST /repositories/{repository_id}/environments/{environment_name}/variables": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables", "post">;
|
|
3296
3368
|
/**
|
|
3297
3369
|
* @see https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy
|
|
3298
3370
|
*/
|
|
@@ -3485,6 +3557,14 @@ export interface Endpoints {
|
|
|
3485
3557
|
* @see https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user
|
|
3486
3558
|
*/
|
|
3487
3559
|
"PUT /orgs/{org}/memberships/{username}": Operation<"/orgs/{org}/memberships/{username}", "put">;
|
|
3560
|
+
/**
|
|
3561
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team
|
|
3562
|
+
*/
|
|
3563
|
+
"PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}": Operation<"/orgs/{org}/organization-roles/teams/{team_slug}/{role_id}", "put">;
|
|
3564
|
+
/**
|
|
3565
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user
|
|
3566
|
+
*/
|
|
3567
|
+
"PUT /orgs/{org}/organization-roles/users/{username}/{role_id}": Operation<"/orgs/{org}/organization-roles/users/{username}/{role_id}", "put">;
|
|
3488
3568
|
/**
|
|
3489
3569
|
* @see https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator
|
|
3490
3570
|
*/
|
|
@@ -3605,6 +3685,10 @@ export interface Endpoints {
|
|
|
3605
3685
|
* @see https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy
|
|
3606
3686
|
*/
|
|
3607
3687
|
"PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}", "put">;
|
|
3688
|
+
/**
|
|
3689
|
+
* @see https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret
|
|
3690
|
+
*/
|
|
3691
|
+
"PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}", "put">;
|
|
3608
3692
|
/**
|
|
3609
3693
|
* @see https://docs.github.com/rest/migrations/source-imports#start-an-import
|
|
3610
3694
|
*/
|
|
@@ -3665,10 +3749,6 @@ export interface Endpoints {
|
|
|
3665
3749
|
* @see https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts
|
|
3666
3750
|
*/
|
|
3667
3751
|
"PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "put">;
|
|
3668
|
-
/**
|
|
3669
|
-
* @see https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret
|
|
3670
|
-
*/
|
|
3671
|
-
"PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "put">;
|
|
3672
3752
|
/**
|
|
3673
3753
|
* @see https://docs.github.com/rest/teams/members#add-team-member-legacy
|
|
3674
3754
|
*/
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
7
|
"description": "Shared TypeScript definitions for Octokit projects",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@octokit/openapi-types": "^
|
|
9
|
+
"@octokit/openapi-types": "^21.0.0"
|
|
10
10
|
},
|
|
11
11
|
"repository": "github:octokit/types.ts",
|
|
12
12
|
"keywords": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"json-schema-to-typescript": "^13.0.0",
|
|
27
27
|
"lodash.set": "^4.3.2",
|
|
28
28
|
"npm-run-all2": "^6.0.0",
|
|
29
|
-
"pascal-case": "^
|
|
29
|
+
"pascal-case": "^4.0.0",
|
|
30
30
|
"prettier": "^3.0.0",
|
|
31
31
|
"semantic-release": "^23.0.0",
|
|
32
32
|
"semantic-release-plugin-update-version-in-files": "^1.0.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"typescript": "^5.0.0"
|
|
37
37
|
},
|
|
38
38
|
"octokit": {
|
|
39
|
-
"openapi-version": "
|
|
39
|
+
"openapi-version": "14.1.0"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist-types/**"
|