diff --git a/docs/secretScanning/listAlertsForOrg.md b/docs/secretScanning/listAlertsForOrg.md index b73721618..6f6837662 100644 --- a/docs/secretScanning/listAlertsForOrg.md +++ b/docs/secretScanning/listAlertsForOrg.md @@ -72,6 +72,16 @@ Page number of the results to fetch. The number of results per page (max 100). + +beforeno + +A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. + + +afterno + +A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. + diff --git a/docs/secretScanning/listAlertsForRepo.md b/docs/secretScanning/listAlertsForRepo.md index a62b5cf82..6a1159444 100644 --- a/docs/secretScanning/listAlertsForRepo.md +++ b/docs/secretScanning/listAlertsForRepo.md @@ -78,6 +78,16 @@ Page number of the results to fetch. The number of results per page (max 100). + +beforeno + +A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. + + +afterno + +A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. + diff --git a/package-lock.json b/package-lock.json index e3761f269..123140ba7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/types": "^6.35.0", + "@octokit/types": "^6.36.0", "deprecation": "^2.3.1" }, "devDependencies": { @@ -2515,9 +2515,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.1.0.tgz", - "integrity": "sha512-kQzJh3ZUv3lDpi6M+uekMRHULvf9DlWoI1XgKN6nPeGDzkSgtkhVq1MMz3bFKQ6H6GbdC3ZqG/a6VzKhIx0VeA==" + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.3.0.tgz", + "integrity": "sha512-b3RRUyTVVFc6S8Q+f054qf/VFdQnbZdoaFy9zB3J4IOJQ7pEAgF6asP1hvWd5wcK5k1laqjzmMT77N5DHRvJCg==" }, "node_modules/@octokit/plugin-paginate-rest": { "version": "2.16.7", @@ -2591,11 +2591,11 @@ } }, "node_modules/@octokit/types": { - "version": "6.35.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.35.0.tgz", - "integrity": "sha512-DhLfdUuv3H37u6jBDfkwamypx3HflHg29b26nbA6iVFYkAlZ5cMEtu/9pQoihGnQE5M7jJFnNo25Rr1UwQNF8Q==", + "version": "6.36.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.36.0.tgz", + "integrity": "sha512-MQTsQfD64FAMKqDYQ3KDmNMJiabMPus4/WF78AHUZ6O3pUX9iKkIKa4UsbMhIec9mZ/IU/t0OpsgNqEOFLgiLA==", "dependencies": { - "@octokit/openapi-types": "^12.1.0" + "@octokit/openapi-types": "^12.2.0" } }, "node_modules/@pika/babel-plugin-esm-import-rewrite": { @@ -18978,9 +18978,9 @@ } }, "@octokit/openapi-types": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.1.0.tgz", - "integrity": "sha512-kQzJh3ZUv3lDpi6M+uekMRHULvf9DlWoI1XgKN6nPeGDzkSgtkhVq1MMz3bFKQ6H6GbdC3ZqG/a6VzKhIx0VeA==" + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.3.0.tgz", + "integrity": "sha512-b3RRUyTVVFc6S8Q+f054qf/VFdQnbZdoaFy9zB3J4IOJQ7pEAgF6asP1hvWd5wcK5k1laqjzmMT77N5DHRvJCg==" }, "@octokit/plugin-paginate-rest": { "version": "2.16.7", @@ -19046,11 +19046,11 @@ } }, "@octokit/types": { - "version": "6.35.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.35.0.tgz", - "integrity": "sha512-DhLfdUuv3H37u6jBDfkwamypx3HflHg29b26nbA6iVFYkAlZ5cMEtu/9pQoihGnQE5M7jJFnNo25Rr1UwQNF8Q==", + "version": "6.36.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.36.0.tgz", + "integrity": "sha512-MQTsQfD64FAMKqDYQ3KDmNMJiabMPus4/WF78AHUZ6O3pUX9iKkIKa4UsbMhIec9mZ/IU/t0OpsgNqEOFLgiLA==", "requires": { - "@octokit/openapi-types": "^12.1.0" + "@octokit/openapi-types": "^12.2.0" } }, "@pika/babel-plugin-esm-import-rewrite": { diff --git a/package.json b/package.json index 74936abf4..fad9c6f89 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/types": "^6.35.0", + "@octokit/types": "^6.36.0", "deprecation": "^2.3.1" }, "devDependencies": { diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index 1a2e81195..8244ec629 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -56698,6 +56698,32 @@ "validation": null, "alias": null, "deprecated": null + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", + "in": "QUERY", + "type": "string", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", + "in": "QUERY", + "type": "string", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null } ], "responses": [ @@ -56845,6 +56871,32 @@ "validation": null, "alias": null, "deprecated": null + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", + "in": "QUERY", + "type": "string", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", + "in": "QUERY", + "type": "string", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null } ], "responses": [