@octokit/types 6.22.0 → 6.26.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-node/index.js +1 -1
- package/dist-src/VERSION.js +1 -1
- package/dist-types/VERSION.d.ts +1 -1
- package/dist-types/generated/Endpoints.d.ts +48 -16
- package/dist-web/index.js +1 -1
- package/package.json +3 -3
package/dist-node/index.js
CHANGED
package/dist-src/VERSION.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "6.
|
|
1
|
+
export const VERSION = "6.26.0";
|
package/dist-types/VERSION.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.26.0";
|
|
@@ -73,18 +73,10 @@ export interface Endpoints {
|
|
|
73
73
|
* @see https://docs.github.com/rest/reference/apps#delete-an-app-authorization
|
|
74
74
|
*/
|
|
75
75
|
"DELETE /applications/{client_id}/grant": Operation<"/applications/{client_id}/grant", "delete">;
|
|
76
|
-
/**
|
|
77
|
-
* @see https://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application
|
|
78
|
-
*/
|
|
79
|
-
"DELETE /applications/{client_id}/grants/{access_token}": Operation<"/applications/{client_id}/grants/{access_token}", "delete">;
|
|
80
76
|
/**
|
|
81
77
|
* @see https://docs.github.com/rest/reference/apps#delete-an-app-token
|
|
82
78
|
*/
|
|
83
79
|
"DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
|
|
84
|
-
/**
|
|
85
|
-
* @see https://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application
|
|
86
|
-
*/
|
|
87
|
-
"DELETE /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "delete">;
|
|
88
80
|
/**
|
|
89
81
|
* @see https://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization
|
|
90
82
|
*/
|
|
@@ -285,6 +277,10 @@ export interface Endpoints {
|
|
|
285
277
|
* @see https://docs.github.com/rest/reference/actions#delete-a-repository-secret
|
|
286
278
|
*/
|
|
287
279
|
"DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/actions/secrets/{secret_name}", "delete">;
|
|
280
|
+
/**
|
|
281
|
+
* @see https://docs.github.com/v3/repos#delete-autolink
|
|
282
|
+
*/
|
|
283
|
+
"DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation<"/repos/{owner}/{repo}/autolinks/{autolink_id}", "delete">;
|
|
288
284
|
/**
|
|
289
285
|
* @see https://docs.github.com/rest/reference/repos#disable-automated-security-fixes
|
|
290
286
|
*/
|
|
@@ -549,6 +545,14 @@ export interface Endpoints {
|
|
|
549
545
|
* @see https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user
|
|
550
546
|
*/
|
|
551
547
|
"DELETE /user/starred/{owner}/{repo}": Operation<"/user/starred/{owner}/{repo}", "delete">;
|
|
548
|
+
/**
|
|
549
|
+
* @see https://docs.github.com/rest/reference/packages#delete-a-package-for-a-user
|
|
550
|
+
*/
|
|
551
|
+
"DELETE /users/{username}/packages/{package_type}/{package_name}": Operation<"/users/{username}/packages/{package_type}/{package_name}", "delete">;
|
|
552
|
+
/**
|
|
553
|
+
* @see https://docs.github.com/rest/reference/packages#delete-a-package-version-for-a-user
|
|
554
|
+
*/
|
|
555
|
+
"DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}": Operation<"/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}", "delete">;
|
|
552
556
|
/**
|
|
553
557
|
* @see https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint
|
|
554
558
|
*/
|
|
@@ -585,10 +589,6 @@ export interface Endpoints {
|
|
|
585
589
|
* @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant
|
|
586
590
|
*/
|
|
587
591
|
"GET /applications/grants/{grant_id}": Operation<"/applications/grants/{grant_id}", "get">;
|
|
588
|
-
/**
|
|
589
|
-
* @see https://docs.github.com/rest/reference/apps#check-an-authorization
|
|
590
|
-
*/
|
|
591
|
-
"GET /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "get">;
|
|
592
592
|
/**
|
|
593
593
|
* @see https://docs.github.com/rest/reference/apps/#get-an-app
|
|
594
594
|
*/
|
|
@@ -953,6 +953,10 @@ export interface Endpoints {
|
|
|
953
953
|
* @see https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization
|
|
954
954
|
*/
|
|
955
955
|
"GET /orgs/{org}/outside_collaborators": Operation<"/orgs/{org}/outside_collaborators", "get">;
|
|
956
|
+
/**
|
|
957
|
+
* @see https://docs.github.com/rest/reference/packages#list-packages-for-an-organization
|
|
958
|
+
*/
|
|
959
|
+
"GET /orgs/{org}/packages": Operation<"/orgs/{org}/packages", "get">;
|
|
956
960
|
/**
|
|
957
961
|
* @see https://docs.github.com/rest/reference/packages#get-a-package-for-an-organization
|
|
958
962
|
*/
|
|
@@ -981,6 +985,10 @@ export interface Endpoints {
|
|
|
981
985
|
* @see https://docs.github.com/rest/reference/repos#list-organization-repositories
|
|
982
986
|
*/
|
|
983
987
|
"GET /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "get">;
|
|
988
|
+
/**
|
|
989
|
+
* @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-by-organization
|
|
990
|
+
*/
|
|
991
|
+
"GET /orgs/{org}/secret-scanning/alerts": Operation<"/orgs/{org}/secret-scanning/alerts", "get">;
|
|
984
992
|
/**
|
|
985
993
|
* @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization
|
|
986
994
|
*/
|
|
@@ -1209,6 +1217,14 @@ export interface Endpoints {
|
|
|
1209
1217
|
* @see https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned
|
|
1210
1218
|
*/
|
|
1211
1219
|
"GET /repos/{owner}/{repo}/assignees/{assignee}": Operation<"/repos/{owner}/{repo}/assignees/{assignee}", "get">;
|
|
1220
|
+
/**
|
|
1221
|
+
* @see https://docs.github.com/v3/repos#list-autolinks
|
|
1222
|
+
*/
|
|
1223
|
+
"GET /repos/{owner}/{repo}/autolinks": Operation<"/repos/{owner}/{repo}/autolinks", "get">;
|
|
1224
|
+
/**
|
|
1225
|
+
* @see https://docs.github.com/v3/repos#get-autolink
|
|
1226
|
+
*/
|
|
1227
|
+
"GET /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation<"/repos/{owner}/{repo}/autolinks/{autolink_id}", "get">;
|
|
1212
1228
|
/**
|
|
1213
1229
|
* @see https://docs.github.com/rest/reference/repos#list-branches
|
|
1214
1230
|
*/
|
|
@@ -1994,6 +2010,10 @@ export interface Endpoints {
|
|
|
1994
2010
|
* @see https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user
|
|
1995
2011
|
*/
|
|
1996
2012
|
"GET /user/orgs": Operation<"/user/orgs", "get">;
|
|
2013
|
+
/**
|
|
2014
|
+
* @see https://docs.github.com/rest/reference/packages#list-packages-for-the-authenticated-user
|
|
2015
|
+
*/
|
|
2016
|
+
"GET /user/packages": Operation<"/user/packages", "get">;
|
|
1997
2017
|
/**
|
|
1998
2018
|
* @see https://docs.github.com/rest/reference/packages#get-a-package-for-the-authenticated-user
|
|
1999
2019
|
*/
|
|
@@ -2034,6 +2054,10 @@ export interface Endpoints {
|
|
|
2034
2054
|
* @see https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user
|
|
2035
2055
|
*/
|
|
2036
2056
|
"GET /user/teams": Operation<"/user/teams", "get">;
|
|
2057
|
+
/**
|
|
2058
|
+
* @see https://docs.github.com/rest/reference/packages#list-packages-for-user
|
|
2059
|
+
*/
|
|
2060
|
+
"GET /user/{username}/packages": Operation<"/user/{username}/packages", "get">;
|
|
2037
2061
|
/**
|
|
2038
2062
|
* @see https://docs.github.com/rest/reference/users#list-users
|
|
2039
2063
|
*/
|
|
@@ -2370,10 +2394,6 @@ export interface Endpoints {
|
|
|
2370
2394
|
* @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token
|
|
2371
2395
|
*/
|
|
2372
2396
|
"POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">;
|
|
2373
|
-
/**
|
|
2374
|
-
* @see https://docs.github.com/rest/reference/apps#reset-an-authorization
|
|
2375
|
-
*/
|
|
2376
|
-
"POST /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "post">;
|
|
2377
2397
|
/**
|
|
2378
2398
|
* @see https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization
|
|
2379
2399
|
*/
|
|
@@ -2526,6 +2546,10 @@ export interface Endpoints {
|
|
|
2526
2546
|
* @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event
|
|
2527
2547
|
*/
|
|
2528
2548
|
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation<"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", "post">;
|
|
2549
|
+
/**
|
|
2550
|
+
* @see https://docs.github.com/v3/repos#create-an-autolink
|
|
2551
|
+
*/
|
|
2552
|
+
"POST /repos/{owner}/{repo}/autolinks": Operation<"/repos/{owner}/{repo}/autolinks", "post">;
|
|
2529
2553
|
/**
|
|
2530
2554
|
* @see https://docs.github.com/rest/reference/repos#set-admin-branch-protection
|
|
2531
2555
|
*/
|
|
@@ -2794,6 +2818,14 @@ export interface Endpoints {
|
|
|
2794
2818
|
* @see https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user
|
|
2795
2819
|
*/
|
|
2796
2820
|
"POST /user/repos": Operation<"/user/repos", "post">;
|
|
2821
|
+
/**
|
|
2822
|
+
* @see https://docs.github.com/rest/reference/packages#restore-a-package-for-a-user
|
|
2823
|
+
*/
|
|
2824
|
+
"POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}": Operation<"/users/{username}/packages/{package_type}/{package_name}/restore", "post">;
|
|
2825
|
+
/**
|
|
2826
|
+
* @see https://docs.github.com/rest/reference/packages#restore-a-package-version-for-a-user
|
|
2827
|
+
*/
|
|
2828
|
+
"POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore": Operation<"/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore", "post">;
|
|
2797
2829
|
/**
|
|
2798
2830
|
* @see https://docs.github.com/rest/reference/repos#upload-a-release-asset
|
|
2799
2831
|
*/
|
package/dist-web/index.js
CHANGED
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": "6.
|
|
4
|
+
"version": "6.26.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist-*/",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
],
|
|
19
19
|
"repository": "github:octokit/types.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@octokit/openapi-types": "^
|
|
21
|
+
"@octokit/openapi-types": "^10.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@pika/pack": "^0.5.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"source": "dist-src/index.js",
|
|
48
48
|
"types": "dist-types/index.d.ts",
|
|
49
49
|
"octokit": {
|
|
50
|
-
"openapi-version": "
|
|
50
|
+
"openapi-version": "4.0.0"
|
|
51
51
|
},
|
|
52
52
|
"main": "dist-node/index.js",
|
|
53
53
|
"module": "dist-web/index.js"
|