@octokit/types 12.4.0 → 12.6.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 = "12.
|
|
1
|
+
export declare const VERSION = "12.6.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
|
*/
|
|
@@ -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
|
/**
|
|
@@ -1937,6 +1981,10 @@ export interface Endpoints {
|
|
|
1937
1981
|
* @see https://docs.github.com/rest/pages/pages#get-apiname-pages-build
|
|
1938
1982
|
*/
|
|
1939
1983
|
"GET /repos/{owner}/{repo}/pages/builds/{build_id}": Operation<"/repos/{owner}/{repo}/pages/builds/{build_id}", "get">;
|
|
1984
|
+
/**
|
|
1985
|
+
* @see https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment
|
|
1986
|
+
*/
|
|
1987
|
+
"GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}": Operation<"/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}", "get">;
|
|
1940
1988
|
/**
|
|
1941
1989
|
* @see https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages
|
|
1942
1990
|
*/
|
|
@@ -2621,6 +2669,10 @@ export interface Endpoints {
|
|
|
2621
2669
|
* @see https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization
|
|
2622
2670
|
*/
|
|
2623
2671
|
"PATCH /orgs/{org}/hooks/{hook_id}/config": Operation<"/orgs/{org}/hooks/{hook_id}/config", "patch">;
|
|
2672
|
+
/**
|
|
2673
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#update-a-custom-organization-role
|
|
2674
|
+
*/
|
|
2675
|
+
"PATCH /orgs/{org}/organization-roles/{role_id}": Operation<"/orgs/{org}/organization-roles/{role_id}", "patch">;
|
|
2624
2676
|
/**
|
|
2625
2677
|
* @see https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization
|
|
2626
2678
|
*/
|
|
@@ -2737,6 +2789,10 @@ export interface Endpoints {
|
|
|
2737
2789
|
* @see https://docs.github.com/rest/issues/milestones#update-a-milestone
|
|
2738
2790
|
*/
|
|
2739
2791
|
"PATCH /repos/{owner}/{repo}/milestones/{milestone_number}": Operation<"/repos/{owner}/{repo}/milestones/{milestone_number}", "patch">;
|
|
2792
|
+
/**
|
|
2793
|
+
* @see https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository
|
|
2794
|
+
*/
|
|
2795
|
+
"PATCH /repos/{owner}/{repo}/properties/values": Operation<"/repos/{owner}/{repo}/properties/values", "patch">;
|
|
2740
2796
|
/**
|
|
2741
2797
|
* @see https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request
|
|
2742
2798
|
*/
|
|
@@ -2862,11 +2918,11 @@ export interface Endpoints {
|
|
|
2862
2918
|
*/
|
|
2863
2919
|
"POST /orgs/{org}/codespaces/access/selected_users": Operation<"/orgs/{org}/codespaces/access/selected_users", "post">;
|
|
2864
2920
|
/**
|
|
2865
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
2921
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization
|
|
2866
2922
|
*/
|
|
2867
2923
|
"POST /orgs/{org}/copilot/billing/selected_teams": Operation<"/orgs/{org}/copilot/billing/selected_teams", "post">;
|
|
2868
2924
|
/**
|
|
2869
|
-
* @see https://docs.github.com/rest/copilot/copilot-
|
|
2925
|
+
* @see https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization
|
|
2870
2926
|
*/
|
|
2871
2927
|
"POST /orgs/{org}/copilot/billing/selected_users": Operation<"/orgs/{org}/copilot/billing/selected_users", "post">;
|
|
2872
2928
|
/**
|
|
@@ -2893,6 +2949,10 @@ export interface Endpoints {
|
|
|
2893
2949
|
* @see https://docs.github.com/rest/migrations/orgs#start-an-organization-migration
|
|
2894
2950
|
*/
|
|
2895
2951
|
"POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">;
|
|
2952
|
+
/**
|
|
2953
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#create-a-custom-organization-role
|
|
2954
|
+
*/
|
|
2955
|
+
"POST /orgs/{org}/organization-roles": Operation<"/orgs/{org}/organization-roles", "post">;
|
|
2896
2956
|
/**
|
|
2897
2957
|
* @see https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization
|
|
2898
2958
|
*/
|
|
@@ -3208,7 +3268,11 @@ export interface Endpoints {
|
|
|
3208
3268
|
/**
|
|
3209
3269
|
* @see https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment
|
|
3210
3270
|
*/
|
|
3211
|
-
"POST /repos/{owner}/{repo}/pages/
|
|
3271
|
+
"POST /repos/{owner}/{repo}/pages/deployments": Operation<"/repos/{owner}/{repo}/pages/deployments", "post">;
|
|
3272
|
+
/**
|
|
3273
|
+
* @see https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment
|
|
3274
|
+
*/
|
|
3275
|
+
"POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel": Operation<"/repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel", "post">;
|
|
3212
3276
|
/**
|
|
3213
3277
|
* @see https://docs.github.com/rest/projects/projects#create-a-repository-project
|
|
3214
3278
|
*/
|
|
@@ -3273,6 +3337,10 @@ export interface Endpoints {
|
|
|
3273
3337
|
* @see https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory
|
|
3274
3338
|
*/
|
|
3275
3339
|
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve", "post">;
|
|
3340
|
+
/**
|
|
3341
|
+
* @see https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork
|
|
3342
|
+
*/
|
|
3343
|
+
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks": Operation<"/repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks", "post">;
|
|
3276
3344
|
/**
|
|
3277
3345
|
* @see https://docs.github.com/rest/commits/statuses#create-a-commit-status
|
|
3278
3346
|
*/
|
|
@@ -3485,6 +3553,14 @@ export interface Endpoints {
|
|
|
3485
3553
|
* @see https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user
|
|
3486
3554
|
*/
|
|
3487
3555
|
"PUT /orgs/{org}/memberships/{username}": Operation<"/orgs/{org}/memberships/{username}", "put">;
|
|
3556
|
+
/**
|
|
3557
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team
|
|
3558
|
+
*/
|
|
3559
|
+
"PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}": Operation<"/orgs/{org}/organization-roles/teams/{team_slug}/{role_id}", "put">;
|
|
3560
|
+
/**
|
|
3561
|
+
* @see https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user
|
|
3562
|
+
*/
|
|
3563
|
+
"PUT /orgs/{org}/organization-roles/users/{username}/{role_id}": Operation<"/orgs/{org}/organization-roles/users/{username}/{role_id}", "put">;
|
|
3488
3564
|
/**
|
|
3489
3565
|
* @see https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator
|
|
3490
3566
|
*/
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octokit/types",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.6.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": "^20.0.0"
|
|
10
10
|
},
|
|
11
11
|
"repository": "github:octokit/types.ts",
|
|
12
12
|
"keywords": [
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"handlebars": "^4.7.6",
|
|
26
26
|
"json-schema-to-typescript": "^13.0.0",
|
|
27
27
|
"lodash.set": "^4.3.2",
|
|
28
|
-
"npm-run-
|
|
28
|
+
"npm-run-all2": "^6.0.0",
|
|
29
29
|
"pascal-case": "^3.1.1",
|
|
30
30
|
"prettier": "^3.0.0",
|
|
31
|
-
"semantic-release": "^
|
|
31
|
+
"semantic-release": "^23.0.0",
|
|
32
32
|
"semantic-release-plugin-update-version-in-files": "^1.0.0",
|
|
33
33
|
"sort-keys": "^5.0.0",
|
|
34
34
|
"string-to-jsdoc-comment": "^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.0.0"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist-types/**"
|