From a1c008c37a040425c7001bfd808bf86f28617935 Mon Sep 17 00:00:00 2001 From: Octokit Bot Date: Mon, 20 Jun 2022 09:50:43 -0700 Subject: [PATCH] feat: add new `before` and `after` parameters to `GET /orgs/{org}/secret-scanning/alerts` and `GET /repos/{owner}/{repo}/secret-scanning/alerts` --- package-lock.json | 14 +++++++------- package.json | 4 ++-- scripts/update-endpoints/generated/endpoints.json | 8 ++++++-- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 96fd64ab8..a7f8aa28d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/openapi-types": "^12.3.0" + "@octokit/openapi-types": "^12.4.0" }, "devDependencies": { "@pika/pack": "^0.5.0", @@ -1876,9 +1876,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.3.0.tgz", - "integrity": "sha512-b3RRUyTVVFc6S8Q+f054qf/VFdQnbZdoaFy9zB3J4IOJQ7pEAgF6asP1hvWd5wcK5k1laqjzmMT77N5DHRvJCg==" + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.4.0.tgz", + "integrity": "sha512-Npcb7Pv30b33U04jvcD7l75yLU0mxhuX2Xqrn51YyZ5WTkF04bpbxLaZ6GcaTqu03WZQHoO/Gbfp95NGRueDUA==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "2.17.0", @@ -14985,9 +14985,9 @@ } }, "@octokit/openapi-types": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.3.0.tgz", - "integrity": "sha512-b3RRUyTVVFc6S8Q+f054qf/VFdQnbZdoaFy9zB3J4IOJQ7pEAgF6asP1hvWd5wcK5k1laqjzmMT77N5DHRvJCg==" + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.4.0.tgz", + "integrity": "sha512-Npcb7Pv30b33U04jvcD7l75yLU0mxhuX2Xqrn51YyZ5WTkF04bpbxLaZ6GcaTqu03WZQHoO/Gbfp95NGRueDUA==" }, "@octokit/plugin-paginate-rest": { "version": "2.17.0", diff --git a/package.json b/package.json index 39d8fd95d..1296ca6d6 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { - "@octokit/openapi-types": "^12.3.0" + "@octokit/openapi-types": "^12.4.0" }, "scripts": { "build": "pika build", @@ -96,7 +96,7 @@ ] }, "octokit": { - "openapi-version": "6.0.0" + "openapi-version": "6.1.0" }, "renovate": { "extends": [ diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index c0585b00d..7bec1d395 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -13765,7 +13765,9 @@ { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "after" } ], "previews": [], "renamed": null @@ -13793,7 +13795,9 @@ { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, - { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "after" } ], "previews": [], "renamed": null