@octokit/types 6.28.0 → 6.31.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 = "6.28.0";
5
+ const VERSION = "6.31.0";
6
6
 
7
7
  exports.VERSION = VERSION;
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- export const VERSION = "6.28.0";
1
+ export const VERSION = "6.31.0";
@@ -1 +1 @@
1
- export declare const VERSION = "6.28.0";
1
+ export declare const VERSION = "6.31.0";
@@ -180,11 +180,11 @@ export interface Endpoints {
180
180
  /**
181
181
  * @see https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive
182
182
  */
183
- "DELETE /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "delete", "wyandotte">;
183
+ "DELETE /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "delete">;
184
184
  /**
185
185
  * @see https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository
186
186
  */
187
- "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", "delete", "wyandotte">;
187
+ "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", "delete">;
188
188
  /**
189
189
  * @see https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization
190
190
  */
@@ -284,7 +284,7 @@ export interface Endpoints {
284
284
  /**
285
285
  * @see https://docs.github.com/rest/reference/repos#disable-automated-security-fixes
286
286
  */
287
- "DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete", "london">;
287
+ "DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete">;
288
288
  /**
289
289
  * @see https://docs.github.com/rest/reference/repos#delete-branch-protection
290
290
  */
@@ -409,6 +409,10 @@ export interface Endpoints {
409
409
  * @see https://docs.github.com/rest/reference/issues#delete-a-label
410
410
  */
411
411
  "DELETE /repos/{owner}/{repo}/labels/{name}": Operation<"/repos/{owner}/{repo}/labels/{name}", "delete">;
412
+ /**
413
+ * @see https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository
414
+ */
415
+ "DELETE /repos/{owner}/{repo}/lfs": Operation<"/repos/{owner}/{repo}/lfs", "delete">;
412
416
  /**
413
417
  * @see https://docs.github.com/rest/reference/issues#delete-a-milestone
414
418
  */
@@ -448,7 +452,7 @@ export interface Endpoints {
448
452
  /**
449
453
  * @see https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts
450
454
  */
451
- "DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "delete", "dorian">;
455
+ "DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "delete">;
452
456
  /**
453
457
  * @see https://docs.github.com/rest/reference/actions#delete-an-environment-secret
454
458
  */
@@ -524,11 +528,11 @@ export interface Endpoints {
524
528
  /**
525
529
  * @see https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive
526
530
  */
527
- "DELETE /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "delete", "wyandotte">;
531
+ "DELETE /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "delete">;
528
532
  /**
529
533
  * @see https://docs.github.com/rest/reference/migrations#unlock-a-user-repository
530
534
  */
531
- "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/user/migrations/{migration_id}/repos/{repo_name}/lock", "delete", "wyandotte">;
535
+ "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock": Operation<"/user/migrations/{migration_id}/repos/{repo_name}/lock", "delete">;
532
536
  /**
533
537
  * @see https://docs.github.com/rest/reference/packages#delete-a-package-for-the-authenticated-user
534
538
  */
@@ -936,19 +940,19 @@ export interface Endpoints {
936
940
  /**
937
941
  * @see https://docs.github.com/rest/reference/migrations#list-organization-migrations
938
942
  */
939
- "GET /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "get", "wyandotte">;
943
+ "GET /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "get">;
940
944
  /**
941
945
  * @see https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status
942
946
  */
943
- "GET /orgs/{org}/migrations/{migration_id}": Operation<"/orgs/{org}/migrations/{migration_id}", "get", "wyandotte">;
947
+ "GET /orgs/{org}/migrations/{migration_id}": Operation<"/orgs/{org}/migrations/{migration_id}", "get">;
944
948
  /**
945
949
  * @see https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive
946
950
  */
947
- "GET /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "get", "wyandotte">;
951
+ "GET /orgs/{org}/migrations/{migration_id}/archive": Operation<"/orgs/{org}/migrations/{migration_id}/archive", "get">;
948
952
  /**
949
953
  * @see https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration
950
954
  */
951
- "GET /orgs/{org}/migrations/{migration_id}/repositories": Operation<"/orgs/{org}/migrations/{migration_id}/repositories", "get", "wyandotte">;
955
+ "GET /orgs/{org}/migrations/{migration_id}/repositories": Operation<"/orgs/{org}/migrations/{migration_id}/repositories", "get">;
952
956
  /**
953
957
  * @see https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization
954
958
  */
@@ -1349,7 +1353,7 @@ export interface Endpoints {
1349
1353
  /**
1350
1354
  * @see https://docs.github.com/rest/reference/repos#list-branches-for-head-commit
1351
1355
  */
1352
- "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get", "groot">;
1356
+ "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", "get">;
1353
1357
  /**
1354
1358
  * @see https://docs.github.com/rest/reference/repos#list-commit-comments
1355
1359
  */
@@ -1357,7 +1361,7 @@ export interface Endpoints {
1357
1361
  /**
1358
1362
  * @see https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit
1359
1363
  */
1360
- "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get", "groot">;
1364
+ "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation<"/repos/{owner}/{repo}/commits/{commit_sha}/pulls", "get">;
1361
1365
  /**
1362
1366
  * @see https://docs.github.com/rest/reference/repos#get-a-commit
1363
1367
  */
@@ -1549,7 +1553,7 @@ export interface Endpoints {
1549
1553
  /**
1550
1554
  * @see https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue
1551
1555
  */
1552
- "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/timeline", "get", "mockingbird">;
1556
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/timeline", "get">;
1553
1557
  /**
1554
1558
  * @see https://docs.github.com/rest/reference/repos#list-deploy-keys
1555
1559
  */
@@ -1773,7 +1777,7 @@ export interface Endpoints {
1773
1777
  /**
1774
1778
  * @see https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository
1775
1779
  */
1776
- "GET /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "get", "dorian">;
1780
+ "GET /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "get">;
1777
1781
  /**
1778
1782
  * @see https://docs.github.com/rest/reference/repos#download-a-repository-archive
1779
1783
  */
@@ -1993,19 +1997,19 @@ export interface Endpoints {
1993
1997
  /**
1994
1998
  * @see https://docs.github.com/rest/reference/migrations#list-user-migrations
1995
1999
  */
1996
- "GET /user/migrations": Operation<"/user/migrations", "get", "wyandotte">;
2000
+ "GET /user/migrations": Operation<"/user/migrations", "get">;
1997
2001
  /**
1998
2002
  * @see https://docs.github.com/rest/reference/migrations#get-a-user-migration-status
1999
2003
  */
2000
- "GET /user/migrations/{migration_id}": Operation<"/user/migrations/{migration_id}", "get", "wyandotte">;
2004
+ "GET /user/migrations/{migration_id}": Operation<"/user/migrations/{migration_id}", "get">;
2001
2005
  /**
2002
2006
  * @see https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive
2003
2007
  */
2004
- "GET /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "get", "wyandotte">;
2008
+ "GET /user/migrations/{migration_id}/archive": Operation<"/user/migrations/{migration_id}/archive", "get">;
2005
2009
  /**
2006
2010
  * @see https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration
2007
2011
  */
2008
- "GET /user/migrations/{migration_id}/repositories": Operation<"/user/migrations/{migration_id}/repositories", "get", "wyandotte">;
2012
+ "GET /user/migrations/{migration_id}/repositories": Operation<"/user/migrations/{migration_id}/repositories", "get">;
2009
2013
  /**
2010
2014
  * @see https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user
2011
2015
  */
@@ -2054,10 +2058,6 @@ export interface Endpoints {
2054
2058
  * @see https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user
2055
2059
  */
2056
2060
  "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">;
2061
2061
  /**
2062
2062
  * @see https://docs.github.com/rest/reference/users#list-users
2063
2063
  */
@@ -2114,6 +2114,10 @@ export interface Endpoints {
2114
2114
  * @see https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user
2115
2115
  */
2116
2116
  "GET /users/{username}/orgs": Operation<"/users/{username}/orgs", "get">;
2117
+ /**
2118
+ * @see https://docs.github.com/rest/reference/packages#list-packages-for-user
2119
+ */
2120
+ "GET /users/{username}/packages": Operation<"/users/{username}/packages", "get">;
2117
2121
  /**
2118
2122
  * @see https://docs.github.com/rest/reference/packages#get-a-package-for-a-user
2119
2123
  */
@@ -2542,6 +2546,10 @@ export interface Endpoints {
2542
2546
  * @see https://docs.github.com/rest/reference/actions#re-run-a-workflow
2543
2547
  */
2544
2548
  "POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", "post">;
2549
+ /**
2550
+ * @see https://docs.github.com/rest/reference/actions#retry-a-workflow
2551
+ */
2552
+ "POST /repos/{owner}/{repo}/actions/runs/{run_id}/retry": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/retry", "post">;
2545
2553
  /**
2546
2554
  * @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event
2547
2555
  */
@@ -2993,7 +3001,7 @@ export interface Endpoints {
2993
3001
  /**
2994
3002
  * @see https://docs.github.com/rest/reference/repos#enable-automated-security-fixes
2995
3003
  */
2996
- "PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put", "london">;
3004
+ "PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put">;
2997
3005
  /**
2998
3006
  * @see https://docs.github.com/rest/reference/repos#update-branch-protection
2999
3007
  */
@@ -3042,6 +3050,10 @@ export interface Endpoints {
3042
3050
  * @see https://docs.github.com/rest/reference/issues#lock-an-issue
3043
3051
  */
3044
3052
  "PUT /repos/{owner}/{repo}/issues/{issue_number}/lock": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/lock", "put">;
3053
+ /**
3054
+ * @see https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository
3055
+ */
3056
+ "PUT /repos/{owner}/{repo}/lfs": Operation<"/repos/{owner}/{repo}/lfs", "put">;
3045
3057
  /**
3046
3058
  * @see https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read
3047
3059
  */
@@ -3065,7 +3077,7 @@ export interface Endpoints {
3065
3077
  /**
3066
3078
  * @see https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch
3067
3079
  */
3068
- "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", "put", "lydian">;
3080
+ "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch": Operation<"/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", "put">;
3069
3081
  /**
3070
3082
  * @see https://docs.github.com/rest/reference/activity#set-a-repository-subscription
3071
3083
  */
@@ -3077,7 +3089,7 @@ export interface Endpoints {
3077
3089
  /**
3078
3090
  * @see https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts
3079
3091
  */
3080
- "PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "put", "dorian">;
3092
+ "PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation<"/repos/{owner}/{repo}/vulnerability-alerts", "put">;
3081
3093
  /**
3082
3094
  * @see https://docs.github.com/rest/reference/actions#create-or-update-an-environment-secret
3083
3095
  */
package/dist-web/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "6.28.0";
1
+ const VERSION = "6.31.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": "6.28.0",
4
+ "version": "6.31.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": "^10.2.1"
21
+ "@octokit/openapi-types": "^10.5.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@pika/pack": "^0.5.0",
@@ -34,7 +34,7 @@
34
34
  "pascal-case": "^3.1.1",
35
35
  "pika-plugin-merge-properties": "^1.0.6",
36
36
  "prettier": "^2.0.0",
37
- "semantic-release": "^17.0.0",
37
+ "semantic-release": "^18.0.0",
38
38
  "semantic-release-plugin-update-version-in-files": "^1.0.0",
39
39
  "sort-keys": "^4.2.0",
40
40
  "string-to-jsdoc-comment": "^1.0.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": "5.2.1"
50
+ "openapi-version": "5.5.0"
51
51
  },
52
52
  "main": "dist-node/index.js",
53
53
  "module": "dist-web/index.js"