@octokit/types 6.25.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 +32 -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
|
*/
|
|
@@ -553,6 +545,14 @@ export interface Endpoints {
|
|
|
553
545
|
* @see https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user
|
|
554
546
|
*/
|
|
555
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">;
|
|
556
556
|
/**
|
|
557
557
|
* @see https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint
|
|
558
558
|
*/
|
|
@@ -589,10 +589,6 @@ export interface Endpoints {
|
|
|
589
589
|
* @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant
|
|
590
590
|
*/
|
|
591
591
|
"GET /applications/grants/{grant_id}": Operation<"/applications/grants/{grant_id}", "get">;
|
|
592
|
-
/**
|
|
593
|
-
* @see https://docs.github.com/rest/reference/apps#check-an-authorization
|
|
594
|
-
*/
|
|
595
|
-
"GET /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "get">;
|
|
596
592
|
/**
|
|
597
593
|
* @see https://docs.github.com/rest/reference/apps/#get-an-app
|
|
598
594
|
*/
|
|
@@ -957,6 +953,10 @@ export interface Endpoints {
|
|
|
957
953
|
* @see https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization
|
|
958
954
|
*/
|
|
959
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">;
|
|
960
960
|
/**
|
|
961
961
|
* @see https://docs.github.com/rest/reference/packages#get-a-package-for-an-organization
|
|
962
962
|
*/
|
|
@@ -985,6 +985,10 @@ export interface Endpoints {
|
|
|
985
985
|
* @see https://docs.github.com/rest/reference/repos#list-organization-repositories
|
|
986
986
|
*/
|
|
987
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">;
|
|
988
992
|
/**
|
|
989
993
|
* @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization
|
|
990
994
|
*/
|
|
@@ -2006,6 +2010,10 @@ export interface Endpoints {
|
|
|
2006
2010
|
* @see https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user
|
|
2007
2011
|
*/
|
|
2008
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">;
|
|
2009
2017
|
/**
|
|
2010
2018
|
* @see https://docs.github.com/rest/reference/packages#get-a-package-for-the-authenticated-user
|
|
2011
2019
|
*/
|
|
@@ -2046,6 +2054,10 @@ export interface Endpoints {
|
|
|
2046
2054
|
* @see https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user
|
|
2047
2055
|
*/
|
|
2048
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">;
|
|
2049
2061
|
/**
|
|
2050
2062
|
* @see https://docs.github.com/rest/reference/users#list-users
|
|
2051
2063
|
*/
|
|
@@ -2382,10 +2394,6 @@ export interface Endpoints {
|
|
|
2382
2394
|
* @see https://docs.github.com/rest/reference/apps#create-a-scoped-access-token
|
|
2383
2395
|
*/
|
|
2384
2396
|
"POST /applications/{client_id}/token/scoped": Operation<"/applications/{client_id}/token/scoped", "post">;
|
|
2385
|
-
/**
|
|
2386
|
-
* @see https://docs.github.com/rest/reference/apps#reset-an-authorization
|
|
2387
|
-
*/
|
|
2388
|
-
"POST /applications/{client_id}/tokens/{access_token}": Operation<"/applications/{client_id}/tokens/{access_token}", "post">;
|
|
2389
2397
|
/**
|
|
2390
2398
|
* @see https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization
|
|
2391
2399
|
*/
|
|
@@ -2810,6 +2818,14 @@ export interface Endpoints {
|
|
|
2810
2818
|
* @see https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user
|
|
2811
2819
|
*/
|
|
2812
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">;
|
|
2813
2829
|
/**
|
|
2814
2830
|
* @see https://docs.github.com/rest/reference/repos#upload-a-release-asset
|
|
2815
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"
|